java.awt.peer

Interface ListPeer

public interface ListPeer extends ComponentPeer

Method Summary
voidadd(String item, int index)
voidaddItem(String item, int index)
voidclear()
voiddelItems(int start_index, int end_index)
voiddeselect(int index)
DimensiongetMinimumSize(int s)
DimensiongetPreferredSize(int s)
int[]getSelectedIndexes()
voidmakeVisible(int index)
DimensionminimumSize(int s)
DimensionpreferredSize(int s)
voidremoveAll()
voidselect(int index)
voidsetMultipleMode(boolean multi)
voidsetMultipleSelections(boolean multi)

Method Detail

add

public void add(String item, int index)

addItem

public void addItem(String item, int index)

clear

public void clear()

delItems

public void delItems(int start_index, int end_index)

deselect

public void deselect(int index)

getMinimumSize

public Dimension getMinimumSize(int s)

getPreferredSize

public Dimension getPreferredSize(int s)

getSelectedIndexes

public int[] getSelectedIndexes()

makeVisible

public void makeVisible(int index)

minimumSize

public Dimension minimumSize(int s)

preferredSize

public Dimension preferredSize(int s)

removeAll

public void removeAll()

select

public void select(int index)

setMultipleMode

public void setMultipleMode(boolean multi)

setMultipleSelections

public void setMultipleSelections(boolean multi)