Eventos en Java







    Home > Java SE  

Package javax.swing.event

Provides for events fired by Swing components.
See:


          Description




Interface Summary
[source] AncestorListener AncestorListener

Interface to support notification when changes occur to a JComponent or one
of its ancestors.
[source] CaretListener Listener for changes in the caret position of a text
component.
[source] CellEditorListener CellEditorListener defines the interface for an object that listens
to changes in a CellEditor
[source] ChangeListener Defines an object which listens for ChangeEvents.
[source] DocumentEvent Interface for document change notifications.
[source] DocumentEvent.ElementChange Describes changes made to a specific element.
[source] DocumentListener Interface for an observer to register to receive notifications
of changes to a text document.
[source] HyperlinkListener HyperlinkListener
[source] InternalFrameListener The listener interface for receiving internal frame events.
[source] ListDataListener ListDataListener
[source] ListSelectionListener The listener that's notified when a lists selection value
changes.
[source] MenuDragMouseListener Defines a menu mouse-drag listener.
[source] MenuKeyListener MenuKeyListener
[source] MenuListener Defines a listener for menu events.
[source] MouseInputListener A listener implementing all the methods in both the MouseListener and
MouseMotionListener interfaces.
[source] PopupMenuListener A popup menu listener
[source] TableColumnModelListener TableColumnModelListener defines the interface for an object that listens
to changes in a TableColumnModel.
[source] TableModelListener TableModelListener defines the interface for an object that listens
to changes in a TableModel.
[source] TreeExpansionListener The listener that's notified when a tree expands or collapses
a node.
[source] TreeModelListener Defines the interface for an object that listens
to changes in a TreeModel.
[source] TreeSelectionListener The listener that's notified when the selection in a TreeSelectionModel
changes.
[source] TreeWillExpandListener The listener that's notified when a tree expands or collapses
a node.
[source] UndoableEditListener Interface implemented by a class interested in hearing about
undoable operations.





Class Summary
[source] AncestorEvent An event reported to a child component that originated from an
ancestor in the component hierarchy.
[source] CaretEvent CaretEvent is used to notify interested parties that
the text caret has changed in the event source.
[source] ChangeEvent ChangeEvent is used to notify interested parties that
state has changed in the event source.
[source] DocumentEvent.EventType Enumeration for document event types
[source] EventListenerList A class that holds a list of EventListeners.
[source] HyperlinkEvent HyperlinkEvent is used to notify interested parties that
something has happened with respect to a hypertext link.
[source] HyperlinkEvent.EventType Defines the ENTERED, EXITED, and ACTIVATED event types, along
with their string representations, returned by toString().
[source] InternalFrameAdapter An abstract adapter class for receiving internal frame events.
[source] InternalFrameEvent An AWTEvent that adds support for
JInternalFrame objects as the event source.
[source] ListDataEvent Defines an event that encapsulates changes to a list.
[source] ListSelectionEvent An event that characterizes a change in the current
selection.
[source] MenuDragMouseEvent MenuDragMouseEvent is used to notify interested parties that
the menu element has received a MouseEvent forwarded to it
under drag conditions.
[source] MenuEvent MenuEvent is used to notify interested parties that
the menu which is the event source has been posted,
selected, or canceled.
[source] MenuKeyEvent MenuKeyEvent is used to notify interested parties that
the menu element has received a KeyEvent forwarded to it
in a menu tree.
[source] MouseInputAdapter The adapter which receives mouse events and mouse motion events.
[source] PopupMenuEvent PopupMenuEvent only contains the source of the event which is the JPoupMenu
sending the event
[source] SwingPropertyChangeSupport This subclass of java.beans.PropertyChangeSupport is identical
in functionality -- it sacrifices thread-safety (not a Swing
concern) for reduce memory consumption, which helps performance
(both big Swing concerns).
[source] TableColumnModelEvent TableColumnModelEvent is used to notify listeners that a table
column model has changed, such as a column was added, removed, or
moved.
[source] TableModelEvent TableModelEvent is used to notify listeners that a table model
has changed.
[source] TreeExpansionEvent An event used to identify a single path in a tree.
[source] TreeModelEvent Encapsulates information describing changes to a tree model, and
used to notify tree model listeners of the change.
[source] TreeSelectionEvent An event that characterizes a change in the current
selection.
[source] UndoableEditEvent An event indicating that an operation which can be undone has occurred.



Package javax.swing.event Description


Provides for events fired by Swing components. It contains
event classes and corresponding event listener interfaces for events
fired by Swing components in addition to those events in the
java.awt.event package.


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:
Since:
1.2








    Home > Java SE