borland Packages  Class Hierarchy  jbcl.view Package  Index 

PairItemEditor class

java.lang.Object
   +----borland.jbcl.view.PairItemEditor

About the PairItemEditor class

Variables  Constructors  Properties  Methods  Event Listeners

Implements ItemEditor, ToggleItemEditor, Serializable

This ItemEditor implementation pulls the first or second object from a jgl.Pair object to pass on to a nested ItemEditor.


PairItemEditor variables

Variables implemented in this class

PairItemEditor constructors

PairItemEditor properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

PairItemEditor methods

Methods implemented in this class

Methods implemented in java.lang.Object

PairItemEditor event listeners


PairItemEditor variables

editor

  protected transient ItemEditor editor

pair

  protected transient Pair pair

pairItem

  protected int pairItem

PairItemEditor constructors

PairItemEditor(borland.jbcl.model.ItemEditor, int)

  public PairItemEditor(borland.jbcl.model.ItemEditor editor, int pairItem)
Constructs a PairItemEditor using the nested ItemEditor and pulling the specified pair item from the jgl.Pair object.

Parameters:

editor
The ItemEditor nested in PairItemEditor.
pairItem
The item to be edited. Specify 1 for the first item from jgl.Pair; specify 2 for the second item from jgl.Pair.

PairItemEditor properties

component

 public Component getComponent()
Returns the actual component that is added to the PairItemEditor as an editor.

value

 public Object getValue()
Returns the current value in the editor.

PairItemEditor event listeners

This class is a source for the following event sets. For information on the standard AWT event sets, see Standard Java events.

key

 public void addKeyListener(java.awt.event.KeyListener l)
 public void removeKeyListener(java.awt.event.KeyListener l)