java.awt.peer
Interface ListPeer

All Superinterfaces:
ComponentPeer

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.


Method Summary
 void add(String item, int index)
           
 void addItem(String item, int index)
          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[] getSelectedIndexes()
           
 void makeVisible(int index)
           
 Dimension minimumSize(int v)
          DEPRECATED: Replaced by getMinimumSize(int).
 Dimension preferredSize(int v)
          DEPRECATED: Replaced by getPreferredSize(int).
 void removeAll()
           
 void select(int index)
           
 void setMultipleMode(boolean b)
           
 void setMultipleSelections(boolean v)
          DEPRECATED: Replaced by setMultipleMode(boolean).
 
Methods inherited from interface java.awt.peer.ComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isObscured, minimumSize, paint, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, show, updateCursorImmediately
 

Method Detail

getSelectedIndexes

public int[] getSelectedIndexes()

add

public void add(String item,
                int index)

delItems

public void delItems(int start,
                     int end)

removeAll

public void removeAll()

select

public void select(int index)

deselect

public void deselect(int index)

makeVisible

public void makeVisible(int index)

setMultipleMode

public void setMultipleMode(boolean b)

getPreferredSize

public Dimension getPreferredSize(int rows)

getMinimumSize

public Dimension getMinimumSize(int rows)

addItem

public void addItem(String item,
                    int index)
DEPRECATED: Replaced by add(String, int).


clear

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


setMultipleSelections

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


preferredSize

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


minimumSize

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