StarOffice 5.2 API
reverse engineered by classdoc

java.awt
Class Choice

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Choice
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.ItemSelectable, java.awt.MenuContainer, java.io.Serializable

public synchronized class Choice
extends java.awt.Component
implements java.awt.ItemSelectable

See Also:
Serialized Form

Field Summary
private static java.lang.String base
           
private  int choiceSerializedDataVersion
           
(package private)  java.awt.event.ItemListener itemListener
           
private static int nameCounter
           
(package private)  java.util.Vector pItems
           
(package private)  int selectedIndex
           
private static long serialVersionUID
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, LOCK, RIGHT_ALIGNMENT, TOP_ALIGNMENT, actionListenerK, adjustmentListenerK, background, componentListener, componentListenerK, componentSerializedDataVersion, containerListenerK, cursor, enabled, eventMask, focusListener, focusListenerK, font, foreground, height, incRate, isInc, itemListenerK, keyListener, keyListenerK, locale, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, name, nameExplicitlySet, newEventsOnly, parent, peer, popups, prefSize, textListenerK, valid, visible, width, windowListenerK, x, y
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
Choice()
           
 
Method Summary
 void add(java.lang.String s)
           
 void addItem(java.lang.String s)
           
 void addItemListener(java.awt.event.ItemListener il)
           
 void addNotify()
           
(package private)  java.lang.String constructComponentName()
           
 int countItems()
           
(package private)  boolean eventEnabled(java.awt.AWTEvent awte)
           
 java.lang.String getItem(int i)
           
 int getItemCount()
           
 int getSelectedIndex()
           
 java.lang.String getSelectedItem()
           
 java.lang.Object[] getSelectedObjects()
           
 void insert(java.lang.String s, int i)
           
protected  java.lang.String paramString()
           
protected  void processEvent(java.awt.AWTEvent awte)
           
protected  void processItemEvent(java.awt.event.ItemEvent ie)
           
private  void readObject(java.io.ObjectInputStream ois)
           
 void remove(int i)
           
 void remove(java.lang.String s)
           
 void removeAll()
           
 void removeItemListener(java.awt.event.ItemListener il)
           
 void select(int i)
           
 void select(java.lang.String s)
           
private  void writeObject(java.io.ObjectOutputStream oos)
           
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, areInputMethodsEnabled, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, dispatchEventImpl, doLayout, enable, enable, enableEvents, getAlignmentX, getAlignmentY, getBackground, getBounds, getColorModel, getComponentAt, getComponentAt, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getInputContext, getLocale, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getNativeContainer, getParent, getPeer, getPreferredSize, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, invalidate, isEnabled, isFocusTraversable, isShowing, isValid, isVisible, keyDown, keyUp, layout, lightweightPrint, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, postEvent, postsOldMouseEvents, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processFocusEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setCursor, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

base

private static final java.lang.String base

choiceSerializedDataVersion

private int choiceSerializedDataVersion

itemListener

transient java.awt.event.ItemListener itemListener

nameCounter

private static int nameCounter

pItems

java.util.Vector pItems

selectedIndex

int selectedIndex

serialVersionUID

private static final long serialVersionUID
Constructor Detail

Choice

public Choice()
Method Detail

add

public void add(java.lang.String s)

addItem

public void addItem(java.lang.String s)

addItemListener

public void addItemListener(java.awt.event.ItemListener il)
Specified by:
addItemListener in interface java.awt.ItemSelectable

addNotify

public void addNotify()

constructComponentName

java.lang.String constructComponentName()

countItems

public int countItems()

eventEnabled

boolean eventEnabled(java.awt.AWTEvent awte)

getItem

public java.lang.String getItem(int i)

getItemCount

public int getItemCount()

getSelectedIndex

public int getSelectedIndex()

getSelectedItem

public java.lang.String getSelectedItem()

getSelectedObjects

public java.lang.Object[] getSelectedObjects()
Specified by:
getSelectedObjects in interface java.awt.ItemSelectable

insert

public void insert(java.lang.String s,
                   int i)

paramString

protected java.lang.String paramString()

processEvent

protected void processEvent(java.awt.AWTEvent awte)

processItemEvent

protected void processItemEvent(java.awt.event.ItemEvent ie)

readObject

private void readObject(java.io.ObjectInputStream ois)
                 throws java.lang.ClassNotFoundException,
                        java.io.IOException

remove

public void remove(int i)

remove

public void remove(java.lang.String s)

removeAll

public void removeAll()

removeItemListener

public void removeItemListener(java.awt.event.ItemListener il)
Specified by:
removeItemListener in interface java.awt.ItemSelectable

select

public void select(int i)

select

public void select(java.lang.String s)

writeObject

private void writeObject(java.io.ObjectOutputStream oos)
                  throws java.io.IOException

StarOffice 5.2 API
reverse engineered by classdoc