borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.view 

ChoiceItemEditor component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Choice
                   +----borland.jbcl.view.ChoiceItemEditor

About the ChoiceItemEditor component

Variables  Constructors  Properties  Methods  Event Listeners

Implements ItemEditor, ItemSelectable, MenuContainer, ImageObserver, Serializable

Enables editing an item in a choice menu.


ChoiceItemEditor variables

Variables implemented in java.awt.Component

ChoiceItemEditor constructors

ChoiceItemEditor properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.awt.Choice

Properties implemented in java.awt.Component

Properties implemented in java.lang.Object

ChoiceItemEditor methods

Methods implemented in this class

Methods implemented in java.awt.Choice

Methods implemented in java.awt.Component

Methods implemented in java.lang.Object

ChoiceItemEditor event listeners


ChoiceItemEditor constructors

ChoiceItemEditor()

  public ChoiceItemEditor()

Calls the java.awt.Choice() constructor, reshapes the choice item editor to a vanishingly small bounding box, and makes the choice item editor invisible.

ChoiceItemEditor(java.lang.String[])

  public ChoiceItemEditor(java.lang.String[] items)

Constructs a ChoiceItemEditor for a choice menu with the specified number of items.


ChoiceItemEditor properties

component

 public Component getComponent()

A handle for this ChoiceItemEditor object.

value

 public Object getValue()

Returns the item that is selected in the choice menu.


ChoiceItemEditor event listeners

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

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener l)
 public synchronized void removeComponentListener(java.awt.event.ComponentListener l)

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener l)
 public synchronized void removeFocusListener(java.awt.event.FocusListener l)

item

 public synchronized void addItemListener(java.awt.event.ItemListener l)
 public synchronized void removeItemListener(java.awt.event.ItemListener l)

key

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

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener l)
 public synchronized void removeMouseListener(java.awt.event.MouseListener l)

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener l)
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener l)