Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

ChoiceMenu Class Reference

List of all members.

Public Methods

 ChoiceMenu (String[] choices)
 ChoiceMenu (String[] choices, String label)
 ChoiceMenu (String[] choices, String label, int layout)
void setLabel (String label)
void select (int pos)
void select (String str)
void setEnabled (boolean enable)
void itemStateChanged (ItemEvent e)
void addItemListener (ItemListener l)
Object[] getSelectedObjects ()
void removeItemListener (ItemListener l)

Static Public Attributes

final int VERTICAL = 0
final int HORIZONTAL = 1

Protected Attributes

Vector listeners = new Vector()

Constructor & Destructor Documentation

ChoiceMenu::ChoiceMenu String    choices[] [inline]
 

ChoiceMenu::ChoiceMenu String    choices[],
String    label
[inline]
 

ChoiceMenu::ChoiceMenu String    choices[],
String    label,
int    layout
[inline]
 


Member Function Documentation

void ChoiceMenu::setLabel String    label [inline]
 

void ChoiceMenu::select int    pos [inline]
 

void ChoiceMenu::select String    str [inline]
 

void ChoiceMenu::setEnabled boolean    enable [inline]
 

void ChoiceMenu::itemStateChanged ItemEvent    e [inline]
 

void ChoiceMenu::addItemListener ItemListener    l [inline]
 

Object [] ChoiceMenu::getSelectedObjects   [inline]
 

void ChoiceMenu::removeItemListener ItemListener    l [inline]
 


Member Data Documentation

final int ChoiceMenu::VERTICAL = 0 [static]
 

final int ChoiceMenu::HORIZONTAL = 1 [static]
 

Vector ChoiceMenu::listeners = new Vector() [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:24 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001