All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.accessibility.SwingEventListener
java.lang.Object
|
+----com.sun.java.accessibility.AWTEventListener
|
+----com.sun.java.accessibility.SwingEventListener
- public class SwingEventListener
- extends AWTEventListener
- implements AncestorListener, CellEditorListener, ChangeListener, DocumentListener, ListDataListener, ListSelectionListener, MenuListener, PropertyChangeListener, TableColumnModelListener, TableModelListener, TreeExpansionListener, TreeModelListener, TreeSelectionListener, UndoableEditListener, VetoableChangeListener
SwingEventListener is the class that does all the work for
SwingEventMonitor. It is not intended for use by any other class
except SwingEventMonitor.
NOTE: This is a preliminary draft. The methods and name may change
in future beta releases.
-
SwingEventListener()
-
-
ancestorAdded(AncestorEvent)
-
-
ancestorMoved(AncestorEvent)
-
-
ancestorRemoved(AncestorEvent)
-
-
changedUpdate(DocumentEvent)
-
-
columnAdded(TableColumnModelEvent)
-
-
columnMarginChanged(ChangeEvent)
-
-
columnMoved(TableColumnModelEvent)
-
-
columnRemoved(TableColumnModelEvent)
-
-
columnSelectionChanged(ListSelectionEvent)
-
-
componentAdded(ContainerEvent)
-
-
componentRemoved(ContainerEvent)
-
-
contentsChanged(ListDataEvent)
-
-
editingCanceled(ChangeEvent)
-
-
editingStopped(ChangeEvent)
-
-
insertUpdate(DocumentEvent)
-
-
installListeners(Component)
- Installs all appropriate Swing listeners to just the component.
-
installListeners(Component, int)
- Installs all appropriate Swing listeners to the component and all its
children.
-
intervalAdded(ListDataEvent)
-
-
intervalRemoved(ListDataEvent)
-
-
menuCancelled(MenuEvent)
-
-
menuDeselected(MenuEvent)
-
-
menuSelected(MenuEvent)
-
-
propertyChange(PropertyChangeEvent)
-
-
removeListeners(Component)
- Removes all listeners for the given component and all its children.
-
removeListeners(Component, int)
- Removes all Swing listeners for the event ID from the component and
all of its children.
-
removeUpdate(DocumentEvent)
-
-
stateChanged(ChangeEvent)
-
-
tableChanged(TableModelEvent)
-
-
tableRowsInserted(TableModelEvent)
-
-
tableRowsRemoved(TableModelEvent)
-
-
treeCollapsed(TreeExpansionEvent)
-
-
treeExpanded(TreeExpansionEvent)
-
-
treeNodesChanged(TreeModelEvent)
-
-
treeNodesInserted(TreeModelEvent)
-
-
treeNodesRemoved(TreeModelEvent)
-
-
treeStructureChanged(TreeModelEvent)
-
-
undoableEditHappened(UndoableEditEvent)
-
-
valueChanged(ListSelectionEvent)
-
-
valueChanged(TreeSelectionEvent)
-
-
vetoableChange(PropertyChangeEvent)
-
SwingEventListener
public SwingEventListener()
installListeners
protected void installListeners(Component c)
- Installs all appropriate Swing listeners to just the component.
Also calls super (AWTEventListener.installListeners()) to install
the requested AWT listeners.
- Parameters:
- c - the component to add listeners to
- Overrides:
- installListeners in class AWTEventListener
installListeners
protected void installListeners(Component c,
int eventID)
- Installs all appropriate Swing listeners to the component and all its
children. As a precaution, it always attempts to remove itself as
a listener first so we're always guaranteed to have installed itself
just once.
- Parameters:
- c - the component to add listeners to
- eventID - the eventID to add listeners for
- Overrides:
- installListeners in class AWTEventListener
removeListeners
protected void removeListeners(Component c)
- Removes all listeners for the given component and all its children.
- Parameters:
- c - the component
- Overrides:
- removeListeners in class AWTEventListener
removeListeners
protected void removeListeners(Component c,
int eventID)
- Removes all Swing listeners for the event ID from the component and
all of its children.
- Parameters:
- c - the component to remove listeners from
- Overrides:
- removeListeners in class AWTEventListener
componentAdded
public void componentAdded(ContainerEvent e)
- Overrides:
- componentAdded in class AWTEventListener
componentRemoved
public void componentRemoved(ContainerEvent e)
- Overrides:
- componentRemoved in class AWTEventListener
ancestorAdded
public void ancestorAdded(AncestorEvent event)
ancestorRemoved
public void ancestorRemoved(AncestorEvent event)
ancestorMoved
public void ancestorMoved(AncestorEvent event)
editingStopped
public void editingStopped(ChangeEvent e)
editingCanceled
public void editingCanceled(ChangeEvent e)
stateChanged
public void stateChanged(ChangeEvent e)
changedUpdate
public void changedUpdate(DocumentEvent e)
insertUpdate
public void insertUpdate(DocumentEvent e)
removeUpdate
public void removeUpdate(DocumentEvent e)
valueChanged
public void valueChanged(ListSelectionEvent e)
contentsChanged
public void contentsChanged(ListDataEvent e)
intervalAdded
public void intervalAdded(ListDataEvent e)
intervalRemoved
public void intervalRemoved(ListDataEvent e)
menuCancelled
public void menuCancelled(MenuEvent e)
menuDeselected
public void menuDeselected(MenuEvent e)
menuSelected
public void menuSelected(MenuEvent e)
propertyChange
public void propertyChange(PropertyChangeEvent e)
columnAdded
public void columnAdded(TableColumnModelEvent e)
columnMarginChanged
public void columnMarginChanged(ChangeEvent e)
columnMoved
public void columnMoved(TableColumnModelEvent e)
columnRemoved
public void columnRemoved(TableColumnModelEvent e)
columnSelectionChanged
public void columnSelectionChanged(ListSelectionEvent e)
tableChanged
public void tableChanged(TableModelEvent e)
tableRowsInserted
public void tableRowsInserted(TableModelEvent e)
tableRowsRemoved
public void tableRowsRemoved(TableModelEvent e)
treeCollapsed
public void treeCollapsed(TreeExpansionEvent e)
treeExpanded
public void treeExpanded(TreeExpansionEvent e)
treeNodesChanged
public void treeNodesChanged(TreeModelEvent e)
treeNodesInserted
public void treeNodesInserted(TreeModelEvent e)
treeNodesRemoved
public void treeNodesRemoved(TreeModelEvent e)
treeStructureChanged
public void treeStructureChanged(TreeModelEvent e)
valueChanged
public void valueChanged(TreeSelectionEvent e)
undoableEditHappened
public void undoableEditHappened(UndoableEditEvent e)
vetoableChange
public void vetoableChange(PropertyChangeEvent e) throws PropertyVetoException
All Packages Class Hierarchy This Package Previous Next Index