Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class Choice extends Component implements ItemSelectable { // Public Constructor public Choice(); // Public Instance Methods 1.1 public synchronized void add(String item); public synchronized void addItem(String item); 1.1 public void addItemListener(ItemListener l); public void addNotify(); // Overrides Component.addNotify() # public int countItems(); public String getItem(int index); 1.1 public int getItemCount(); public int getSelectedIndex(); public synchronized String getSelectedItem(); 1.1 public synchronized Object[] getSelectedObjects(); 1.1 public synchronized void insert(String item, int index); 1.1 public synchronized void remove(String item); 1.1 public synchronized void remove(int position); 1.1 public synchronized void removeAll(); 1.1 public void removeItemListener(ItemListener l); public synchronized void select(int pos); public synchronized void select(String str); // Protected Instance Methods protected String paramString(); // Overrides Component.paramString() 1.1 protected void processEvent(AWTEvent e); // Overrides Component.processEvent() 1.1 protected void processItemEvent(ItemEvent e); }