start page | rating of books | rating of authors | reviews | copyrights

Java in a Nutshell

Previous Chapter 22
The java.awt.peer Package
Next
 

22.14 java.awt.peer.ListPeer (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()


Previous Home Next
java.awt.peer.LightweightPeer (JDK 1.1) Book Index java.awt.peer.MenuBarPeer (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java