java.awt.peer
Interface ChoicePeer

All Superinterfaces:
ComponentPeer

public interface ChoicePeer
extends ComponentPeer

Disabled: no SafeJ information.

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.


Field Summary
 
Fields inherited from interface java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Method Summary
 void add(String item, int index)
          Adds an item with the string item to the combo box list at index index.
 void remove(int index)
          Removes the item at index index from the combo box list.
 void removeAll()
          Removes all items from the combo box list.
 void select(int index)
          Selects the item at index index.
 
Methods inherited from interface java.awt.peer.ComponentPeer
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
 

Method Detail

add

void add(String item,
         int index)
Class is disabled.

Adds an item with the string item to the combo box list at index index.

Parameters:
item - the label to be added to the list
index - the index where to add the item
See Also:
Choice.add(String)

remove

void remove(int index)
Class is disabled.

Removes the item at index index from the combo box list.

Parameters:
index - the index where to remove the item
See Also:
Choice.remove(int)

removeAll

void removeAll()
Class is disabled.

Removes all items from the combo box list.

See Also:
Choice.removeAll()

select

void select(int index)
Class is disabled.

Selects the item at index index.

Parameters:
index - the index which should be selected
See Also:
Choice.select(int)