borland Packages  Class Hierarchy  jbcl.model Package  Index 

VectorViewManager interface

borland.jbcl.model.VectorViewManager

About the VectorViewManager interface

Methods  

Implemented by VectorDataSetManager, BasicViewManager, TypedViewManager

A class implementing VectorViewManager selects item painters and item editors for vector data structures.

Although you can implement this interface directly, JBCL provides BasicViewManager and TypedViewManager classes that implement it for you.


VectorViewManager methods

Methods defined in this interface


VectorViewManager methods

getEditor(int, java.lang.Object, int)

  public ItemEditor getEditor(int index, java.lang.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:

index
The index of the item that is to be edited.
data
The data object to be edited.
state
The current state information for the item. Specify state as one of the variables defined in the ItemPainter interface.

getPainter(int, java.lang.Object, int)

  public ItemPainter getPainter(int index, java.lang.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:

index
The index of the item that is to be painted.
data
The data object to be painted.
state
The current state information for the item. Specify state as one of the variables defined in the ItemPainter interface.