Uses of Interface
javax.swing.event.ListSelectionListener
| Package | Description |
|---|---|
| com.sun.java.accessibility.util |
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
|
| 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.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.table |
Provides classes and interfaces for dealing with
javax.swing.JTable. |
-
Uses of ListSelectionListener in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util with parameters of type ListSelectionListener Modifier and Type Method Description static voidSwingEventMonitor. addListSelectionListener(ListSelectionListener l)Adds the specified listener to receive allLISTSELECTIONevents on each component instance in the Java Virtual Machine as they occur.static voidSwingEventMonitor. removeListSelectionListener(ListSelectionListener l)Removes the specified listener so it no longer receivesLISTSELECTIONevents when they occur. -
Uses of ListSelectionListener in javax.swing
Classes in javax.swing that implement ListSelectionListener Modifier and Type Class Description protected classJList.AccessibleJListThis class implements accessibility support for theJListclass.classJTableTheJTableis used to display and edit regular two-dimensional tables of cells.protected classJTable.AccessibleJTableThis class implements accessibility support for theJTableclass.Methods in javax.swing that return ListSelectionListener Modifier and Type Method Description ListSelectionListener[]DefaultListSelectionModel. getListSelectionListeners()Returns an array of all the list selection listeners registered on thisDefaultListSelectionModel.ListSelectionListener[]JList. getListSelectionListeners()Returns an array of all theListSelectionListeners added to thisJListby way ofaddListSelectionListener.Methods in javax.swing with parameters of type ListSelectionListener Modifier and Type Method Description voidJList. 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.voidListSelectionModel. addListSelectionListener(ListSelectionListener x)Add a listener to the list that's notified each time a change to the selection occurs.voidJList. removeListSelectionListener(ListSelectionListener listener)Removes a selection listener from the list.voidListSelectionModel. 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
Classes in javax.swing.plaf.basic that implement ListSelectionListener Modifier and Type Class Description protected classBasicComboPopup.ListSelectionHandlerAs 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 classBasicFileChooserUI.SelectionListenerA selection listener.classBasicListUI.ListSelectionHandlerThe ListSelectionListener that's added to the JLists selection model at installUI time, and whenever the JList.selectionModel property changes.Fields in javax.swing.plaf.basic declared as ListSelectionListener Modifier and Type Field Description protected ListSelectionListenerBasicComboPopup. listSelectionListenerThis protected field is implementation specific.protected ListSelectionListenerBasicListUI. listSelectionListenerListSelectionListenerthat attached toJList.Methods in javax.swing.plaf.basic that return ListSelectionListener Modifier and Type Method Description protected ListSelectionListenerBasicComboPopup. createListSelectionListener()Creates a list selection listener that watches for selection changes in the popup's list.ListSelectionListenerBasicFileChooserUI. createListSelectionListener(JFileChooser fc)Creates a list selection listener.protected ListSelectionListenerBasicListUI. createListSelectionListener()Creates an instance ofListSelectionHandlerthat's added to theJListsby selectionModel as needed. -
Uses of ListSelectionListener in javax.swing.plaf.metal
Methods in javax.swing.plaf.metal that return ListSelectionListener Modifier and Type Method Description ListSelectionListenerMetalFileChooserUI. createListSelectionListener(JFileChooser fc)Creates a selection listener for the list of files and directories. -
Uses of ListSelectionListener in javax.swing.table
Classes in javax.swing.table that implement ListSelectionListener Modifier and Type Class Description classDefaultTableColumnModelThe standard column-handler for aJTable.