borland Packages  Class Hierarchy  jbcl.view Package  Index 

SingletonView interface

borland.jbcl.view.SingletonModelView
   +----borland.jbcl.view.SingletonView

About the SingletonView interface

Properties  Event Listeners

Implemented by ButtonControl, FieldControl, ImageControl, ButtonView, FieldView

This interface defines the basic behavior required of all components that use a singleton model to retrieve, display, and edit a single data item. Classes that implement SingletonView have the simple properties that exist on all views of a SingletonModel model.

If you are writing a new component that uses a singleton model, implement SingletonView in the view class to ensure that the component has all the expected functionality for a singleton component.


SingletonView properties

*Read-only properties **Write-only properties

Properties defined in this interface

Properties implemented in borland.jbcl.view.SingletonModelView

SingletonView event listeners


SingletonView properties

viewManager

 public SingletonViewManager getViewManager()
 public void setViewManager(borland.jbcl.model.SingletonViewManager viewManager)
Specifies the view manager object associated with this singleton-type component. The viewManager provides item painters and item editors based on the model object's type.

SingletonView event listeners

This interface is a source for the following event sets. For information on the JBCL event sets, see Events in JBCL.

model

 public void addModelListener(borland.jbcl.model.SingletonModelListener listener)
 public void removeModelListener(borland.jbcl.model.SingletonModelListener listener)