org.beanfabrics
Interface View<M extends PresentationModel>

Type Parameters:
M -
All Known Implementing Classes:
BnAction, BnButton, BnCheckBox, BnCheckBoxMenuItem, BnComboBox, BnComboBoxEditor, BnIconLabel, BnLabel, BnList, BnMenuItem, BnModelObserver, BnMouseClickAction, BnParentContext, BnPasswordField, BnPlainDocument, BnRadioButton, BnTable, BnTextArea, BnTextField, BnToggleButton, BooleanPMCheckBox, BooleanPMMenuItem, BooleanPMRadioButton, BooleanPMToggleButton, OperationPMAction, OperationPMButton, OperationPMMenuItem, TextPMComboBox, TextPMPasswordField, TextPMTextArea, TextPMTextField

public interface View<M extends PresentationModel>

Basic interface for classes that represent a view on a presentation model.

Author:
Michael Karneim

Method Summary
 M getPresentationModel()
          Returns the PresentationModel with that this component is synchronized.
 void setPresentationModel(M pModel)
          Sets the PresentationModel to synchronize this component with.
 

Method Detail

getPresentationModel

M getPresentationModel()
Returns the PresentationModel with that this component is synchronized.

Returns:
the PresentationModel

setPresentationModel

void setPresentationModel(M pModel)
Sets the PresentationModel to synchronize this component with.

Parameters:
pModel - the PresentationModel to set


© 2010 by Michael Karneim, http://www.beanfabrics.org