Uses of Class
javax.swing.JList
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides one interface and many abstract classes that Swing uses to provide
its pluggable look-and-feel capabilities.
Provides user interface objects built according to the Basic look and feel.
Provides user interface objects built according to the Java look and feel
(once codenamed Metal), which is the default look and feel.
Provides user interface objects that combine two or more look and feels.
-
Uses of JList in javax.swing
Modifier and TypeMethodDescriptionDefaultListCellRenderer.getListCellRendererComponent
(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) ListCellRenderer.getListCellRendererComponent
(JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus) Return a component that has been configured to display the specified value.ModifierConstructorDescriptionAccessibleJListChild
(JList<E> parent, int indexInParent) Constructs anAccessibleJListChild
. -
Uses of JList in javax.swing.plaf
Modifier and TypeMethodDescriptionabstract Rectangle
ListUI.getCellBounds
(JList<?> list, int index1, int index2) Returns the bounding rectangle, in the given list's coordinate system, for the range of cells specified by the two indices.abstract Point
ListUI.indexToLocation
(JList<?> list, int index) Returns the origin in the givenJList
, of the specified item, in the list's coordinate system.abstract int
ListUI.locationToIndex
(JList<?> list, Point location) Returns the cell index in the specifiedJList
closest to the given location in the list's coordinate system. -
Uses of JList in javax.swing.plaf.basic
Modifier and TypeFieldDescriptionBasicComboPopup.list
This protected field is implementation specific.BasicListUI.list
The instance ofJList
.BasicComboBoxUI.listBox
This list is for drawing the current item in the combo box.Modifier and TypeMethodDescriptionBasicComboPopup.createList()
Creates the JList used in the popup to display the items in the combo box model.BasicComboPopup.getList()
Implementation of ComboPopup.getList().ComboPopup.getList()
Returns the list that is being used to draw the items in the combo box.Modifier and TypeMethodDescriptionprotected MouseListener
BasicFileChooserUI.createDoubleClickListener
(JFileChooser fc, JList<?> list) Creates a double click listener.BasicListUI.getCellBounds
(JList<?> list, int index1, int index2) Returns the bounding rectangle, in the given list's coordinate system, for the range of cells specified by the two indices.BasicComboBoxRenderer.getListCellRendererComponent
(JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) BasicListUI.indexToLocation
(JList<?> list, int index) Returns the origin in the givenJList
, of the specified item, in the list's coordinate system.int
BasicListUI.locationToIndex
(JList<?> list, Point location) Returns the cell index in the specifiedJList
closest to the given location in the list's coordinate system.ModifierConstructorDescriptionDoubleClickListener
(JList<?> list) Constructs aDoubleClickListener
. -
Uses of JList in javax.swing.plaf.metal
ModifierConstructorDescriptionMetalComboBoxButton
(JComboBox<Object> cb, Icon i, boolean onlyIcon, CellRendererPane pane, JList<Object> list) Constructs a new instance ofMetalComboBoxButton
.MetalComboBoxButton
(JComboBox<Object> cb, Icon i, CellRendererPane pane, JList<Object> list) Constructs a new instance ofMetalComboBoxButton
.SingleClickListener
(JList<?> list) Deprecated.Constructs an instance ofSingleClickListener
. -
Uses of JList in javax.swing.plaf.multi
Modifier and TypeMethodDescriptionMultiListUI.getCellBounds
(JList<?> a, int b, int c) Invokes thegetCellBounds
method on each UI handled by this object.MultiListUI.indexToLocation
(JList<?> a, int b) Invokes theindexToLocation
method on each UI handled by this object.int
MultiListUI.locationToIndex
(JList<?> a, Point b) Invokes thelocationToIndex
method on each UI handled by this object.