A C E F G I J L P R S U V

A

addAccessibleSelection(int) - Method in class javax.swing.JList.AccessibleJList
Adds the specified selected item in the object to the object's selection.
addFocusListener(FocusListener) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
addListSelectionListener(ListSelectionListener) - Method in class javax.swing.JList
Add a listener to the list that's notified each time a change to the selection occurs.
addPropertyChangeListener(PropertyChangeListener) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
addSelectionInterval(int, int) - Method in class javax.swing.JList
Set the selection to be the union of the specified interval with current selection.

C

clearAccessibleSelection() - Method in class javax.swing.JList.AccessibleJList
Clears the selection in the object, so that nothing in the object is selected.
clearSelection() - Method in class javax.swing.JList
Clears the selection - after calling this method isSelectionEmpty() will return true.
contains(Point) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
contentsChanged(ListDataEvent) - Method in class javax.swing.JList.AccessibleJList
List Data Listener contents changed method.
createSelectionModel() - Method in class javax.swing.JList
Returns an instance of DefaultListSelectionModel.

E

ensureIndexIsVisible(int) - Method in class javax.swing.JList
If this JList is being displayed within a JViewport and the specified cell isn't completely visible, scroll the viewport.

F

fireSelectionValueChanged(int, int, boolean) - Method in class javax.swing.JList
This method notifies JList ListSelectionListeners that the selection model has changed.

G

getAccessibleAction() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleAt(Point) - Method in class javax.swing.JList.AccessibleJList
Returns the Accessible child contained at the local coordinate Point, if one exists.
getAccessibleAt(Point) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleChild(int) - Method in class javax.swing.JList.AccessibleJList
Return the nth Accessible child of the object.
getAccessibleChild(int) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleChildrenCount() - Method in class javax.swing.JList.AccessibleJList
Returns the number of accessible children in the object.
getAccessibleChildrenCount() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleComponent() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleContext() - Method in class javax.swing.JList
Get the AccessibleContext associated with this JComponent
getAccessibleContext() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleDescription() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleIndexInParent() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleName() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleRole() - Method in class javax.swing.JList.AccessibleJList
Get the role of this object.
getAccessibleRole() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleSelection() - Method in class javax.swing.JList.AccessibleJList
Get the AccessibleSelection associated with this object if one exists.
getAccessibleSelection() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleSelection(int) - Method in class javax.swing.JList.AccessibleJList
Returns an Accessible representing the specified selected item in the object.
getAccessibleSelectionCount() - Method in class javax.swing.JList.AccessibleJList
Returns the number of items currently selected.
getAccessibleStateSet() - Method in class javax.swing.JList.AccessibleJList
Get the state set of this object.
getAccessibleStateSet() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleText() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAccessibleValue() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getAnchorSelectionIndex() - Method in class javax.swing.JList
Returns the first index argument from the most recent addSelectionInterval or setSelectionInterval call.
getBackground() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getBounds() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getCellBounds(int, int) - Method in class javax.swing.JList
Returns the bounds of the specified range of items in JList coordinates, null if index isn't valid.
getCellRenderer() - Method in class javax.swing.JList
Returns the object that renders the list items.
getCursor() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getFirstVisibleIndex() - Method in class javax.swing.JList
Return the index of the cell in the upper left corner of the JList or -1 if nothing is visible or the list is empty.
getFixedCellHeight() - Method in class javax.swing.JList
Returns the fixed cell width value -- the value specified by setting the fixedCellHeight property, rather than calculated from the list elements.
getFixedCellWidth() - Method in class javax.swing.JList
Returns the fixed cell width value -- the value specified by setting the fixedCellWidth property, rather than calculated from the list elements.
getFont() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getFontMetrics(Font) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getForeground() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getLastVisibleIndex() - Method in class javax.swing.JList
Return the index of the cell in the lower right corner of the JList or -1 if nothing is visible or the list is empty.
getLeadSelectionIndex() - Method in class javax.swing.JList
Returns the second index argument from the most recent addSelectionInterval or setSelectionInterval call.
getLocale() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getLocation() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getLocationOnScreen() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getMaxSelectionIndex() - Method in class javax.swing.JList
Returns the largest selected cell index.
getMinSelectionIndex() - Method in class javax.swing.JList
Returns the smallest selected cell index.
getModel() - Method in class javax.swing.JList
Returns the data model that holds the list of items displayed by the JList component.
getPreferredScrollableViewportSize() - Method in class javax.swing.JList
Compute the size of the viewport needed to display visibleRowCount rows.
getPrototypeCellValue() - Method in class javax.swing.JList
Returns the cell width of the "prototypical cell" -- a cell used for the calculation of cell widths, because it has the same value as all other list items, instead of forcing the calculation to inspect every item in the list.
getScrollableBlockIncrement(Rectangle, int, int) - Method in class javax.swing.JList
Returns the block increment amount.
getScrollableTracksViewportHeight() - Method in class javax.swing.JList
If this JList is displayed in a JViewport, don't change its height when the viewports height changes.
getScrollableTracksViewportWidth() - Method in class javax.swing.JList
If this JList is displayed in a JViewport, don't change its width when the viewports width changes.
getScrollableUnitIncrement(Rectangle, int, int) - Method in class javax.swing.JList
Horizontal scrolling: return the lists font size or 1 if the font is null.
getSelectedIndex() - Method in class javax.swing.JList
A convenience method that returns the first selected index.
getSelectedIndices() - Method in class javax.swing.JList
Return an array of all of the selected indices in increasing order.
getSelectedValue() - Method in class javax.swing.JList
A convenience method that returns the first selected value or null, if the selection is empty.
getSelectedValues() - Method in class javax.swing.JList
Return an array of the values for the selected cells.
getSelectionBackground() - Method in class javax.swing.JList
Returns the background color for selected cells.
getSelectionForeground() - Method in class javax.swing.JList
Returns the foreground color.
getSelectionMode() - Method in class javax.swing.JList
Returns whether single-item or multiple-item selections are allowed.
getSelectionModel() - Method in class javax.swing.JList
Returns the value of the current selection model.
getSize() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
getUI() - Method in class javax.swing.JList
Returns the L&F object that renders this component.
getUIClassID() - Method in class javax.swing.JList
Returns the name of the UIFactory class that generates the look and feel for this component.
getValueIsAdjusting() - Method in class javax.swing.JList
Returns the value of the data model's isAdjusting property.
getVisibleRowCount() - Method in class javax.swing.JList
Return the preferred number of visible rows.

