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