borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.model
borland.jbcl.model.SingletonModel +----borland.jbcl.model.WritableSingletonModel
Methods Event Listeners
Implemented by CheckboxControl, ChoiceControl, FieldControl, ImageControl, LocatorControl, TextAreaControl, TextFieldControl, SingletonDataSetManager, BasicSingletonContainer
Contains the methods required for a read-only singleton model object. A singleton model object holds a single data item only and is used by components that display a single item at a time, such as a check box control. Usually you extend a class that implements this interface, such as "BasicSingletonContainer. You can, however, implement the interface directly.
If you are developing a read-and-write component that accesses a single data item, implement the WritableSingletonModel interface instead.
See also: Models in JBCL, Singleton model classes and interfaces
public Object get()Obtains the data object stored in a singleton-model container.
public void addModelListener(borland.jbcl.model.SingletonModelListener listener) public void removeModelListener(borland.jbcl.model.SingletonModelListener listener)