I

indexToLocation(int) - Method in class javax.swing.JList
Returns the origin of the specified item in JList coordinates, null if index isn't valid.
intervalAdded(ListDataEvent) - Method in class javax.swing.JList.AccessibleJList
List Data Listener interval added method.
intervalRemoved(ListDataEvent) - Method in class javax.swing.JList.AccessibleJList
List Data Listener interval removed method.
isAccessibleChildSelected(int) - Method in class javax.swing.JList.AccessibleJList
Returns true if the current child of this object is selected.
isEnabled() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
isFocusTraversable() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
isSelectedIndex(int) - Method in class javax.swing.JList
Returns true if the specified index is selected.
isSelectionEmpty() - Method in class javax.swing.JList
Returns true if nothing is selected This is a convenience method that just delegates to the selectionModel.
isShowing() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
isVisible() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 

J

JList - class javax.swing.JList.
A component that allows the user to select one or more objects from a list.
JList.AccessibleJList - class javax.swing.JList.AccessibleJList.
The class used to obtain the accessible role for this object.
JList.AccessibleJList.AccessibleJListChild - class javax.swing.JList.AccessibleJList.AccessibleJListChild.
 
JList.AccessibleJList.AccessibleJListChild(JList.AccessibleJList, JList, int) - Constructor for class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
JList.AccessibleJList(JList) - Constructor for class javax.swing.JList.AccessibleJList
 
JList() - Constructor for class javax.swing.JList
Constructs a JList with an empty model.
JList(ListModel) - Constructor for class javax.swing.JList
Construct a JList that displays the elements in the specified, non-null model.
JList(Object[]) - Constructor for class javax.swing.JList
Construct a JList that displays the elements in the specified array.
JList(Vector) - Constructor for class javax.swing.JList
Construct a JList that displays the elements in the specified Vector.

