net.sf.echobinding.model
Interface PresentationModel

All Known Implementing Classes:
AbstractPresentationModel

public interface PresentationModel

See Also:
BindingContext

Method Summary
 PresentationModel cloneInstance()
           
 void configure()
          Configures the presenatation model.
 BindingContext getContext()
          Returns the BindingContext for the presentation model.
 BoundControl getControl(java.lang.String id)
          Returns the bound control for the given id.
 void init()
          Configures (@see congigure()) the presentation model and initialzes all it's components (widgets).
 void setContext(BindingContext context)
          Set the BindingContext for this presenation model.
 

Method Detail

getControl

BoundControl getControl(java.lang.String id)
Returns the bound control for the given id.

Parameters:
id - the adapter id
Returns:
the bound control

getContext

BindingContext getContext()
Returns the BindingContext for the presentation model.

Returns:
the BindingContext

setContext

void setContext(BindingContext context)
Set the BindingContext for this presenation model.

Parameters:
context -

configure

void configure()
Configures the presenatation model. Here should go all the event handling.


init

void init()
Configures (@see congigure()) the presentation model and initialzes all it's components (widgets).


cloneInstance

PresentationModel cloneInstance()
Returns:
a cloned instance


Copyright © 2007. All Rights Reserved.