-
Interface Summary Interface Description AncestorListener AncestorListener Interface to support notification when changes occur to a JComponent or one of its ancestors.CaretListener Listener for changes in the caret position of a text component.CellEditorListener CellEditorListener defines the interface for an object that listens to changes in a CellEditorChangeListener Defines an object which listens for ChangeEvents.DocumentEvent Interface for document change notifications.DocumentEvent.ElementChange Describes changes made to a specific element.DocumentListener Interface for an observer to register to receive notifications of changes to a text document.HyperlinkListener HyperlinkListenerInternalFrameListener The listener interface for receiving internal frame events.ListDataListener ListDataListenerListSelectionListener The listener that's notified when a lists selection value changes.MenuDragMouseListener Defines a menu mouse-drag listener.MenuKeyListener MenuKeyListenerMenuListener Defines a listener for menu events.MouseInputListener A listener implementing all the methods in both theMouseListener
andMouseMotionListener
interfaces.PopupMenuListener A popup menu listenerRowSorterListener RowSorterListener
s are notified of changes to aRowSorter
.TableColumnModelListener TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.TableModelListener TableModelListener defines the interface for an object that listens to changes in a TableModel.TreeExpansionListener The listener that's notified when a tree expands or collapses a node.TreeModelListener Defines the interface for an object that listens to changes in a TreeModel.TreeSelectionListener The listener that's notified when the selection in a TreeSelectionModel changes.TreeWillExpandListener The listener that's notified when a tree expands or collapses a node.UndoableEditListener Interface implemented by a class interested in hearing about undoable operations. -
Class Summary Class Description AncestorEvent An event reported to a child component that originated from an ancestor in the component hierarchy.CaretEvent CaretEvent is used to notify interested parties that the text caret has changed in the event source.ChangeEvent ChangeEvent is used to notify interested parties that state has changed in the event source.DocumentEvent.EventType Enumeration for document event typesEventListenerList A class that holds a list of EventListeners.HyperlinkEvent HyperlinkEvent is used to notify interested parties that something has happened with respect to a hypertext link.HyperlinkEvent.EventType Defines the ENTERED, EXITED, and ACTIVATED event types, along with their string representations, returned by toString().InternalFrameAdapter An abstract adapter class for receiving internal frame events.InternalFrameEvent AnAWTEvent
that adds support forJInternalFrame
objects as the event source.ListDataEvent Defines an event that encapsulates changes to a list.ListSelectionEvent An event that characterizes a change in selection.MenuDragMouseEvent MenuDragMouseEvent is used to notify interested parties that the menu element has received a MouseEvent forwarded to it under drag conditions.MenuEvent MenuEvent is used to notify interested parties that the menu which is the event source has been posted, selected, or canceled.MenuKeyEvent MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.MouseInputAdapter 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.PopupMenuEvent PopupMenuEvent only contains the source of the event which is the JPoupMenu sending the eventRowSorterEvent RowSorterEvent
provides notification of changes to aRowSorter
.SwingPropertyChangeSupport This subclass ofjava.beans.PropertyChangeSupport
is almost identical in functionality.TableColumnModelEvent TableColumnModelEvent is used to notify listeners that a table column model has changed, such as a column was added, removed, or moved.TableModelEvent TableModelEvent is used to notify listeners that a table model has changed.TreeExpansionEvent An event used to identify a single path in a tree.TreeModelEvent Encapsulates information describing changes to a tree model, and used to notify tree model listeners of the change.TreeSelectionEvent An event that characterizes a change in the current selection.UndoableEditEvent An event indicating that an operation which can be undone has occurred. -
Enum Summary Enum Description RowSorterEvent.Type Enumeration of the types ofRowSorterEvent
s.
Package javax.swing.event Description
Note: Most of the Swing API is not thread safe. For details, see Threads and Swing, a section in The Java Tutorial.
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:- Writing Event Listeners, a section in The Java Tutorial
- Since:
- 1.2
Nederlandse vertaling
U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.
Bij voorbaat dank.
Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/swing/event/package-summary.html
De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.
Referenties
Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.