L

locationToIndex(Point) - Method in class javax.swing.JList
Convert a point in JList coordinates to the index of the cell at that location.

P

paramString() - Method in class javax.swing.JList
Returns a string representation of this JList.
propertyChange(PropertyChangeEvent) - Method in class javax.swing.JList.AccessibleJList
Property Change Listener change method.

R

removeAccessibleSelection(int) - Method in class javax.swing.JList.AccessibleJList
Removes the specified selected item in the object from the object's selection.
removeFocusListener(FocusListener) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
removeListSelectionListener(ListSelectionListener) - Method in class javax.swing.JList
Remove a listener from the list that's notified each time a change to the selection occurs.
removePropertyChangeListener(PropertyChangeListener) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
removeSelectionInterval(int, int) - Method in class javax.swing.JList
Set the selection to be the set difference of the specified interval and the current selection.
requestFocus() - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 

S

selectAllAccessibleSelection() - Method in class javax.swing.JList.AccessibleJList
Causes every selected item in the object to be selected if the object supports multiple selections.
setAccessibleDescription(String) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setAccessibleName(String) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setBackground(Color) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setBounds(Rectangle) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setCellRenderer(ListCellRenderer) - Method in class javax.swing.JList
Sets the delegate that's used to paint each cell in the list.
setCursor(Cursor) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setEnabled(boolean) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setFixedCellHeight(int) - Method in class javax.swing.JList
If this value is greater than zero it defines the height of every cell in the list.
setFixedCellWidth(int) - Method in class javax.swing.JList
If this value is greater than zero it defines the width of every cell in the list.
setFont(Font) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setForeground(Color) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setListData(Object[]) - Method in class javax.swing.JList
A convenience method that constructs a ListModel from an array of Objects and then applies setModel to it.
setListData(Vector) - Method in class javax.swing.JList
A convenience method that constructs a ListModel from a Vector and then applies setModel to it.
setLocation(Point) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setModel(ListModel) - Method in class javax.swing.JList
Sets the model that represents the contents or "value" of the list and clears the list selection after notifying PropertyChangeListeners.
setPrototypeCellValue(Object) - Method in class javax.swing.JList
If this value is non-null it's used to compute fixedCellWidth and fixedCellHeight by configuring the cellRenderer at index equals zero for the specified value and then computing the renderer components preferred size.
setSelectedIndex(int) - Method in class javax.swing.JList
Select a single cell.
setSelectedIndices(int[]) - Method in class javax.swing.JList
Select a set of cells.
setSelectedValue(Object, boolean) - Method in class javax.swing.JList
Selects the specified object from the list.
setSelectionBackground(Color) - Method in class javax.swing.JList
Set the background color for selected cells.
setSelectionForeground(Color) - Method in class javax.swing.JList
Set the foreground color for selected cells.
setSelectionInterval(int, int) - Method in class javax.swing.JList
Select the specified interval.
setSelectionMode(int) - Method in class javax.swing.JList
Determines whether single-item or multiple-item selections are allowed.
setSelectionModel(ListSelectionModel) - Method in class javax.swing.JList
Set the selectionModel for the list to a non-null ListSelectionModel implementation.
setSize(Dimension) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setUI(ListUI) - Method in class javax.swing.JList
Sets the L&F object that renders this component.
setValueIsAdjusting(boolean) - Method in class javax.swing.JList
Sets the data model's isAdjusting property true, so that a single event will be generated when all of the selection events have finished (for example, when the mouse is being dragged over the list in selection mode).
setVisible(boolean) - Method in class javax.swing.JList.AccessibleJList.AccessibleJListChild
 
setVisibleRowCount(int) - Method in class javax.swing.JList
Set the preferred number of rows in the list that can be displayed without a scollbar, as determined by the nearest JViewport ancestor, if any.

U

updateUI() - Method in class javax.swing.JList
Set the UI property with the "ListUI" from the current default UIFactory.

V

valueChanged(ListSelectionEvent) - Method in class javax.swing.JList.AccessibleJList
List Selection Listener value change method.

A C E F G I J L P R S U V