All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.awt.peer.ListPeer

public interface interface ListPeer
extends ComponentPeer

Method Index

 o add(String, int)
 o addItem(String, int)
DEPRECATED: Replaced by add(String, int).
 o clear()
DEPRECATED: Replaced by removeAll().
 o delItems(int, int)
 o deselect(int)
 o getMinimumSize(int)
 o getPreferredSize(int)
 o getSelectedIndexes()
 o makeVisible(int)
 o minimumSize(int)
DEPRECATED: Replaced by getMinimumSize(int).
 o preferredSize(int)
DEPRECATED: Replaced by getPreferredSize(int).
 o removeAll()
 o select(int)
 o setMultipleMode(boolean)
 o setMultipleSelections(boolean)
DEPRECATED: Replaced by setMultipleMode(boolean).

Methods

 o getSelectedIndexes
 public abstract int[] getSelectedIndexes()
 o add
 public abstract void add(String item,
                          int index)
 o delItems
 public abstract void delItems(int start,
                               int end)
 o removeAll
 public abstract void removeAll()
 o select
 public abstract void select(int index)
 o deselect
 public abstract void deselect(int index)
 o makeVisible
 public abstract void makeVisible(int index)
 o setMultipleMode
 public abstract void setMultipleMode(boolean b)
 o getPreferredSize
 public abstract Dimension getPreferredSize(int rows)
 o getMinimumSize
 public abstract Dimension getMinimumSize(int rows)
 o addItem
 public abstract void addItem(String item,
                              int index)
DEPRECATED: Replaced by add(String, int).

 o clear
 public abstract void clear()
DEPRECATED: Replaced by removeAll().

 o setMultipleSelections
 public abstract void setMultipleSelections(boolean v)
DEPRECATED: Replaced by setMultipleMode(boolean).

 o preferredSize
 public abstract Dimension preferredSize(int v)
DEPRECATED: Replaced by getPreferredSize(int).

 o minimumSize
 public abstract Dimension minimumSize(int v)
DEPRECATED: Replaced by getMinimumSize(int).


All Packages  Class Hierarchy  This Package  Previous  Next  Index