Changed Methods |
void addItem(String )
|
Documentation changed from old to new. |
Obsolete as of Java 2 platform v1.1. |
void addItemListener(ItemListener )
|
Documentation changed from old to new. |
Adds the specified item listener to receive item events from this Choice menu. |
void addNotify()
|
Documentation changed from old to new. |
Creates the Choice 's peer. |
AccessibleContext getAccessibleContext()
|
Documentation changed from old to new. |
Gets the AccessibleContext associated with this Choice . |
String getItem(int )
|
Documentation changed from old to new. |
Gets the string at the specified index in this Choice menu. |
int getItemCount()
|
Documentation changed from old to new. |
Returns the number of items in this Choice menu. |
EventListener[] getListeners(Class )
|
Documentation changed from old to new. |
Returns an array of all the objects currently registered as FooListener s upon this Choice . |
String getSelectedItem()
|
Documentation changed from old to new. |
Gets a representation of the current choice as a string. |
Object[] getSelectedObjects()
|
Documentation changed from old to new. |
Returns an array (length 1) containing the currently selected item. |
void insert(String, int)
|
Documentation changed from old to new. |
Inserts the item into this choice at the specified position. |
String paramString()
|
Documentation changed from old to new. |
Returns a string representing the state of this Choice menu. |
void processEvent(AWTEvent )
|
Documentation changed from old to new. |
Processes events on this choice. |
void processItemEvent(ItemEvent )
|
Documentation changed from old to new. |
Processes item events occurring on this Choice menu by dispatching them to any registered ItemListener objects. |
void removeAll()
|
Documentation changed from old to new. |
Removes all items from the choice menu. |
void removeItemListener(ItemListener )
|
Documentation changed from old to new. |
Removes the specified item listener so that it no longer receives item events from this Choice menu. |
void add(String )
|
Documentation changed from old to new. |
Adds an item to this Choice menu. |
void remove(int )
|
Documentation changed from old to new. |
Removes an item from the choice menu at the specified position. |
void remove(String )
|
Documentation changed from old to new. |
Removes the first occurrence of item from the Choice menu. |
void select(int )
|
Documentation changed from old to new. |
Sets the selected item in this Choice menu to be the item at the specified position. |
void select(String )
|
Documentation changed from old to new. |
Sets the selected item in this Choice menu to be the item whose name is equal to the specified string. |