|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChoicePeer
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 . |
Method Detail |
---|
void add(String item, int index)
item
to the combo box list
at index index
.
item
- the label to be added to the listindex
- the index where to add the itemChoice.add(String)
void remove(int index)
index
from the combo box list.
index
- the index where to remove the itemChoice.remove(int)
void removeAll()
Choice.removeAll()
void select(int index)
index
.
index
- the index which should be selectedChoice.select(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |