This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


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.


Field Summary
 
Fields inherited from class java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Method Summary
 void
add(String item, int index)

          
 void
addItem(String item, int index)

          DEPRECATED: Replaced by add(String, int).
 void

          DEPRECATED: Replaced by removeAll().
 void
delItems(int start, int end)

          
 void
deselect(int index)

          
 Dimension
getMinimumSize(int rows)

          
 Dimension
getPreferredSize(int rows)

          
 int[]

          
 void
makeVisible(int index)

          
 Dimension
minimumSize(int v)

          DEPRECATED: Replaced by getMinimumSize(int).
 Dimension

          DEPRECATED: Replaced by getPreferredSize(int).
 void

          
 void
select(int index)

          
 void
setMultipleMode(boolean b)

          
 void

          DEPRECATED: Replaced by setMultipleMode(boolean).
 
Methods inherited from class java.awt.peer.ComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getBounds, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isObscured, isReparentSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, reshape, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, show, updateCursorImmediately
 

Method Detail

add

public void add(String item,
                int index)
Parameters:
item
index

addItem

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

Parameters:
item
index

clear

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


delItems

public void delItems(int start,
                     int end)
Parameters:
start
end

deselect

public void deselect(int index)
Parameters:
index

getMinimumSize

public Dimension getMinimumSize(int rows)
Parameters:
rows

getPreferredSize

public Dimension getPreferredSize(int rows)
Parameters:
rows

getSelectedIndexes

public int[] getSelectedIndexes()

makeVisible

public void makeVisible(int index)
Parameters:
index

minimumSize

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

Parameters:
v

preferredSize

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

Parameters:
v

removeAll

public void removeAll()

select

public void select(int index)
Parameters:
index

setMultipleMode

public void setMultipleMode(boolean b)
Parameters:
b

setMultipleSelections

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

Parameters:
v


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.