All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.util.CommandChoice
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Choice
|
+----CH.ifa.draw.util.CommandChoice
- public class CommandChoice
- extends Choice
- implements ItemListener
A Command enabled choice. Selecting a choice executes the
corresponding command.
- See Also:
- Command
-
CommandChoice()
-
-
addItem(Command)
- Adds a command to the menu.
-
itemStateChanged(ItemEvent)
- Executes the command.
CommandChoice
public CommandChoice()
addItem
public synchronized void addItem(Command command)
- Adds a command to the menu.
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Executes the command.
All Packages Class Hierarchy This Package Previous Next Index