|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.echobinding.model.AbstractPresentationModel
public abstract class AbstractPresentationModel
Constructor Summary | |
---|---|
AbstractPresentationModel()
|
Method Summary | |
---|---|
BindingContext |
getContext()
Returns the BindingContext for the presentation model. |
BoundControl |
getControl(java.lang.String id)
Returns the control for the given adapter id. |
java.lang.Object |
getValue(java.lang.String adapterId)
Convenience method for getContext.getValue() |
void |
init()
Configures the presentation model (by calling the configue() method) and initializes all components that belong to the binding context. |
void |
setContext(BindingContext context)
Set the BindingContext for this presenation model. |
void |
setValue(java.lang.String adapterId,
java.lang.Object value)
Convenience method for getContext.setValue(...) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.echobinding.model.PresentationModel |
---|
cloneInstance, configure |
Constructor Detail |
---|
public AbstractPresentationModel()
Method Detail |
---|
public BoundControl getControl(java.lang.String id)
getControl
in interface PresentationModel
id
- the adapter id
public BindingContext getContext()
PresentationModel
getContext
in interface PresentationModel
public void setContext(BindingContext context)
PresentationModel
BindingContext
for this presenation model.
setContext
in interface PresentationModel
public java.lang.Object getValue(java.lang.String adapterId)
adapterId
-
public void setValue(java.lang.String adapterId, java.lang.Object value)
adapterId
- value
- public void init()
init
in interface PresentationModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |