aicas logoJamaica 6.4 release 1

java.awt.peer
Interface ChoicePeer

All Superinterfaces:
ComponentPeer

public interface ChoicePeer
extends ComponentPeer

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, updateCursorImmediately
 

Method Detail

add

void add(String item,
         int index)
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)
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()
Removes all items from the combo box list.

See Also:
Choice.removeAll()

select

void select(int index)
Selects the item at index index.

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

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.