ListPeerNameListPeer
DescriptionListPeer is an interface that defines the basis for list components. Interface Definition
public abstract interface java.awt.peer.ListPeer extends java.awt.peer.ComponentPeer { // Interface Methods public abstract void add (String item, int index); public abstract void addItem (String item, int index); public abstract void clear(); public abstract void delItems (int start, int end); public abstract void deselect (int index); public abstract Dimension getMinimumSize (int rows); public abstract Dimension getPreferredSize (int rows); public abstract int[] getSelectedIndexes(); public abstract void makeVisible (int index); public abstract Dimension minimumSize (int rows); public abstract Dimension preferredSize (int rows); public abstract void removeAll(); public abstract void select (int position); public abstract void setMultipleMode (boolean b); public abstract void setMultipleSelections (boolean value); } Interface Methodsaddpublic abstract void add (String item, int index)
addItempublic abstract void addItem (String item, int index)
clearpublic abstract void clear()
delItemspublic abstract void delItems (int start, int end)
deselectpublic abstract void deselect (int index)
getMinimumSizepublic abstract Dimension getMinimumSize (int rows)
getPreferredSizepublic abstract Dimension getPreferredSize (int rows)
getSelectedIndexespublic abstract int[] getSelectedIndexes()
makeVisiblepublic abstract void makeVisible (int index)
minimumSizepublic abstract Dimension minimumSize (int rows)
preferredSizepublic abstract Dimension preferredSize (int rows)
removeAllpublic abstract void removeAll()
selectpublic abstract void select (int position)
setMultipleModepublic abstract void setMultipleMode (boolean value)
setMultipleSelectionspublic abstract void setMultipleSelections (boolean value)
See AlsoComponentPeer, Dimension, String |
|