Java in a Nutshell Online Quick Reference for Java 1.1

INTERFACE java.awt.peer.ListPeer

Availability: JDK 1.0

public abstract interface ListPeer extends ComponentPeer {
   // Public Instance Methods
1.1  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);
1.1  public abstract Dimension getMinimumSize(int rows);
1.1  public abstract Dimension getPreferredSize(int rows);
      public abstract int[] getSelectedIndexes();
      public abstract void makeVisible(int index);
      public abstract Dimension minimumSize(int v);
      public abstract Dimension preferredSize(int v);
1.1  public abstract void removeAll();
      public abstract void select(int index);
1.1  public abstract void setMultipleMode(boolean b);
      public abstract void setMultipleSelections(boolean v);
}
Returned By:
Toolkit.createList().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.