Uses of Class javax.swing.JList

Uses in package javax.swing.plaf

Methods with parameter type javax.swing.JList

Rectangle
ListUI.getCellBounds(JList list, int index1, int index2)
Determines the bounding box of the rectangle spanned by two list indices.
Point
ListUI.indexToLocation(JList list, int index)
Determines the location of the specified cell.
int
ListUI.locationToIndex(JList list, Point location)
Determines the cell index which is the closest to the specified location.

Uses in package javax.swing.plaf.multi

Methods with parameter type javax.swing.JList

Rectangle
MultiListUI.getCellBounds(JList list, int index1, int index2)
Calls the ListUI.getCellBounds(JList,int,int) method for all the UI delegates managed by this MultiListUI, returning the bounds for the UI delegate from the primary look and feel.
Point
MultiListUI.indexToLocation(JList list, int index)
Calls the ListUI.indexToLocation(JList,int) method for all the UI delegates managed by this MultiListUI, returning the location for the UI delegate from the primary look and feel.
int
Calls the ListUI.locationToIndex(JList,Point) method for all the UI delegates managed by this MultiListUI, returning the index for the UI delegate from the primary look and feel.

Uses in package javax.swing

Constructors with parameter type javax.swing.JList

Creates a new instance of AccessibleJListChild.

Methods with parameter type javax.swing.JList

Component
DefaultListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent
Component
ListCellRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)

Uses in package javax.swing.plaf.metal

Constructors with parameter type javax.swing.JList

Creates a new button.
Creates a new button.
Creates a new listener.

Fields of type javax.swing.JList

JList
A reference to the JList.

Methods with parameter type javax.swing.JList

Component
MetalFileChooserUI.FileRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
Returns a component that can render the specified value.
Component
MetalFileChooserUI.FilterComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
Returns a component that can be used to paint the given value within the list.

Uses in package javax.swing.plaf.basic

Constructors with parameter type javax.swing.JList

Creates a new DoubleClickListener object.

Fields of type javax.swing.JList

JList
JList which is used to display item is the combo box
JList
Saved reference to the list this UI was created for.
JList
List used when rendering selected item of the combo box.

Methods with parameter type javax.swing.JList

MouseListener
Creates a new listener to handle double-click events.
Rectangle
BasicListUI.getCellBounds(JList l, int index1, int index2)
Calculate the bounds of a particular cell, considering the upper left corner of the list as the origin position (0,0).
Component
BasicComboBoxRenderer.getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
Returns a component that has been configured to display the given value.
Point
Determines the location of the specified cell.
int
Computes the index of a list cell given a point within the list.

Methods with return type javax.swing.JList

JList
Creates JList that will be used to display items in the combo box.
JList
Return list cointaining JComboBox's items
JList
Return JList that is used to draw cells of the JComboBox.