    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Interface java.awt.peer.ListPeer

public interface ListPeer
extends ComponentPeer

##

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

##

getSelectedIndexes

      public abstract int[] getSelectedIndexes()

add

      public abstract void add(String item,
                               int index)

delItems

      public abstract void delItems(int start,
                                    int end)

removeAll

      public abstract void removeAll()

select

      public abstract void select(int index)

deselect

      public abstract void deselect(int index)

makeVisible

      public abstract void makeVisible(int index)

setMultipleMode

      public abstract void setMultipleMode(boolean b)

getPreferredSize

      public abstract Dimension getPreferredSize(int rows)

getMinimumSize

      public abstract Dimension getMinimumSize(int rows)

addItem

      public abstract void addItem(String item,
                                   int index)

  DEPRECATED: Replaced by add(String, int).

clear

      public abstract void clear()

  DEPRECATED: Replaced by removeAll().

setMultipleSelections

      public abstract void setMultipleSelections(boolean v)

  DEPRECATED: Replaced by setMultipleMode(boolean).

preferredSize

      public abstract Dimension preferredSize(int v)

  DEPRECATED: Replaced by getPreferredSize(int).

minimumSize

      public abstract Dimension minimumSize(int v)

  DEPRECATED: Replaced by getMinimumSize(int).

    All Packages  Class Hierarchy  This Package  Previous  Next  Index