borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.view
java.lang.Object +----borland.jbcl.view.StateItemPainter
Constructors Properties Methods
Implements ItemPainter
Paints items differently, depending upon the data item's state. States are registered with the item painter.
State/value pairs are registered in LIFO ordering (last one checked first). Checking succeeds if the states are equal (so that 0 matches) or their bitwise AND is not zero. The last pair that was registered with state of 0 is considered the default to use when there are no matches.
public StateItemPainter()
public StateItemPainter(borland.jbcl.model.ItemPainter painter)
public Integer getValue(int state)
public void register(int state, int value)