jbcl.model Package
com.borland.jbcl.model.SingletonViewManager
Methods
Implemented by BasicViewManager, SingletonDataSetManager, TypedViewManager
A class implementing SingletonViewManager
selects item painters and item editors for singleton data structures.
Although you can implement this interface directly, com.borland
packages provide classes such as BasicViewManager
and TypedViewManager
that implement it for you.
public ItemEditor getEditor(Object data, int state)Returns an item editor. Classes that implement
SingletonViewManager
can use some, all, or none of the passed values to select the appropriate item editor object.
Parameters:
data
state
state
as one of the variables defined in the ItemPainter
interface.
public ItemPainter getPainter(Object data, int state)Returns an item painter. Classes that implement
SingletonViewManager
can use some, all, or none of the passed values to select the appropriate item editor object.
Parameters:
data
state
state
as one of the variables defined in the ItemPainter
interface.