Home » openjdk-7 » java » awt » peer » [javadoc | source]
public interface: ChoicePeer [javadoc | source]

All Implemented Interfaces:

The peer interface for Choice . The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Method from java.awt.peer.ChoicePeer Summary:
add,   remove,   removeAll,   select
Method from java.awt.peer.ChoicePeer Detail:
 public  void add(String item,
    int index)
    Adds an item with the string {@code item} to the combo box list at index {@code index}.
 public  void remove(int index)
    Removes the item at index {@code index} from the combo box list.
 public  void removeAll()
    Removes all items from the combo box list.
 public  void select(int index)
    Selects the item at index {@code index}.