KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > Choice

java.awt
Class Choice

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Choice
All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible
See Also:
Top Examples, Source Code

public void add(String item)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addItem(String item)
See Also:
NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addItemListener(ItemListener l)
See Also:
ItemEvent, select(int), getItemListeners(), removeItemListener(java.awt.event.ItemListener), ItemSelectable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void addNotify()
See Also:
Component.getToolkit(), Toolkit.createChoice(java.awt.Choice)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Choice()
       throws HeadlessException
See Also:
select(java.lang.String), select(int), GraphicsEnvironment.isHeadless()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public int countItems()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AccessibleContext getAccessibleContext()
See Also:
Component, Accessible
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getItem(int index)
See Also:
getItemCount()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getItemCount()
See Also:
getItem(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ItemListener[] getItemListeners()
See Also:
ItemEvent, removeItemListener(java.awt.event.ItemListener), addItemListener(java.awt.event.ItemListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public <T extends EventListener> T[] getListeners(Class<T> listenerType)
See Also:
getItemListeners(), ClassCastException, Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSelectedIndex()
See Also:
getSelectedItem()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getSelectedItem()
See Also:
getSelectedIndex()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object[] getSelectedObjects()
See Also:
ItemSelectable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void insert(String item,
                   int index)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected String paramString()
See Also:
Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processEvent(AWTEvent e)
See Also:
processItemEvent(java.awt.event.ItemEvent), ItemEvent, Component
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void processItemEvent(ItemEvent e)
See Also:
Component.enableEvents(long), addItemListener(ItemListener), ItemListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void remove(int position)
See Also:
IndexOutOfBoundsException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void remove(String item)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeAll()
See Also:
remove(java.lang.String)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeItemListener(ItemListener l)
See Also:
ItemEvent, getItemListeners(), addItemListener(java.awt.event.ItemListener), ItemSelectable
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void select(int pos)
See Also:
getSelectedIndex(), getSelectedItem(), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void select(String str)
See Also:
getSelectedIndex(), getSelectedItem()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags