Uses of Interface
javax.swing.event.ListSelectionListener
Package
Description
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
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 classes and interfaces for dealing with
javax.swing.JTable
.-
Uses of ListSelectionListener in javax.swing
Modifier and TypeClassDescriptionprotected class
This class implements accessibility support for theJList
class.class
TheJTable
is used to display and edit regular two-dimensional tables of cells.protected class
This class implements accessibility support for theJTable
class.Modifier and TypeMethodDescriptionDefaultListSelectionModel.getListSelectionListeners()
Returns an array of all the list selection listeners registered on thisDefaultListSelectionModel
.JList.getListSelectionListeners()
Returns an array of all theListSelectionListener
s added to thisJList
by way ofaddListSelectionListener
.Modifier and TypeMethodDescriptionvoid
DefaultListSelectionModel.addListSelectionListener
(ListSelectionListener l) Add a listener to the list that's notified each time a change to the selection occurs.void
JList.addListSelectionListener
(ListSelectionListener listener) Adds a listener to the list, to be notified each time a change to the selection occurs; the preferred way of listening for selection state changes.void
ListSelectionModel.addListSelectionListener
(ListSelectionListener x) Add a listener to the list that's notified each time a change to the selection occurs.void
DefaultListSelectionModel.removeListSelectionListener
(ListSelectionListener l) Remove a listener from the list that's notified each time a change to the selection occurs.void
JList.removeListSelectionListener
(ListSelectionListener listener) Removes a selection listener from the list.void
ListSelectionModel.removeListSelectionListener
(ListSelectionListener x) Remove a listener from the list that's notified each time a change to the selection occurs. -
Uses of ListSelectionListener in javax.swing.plaf.basic
Modifier and TypeClassDescriptionprotected class
As of Java 2 platform v 1.4, this class is now obsolete, doesn't do anything, and is only included for backwards API compatibility.protected class
A selection listener.class
The ListSelectionListener that's added to the JLists selection model at installUI time, and whenever the JList.selectionModel property changes.Modifier and TypeFieldDescriptionprotected ListSelectionListener
BasicComboPopup.listSelectionListener
This protected field is implementation specific.protected ListSelectionListener
BasicListUI.listSelectionListener
ListSelectionListener
that attached toJList
.Modifier and TypeMethodDescriptionprotected ListSelectionListener
BasicComboPopup.createListSelectionListener()
Creates a list selection listener that watches for selection changes in the popup's list.BasicFileChooserUI.createListSelectionListener
(JFileChooser fc) Creates a list selection listener.protected ListSelectionListener
BasicListUI.createListSelectionListener()
Creates an instance ofListSelectionHandler
that's added to theJLists
by selectionModel as needed. -
Uses of ListSelectionListener in javax.swing.plaf.metal
Modifier and TypeMethodDescriptionMetalFileChooserUI.createListSelectionListener
(JFileChooser fc) Creates a selection listener for the list of files and directories. -
Uses of ListSelectionListener in javax.swing.table
Modifier and TypeClassDescriptionclass
The standard column-handler for aJTable
.