| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListPeer extends ComponentPeer
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 class java.awt.peer.ComponentPeer |
---|
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE |
Method Summary | |
---|---|
void |
|
void |
DEPRECATED: Replaced by add(String, int). |
void |
clear() DEPRECATED: Replaced by removeAll(). |
void |
delItems(int start, int end) |
void |
deselect(int index) |
Dimension |
getMinimumSize(int rows) |
Dimension |
getPreferredSize(int rows) |
int[] |
|
void |
makeVisible(int index) |
Dimension |
minimumSize(int v) DEPRECATED: Replaced by getMinimumSize(int). |
Dimension |
preferredSize(int v) DEPRECATED: Replaced by getPreferredSize(int). |
void |
|
void |
select(int index) |
void |
setMultipleMode(boolean b) |
void |
setMultipleSelections(boolean v) DEPRECATED: Replaced by setMultipleMode(boolean). |
Method Detail |
---|
public void add(String item, int index)
item
index
public void addItem(String item, int index)
item
index
public void clear()
public void delItems(int start, int end)
start
end
public void deselect(int index)
index
public Dimension getMinimumSize(int rows)
rows
public Dimension getPreferredSize(int rows)
rows
public int[] getSelectedIndexes()
public void makeVisible(int index)
index
public Dimension minimumSize(int v)
v
public Dimension preferredSize(int v)
v
public void removeAll()
public void select(int index)
index
public void setMultipleMode(boolean b)
b
public void setMultipleSelections(boolean v)
v
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |