Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.swing.JList

Packages that use JList
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.
javax.swing.plaf.multi | Provides user interface objects that combine two or more look and feels.

Uses of JList in javax.swing

Methods in javax.swing with parameters of type JList
`Component` | `DefaultListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)`
`Component` | `ListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)` Return a component that has been configured to display the specified value.

Constructors in javax.swing with parameters of type JList
`JList.AccessibleJList.AccessibleJListChild(JList parent, int indexInParent)`

Uses of JList in javax.swing.plaf

Methods in javax.swing.plaf with parameters of type JList
`abstract int` | `ListUI.locationToIndex(JList list, Point location)` Convert a point in `JList` coordinates to the closest index of the cell at that location.
`abstract Point` | `ListUI.indexToLocation(JList list, int index)` Returns the origin of the specified item in JList coordinates, null if index isn't valid.
`abstract Rectangle` | `ListUI.getCellBounds(JList list, int index1, int index2)` Returns the bounds of the specified item in JList coordinates, null if index isn't valid.

Uses of JList in javax.swing.plaf.basic

Fields in javax.swing.plaf.basic declared as JList
`protected JList` | `BasicListUI.list`
`protected JList` | `BasicComboPopup.list` This protected field is implementation specific.
`protected JList` | `BasicComboBoxUI.listBox`

Methods in javax.swing.plaf.basic that return JList
`JList` | `BasicComboPopup.getList()` Implementation of ComboPopup.getList().
`protected JList` | `BasicComboPopup.createList()` Creates the JList used in the popup to display the items in the combo box model.
`JList` | `ComboPopup.getList()` Returns the list that is being used to draw the items in the combo box.

Methods in javax.swing.plaf.basic with parameters of type JList
`int` | `BasicListUI.locationToIndex(JList list, Point location)` Convert a point in `JList` coordinates to the closest index of the cell at that location.
`Point` | `BasicListUI.indexToLocation(JList list, int index)`
`Rectangle` | `BasicListUI.getCellBounds(JList list, int index1, int index2)`
`protected MouseListener` | `BasicFileChooserUI.createDoubleClickListener(JFileChooser fc, JList list)`
`Component` | `BasicComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)`

Constructors in javax.swing.plaf.basic with parameters of type JList
`BasicFileChooserUI.DoubleClickListener(JList list)`

Uses of JList in javax.swing.plaf.metal

Fields in javax.swing.plaf.metal declared as JList
`protected JList` | `MetalComboBoxButton.listBox`

Methods in javax.swing.plaf.metal with parameters of type JList
`Component` | `MetalFileChooserUI.FileRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)`
`Component` | `MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)`

Constructors in javax.swing.plaf.metal with parameters of type JList
`MetalFileChooserUI.SingleClickListener(JList list)`
`MetalComboBoxButton(JComboBox cb, Icon i, CellRendererPane pane, JList list)`
`MetalComboBoxButton(JComboBox cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList list)`

Uses of JList in javax.swing.plaf.multi

Methods in javax.swing.plaf.multi with parameters of type JList
`int` | `MultiListUI.locationToIndex(JList a, Point b)` Invokes the `locationToIndex` method on each UI handled by this object.
`Point` | `MultiListUI.indexToLocation(JList a, int b)` Invokes the `indexToLocation` method on each UI handled by this object.
`Rectangle` | `MultiListUI.getCellBounds(JList a, int b, int c)` Invokes the `getCellBounds` method on each UI handled by this object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.