borland Packages Class Hierarchy jbcl.view Package Index
java.lang.Object +----borland.jbcl.view.PairItemEditor
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.
protected transient ItemEditor editor
protected transient Pair pair
protected int pairItem
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:
public Component getComponent()Returns the actual component that is added to the PairItemEditor as an editor.
public Object getValue()Returns the current value in the editor.
public void addKeyListener(java.awt.event.KeyListener l) public void removeKeyListener(java.awt.event.KeyListener l)