Choice.remove

Choice.remove

Class Overview | Class Members | This Package | All Packages

Syntax 1
public synchronized void remove( String item )
Parameters
item
the item to remove from this Choice menu.
Description
Remove the first occurrence of item from the Choice menu.

Exceptions
IllegalArgumentException if the item doesn't exist in the choice menu.



Syntax 2
public synchronized void remove( int position )
Parameters
position
the position of the item.
Description
Removes an item from the choice menu at the specified position.