站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Package javax.swing.event - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Package javax.swing.event

Provides for events fired by Swing components.

See:
          Description

Interface Summary
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 CellEditor
ChangeListener 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 HyperlinkListener
InternalFrameListener The listener interface for receiving internal frame events.
ListDataListener ListDataListener
ListSelectionListener The listener that's notified when a lists selection value changes.
MenuDragMouseListener Defines a menu mouse-drag listener.
MenuKeyListener MenuKeyListener
MenuListener Defines a listener for menu events.
MouseInputListener A listener implementing all the methods in both the MouseListener and MouseMotionListener interfaces.
PopupMenuListener A popup menu listener
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 TreeChangeListener 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
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 types
EventListenerList A class which 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 InternalFrameEvent: an AWTEvent which adds support for JInternalFrame objects as the event source.
ListDataEvent Defines an event that encapsulates changes to a list.
ListSelectionEvent An event that characterizes a change in the current 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 The adapter which receives mouse events and mouse motion events.
PopupMenuEvent PopupMenuEvent only contains the source of the event which is the JPoupMenu sending the event
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).
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.
 

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.

Since:
JDK1.2

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.