Uses of Package
javax.swing.event
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Contains classes and interfaces used by the
JColorChooser
component.Provides for events fired by Swing components.
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
.Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.Provides classes and interfaces for dealing with
javax.swing.JTree
.Allows developers to provide support for undo/redo in applications such as
text editors.
-
ClassDescriptionAncestorListener Interface to support notification when changes occur to a JComponent or one of its ancestors.Listener for changes in the caret position of a text component.CellEditorListener defines the interface for an object that listens to changes in a CellEditorDefines an object which listens for ChangeEvents.Interface for an observer to register to receive notifications of changes to a text document.A class that holds a list of EventListeners.The listener interface for receiving internal frame events.ListDataListenerThe listener that's notified when a lists selection value changes.Defines a listener for menu events.A popup menu listenerTableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.TableModelListener defines the interface for an object that listens to changes in a TableModel.The listener that's notified when a tree expands or collapses a node.Defines the interface for an object that listens to changes in a TreeModel.The listener that's notified when the selection in a TreeSelectionModel changes.Interface implemented by a class interested in hearing about undoable operations.
-
ClassDescriptionAncestorListener Interface to support notification when changes occur to a JComponent or one of its ancestors.Listener for changes in the caret position of a text component.CellEditorListener defines the interface for an object that listens to changes in a CellEditorChangeEvent is used to notify interested parties that state has changed in the event source.Defines an object which listens for ChangeEvents.Interface for an observer to register to receive notifications of changes to a text document.A class that holds a list of EventListeners.HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.HyperlinkListenerThe listener interface for receiving internal frame events.Defines an event that encapsulates changes to a list.ListDataListenerAn event that characterizes a change in selection.The listener that's notified when a lists selection value changes.MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.Defines a menu mouse-drag listener.MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.MenuKeyListenerDefines a listener for menu events.A popup menu listener
RowSorterEvent
provides notification of changes to aRowSorter
.RowSorterListener
s are notified of changes to aRowSorter
.This subclass ofjava.beans.PropertyChangeSupport
is almost identical in functionality.TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.TableModelEvent is used to notify listeners that a table model has changed.TableModelListener defines the interface for an object that listens to changes in a TableModel.An event used to identify a single path in a tree.The listener that's notified when a tree expands or collapses a node.Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.Defines the interface for an object that listens to changes in a TreeModel.An event that characterizes a change in the current selection.The listener that's notified when the selection in a TreeSelectionModel changes.The listener that's notified when a tree expands or collapses a node. -
ClassDescriptionChangeEvent is used to notify interested parties that state has changed in the event source.Defines an object which listens for ChangeEvents.A class that holds a list of EventListeners.
-
ClassDescriptionAn event reported to a child component that originated from an ancestor in the component hierarchy.CaretEvent is used to notify interested parties that the text caret has changed in the event source.ChangeEvent is used to notify interested parties that state has changed in the event source.Interface for document change notifications.Describes changes made to a specific element.Enumeration for document event typesHyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().An
AWTEvent
that adds support forJInternalFrame
objects as the event source.The listener interface for receiving internal frame events.Defines an event that encapsulates changes to a list.An event that characterizes a change in selection.MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.MenuEvent is used to notify interested parties that the menu which is the event source has been posted, selected, or canceled.MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.A listener implementing all the methods in both theMouseListener
andMouseMotionListener
interfaces.PopupMenuEvent only contains the source of the event which is the JPopupMenu sending the eventRowSorterEvent
provides notification of changes to aRowSorter
.Enumeration of the types ofRowSorterEvent
s.TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.TableModelEvent is used to notify listeners that a table model has changed.An event used to identify a single path in a tree.Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.An event that characterizes a change in the current selection.An event indicating that an operation which can be undone has occurred. -
ClassDescriptionCellEditorListener defines the interface for an object that listens to changes in a CellEditorChangeEvent is used to notify interested parties that state has changed in the event source.Defines an object which listens for ChangeEvents.An
AWTEvent
that adds support forJInternalFrame
objects as the event source.The listener interface for receiving internal frame events.Defines an event that encapsulates changes to a list.ListDataListenerAn event that characterizes a change in selection.The listener that's notified when a lists selection value changes.Defines a menu mouse-drag listener.MenuKeyListenerDefines a listener for menu events.An empty implementation of theMouseInputListener
interface, provided as a convenience to simplify the task of creating listeners, by extending and implementing only the methods of interest.A listener implementing all the methods in both theMouseListener
andMouseMotionListener
interfaces.An event used to identify a single path in a tree.The listener that's notified when a tree expands or collapses a node.Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.Defines the interface for an object that listens to changes in a TreeModel.An event that characterizes a change in the current selection.The listener that's notified when the selection in a TreeSelectionModel changes. -
ClassDescriptionAn event that characterizes a change in selection.The listener that's notified when a lists selection value changes.An empty implementation of the
MouseInputListener
interface, provided as a convenience to simplify the task of creating listeners, by extending and implementing only the methods of interest.A listener implementing all the methods in both theMouseListener
andMouseMotionListener
interfaces. -
ClassDescriptionChangeEvent is used to notify interested parties that state has changed in the event source.A class that holds a list of EventListeners.An event that characterizes a change in selection.The listener that's notified when a lists selection value changes.TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.TableModelEvent is used to notify listeners that a table model has changed.TableModelListener defines the interface for an object that listens to changes in a TableModel.
-
ClassDescriptionCaretEvent is used to notify interested parties that the text caret has changed in the event source.Listener for changes in the caret position of a text component.ChangeEvent is used to notify interested parties that state has changed in the event source.Defines an object which listens for ChangeEvents.Interface for document change notifications.Describes changes made to a specific element.Enumeration for document event typesInterface for an observer to register to receive notifications of changes to a text document.A class that holds a list of EventListeners.An event indicating that an operation which can be undone has occurred.Interface implemented by a class interested in hearing about undoable operations.
-
ClassDescriptionInterface for document change notifications.HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().An event indicating that an operation which can be undone has occurred.
-
ClassDescriptionCellEditorListener defines the interface for an object that listens to changes in a CellEditorA class that holds a list of EventListeners.This subclass of
java.beans.PropertyChangeSupport
is almost identical in functionality.An event used to identify a single path in a tree.Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.Defines the interface for an object that listens to changes in a TreeModel.An event that characterizes a change in the current selection.The listener that's notified when the selection in a TreeSelectionModel changes. -
ClassDescriptionAn event indicating that an operation which can be undone has occurred.Interface implemented by a class interested in hearing about undoable operations.