org.beanfabrics
Interface ModelSubscriber

All Known Implementing Classes:
BnAction, BnButton, BnButtonDecorator, BnCalendarChooser, BnCalendarChooserButton, BnCheckBox, BnCheckBoxMenuItem, BnComboBox, BnComboBoxEditor, BnComboDecorator, BnIconLabel, BnLabel, BnLabelDecorator, BnList, BnListCustomizerPanel, BnMenuItem, BnModelObserver, BnMouseClickAction, BnParentContext, BnPasswordField, BnProgressBar, BnPushButtonDecorator, BnRadioButton, BnSpinnerDecorator, BnTable, BnTableCustomizerPanel, BnTableDecorator, BnTextArea, BnTextDecorator, BnTextField, BnToggleButton, ColumnListConfigurationDialog, ColumnListPanel, ContactFrame, Link, ModelSubscriberCustomizerPanel, PathBrowserPanel, PathChooserDialog, PathPanel, PropertiesPanel, RegexTesterPanel, TimeSpanPanel, TitlePanel, ToolbarButton

public interface ModelSubscriber

Any class that implements this interface can subscribe to an PresentationModel provided by a IModelProvider at a given Path.


Method Summary
 IModelProvider getModelProvider()
          Returns the provider.
 Path getPath()
          Returns the path.
 void setModelProvider(IModelProvider provider)
          Sets the provider.
 void setPath(Path path)
          Sets the path.
 

Method Detail

getModelProvider

IModelProvider getModelProvider()
Returns the provider.

Returns:
the ModelProvider

setModelProvider

void setModelProvider(IModelProvider provider)
Sets the provider.

Parameters:
provider - the provider

getPath

Path getPath()
Returns the path.

Returns:
the path

setPath

void setPath(Path path)
Sets the path. The Path is used to locate the model inside the provider.

Parameters:
path - the path relative to the provider's root model