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.


Constructor Index

 o SwingEventListener()

Method Index

 o ancestorAdded(AncestorEvent)
 o ancestorMoved(AncestorEvent)
 o ancestorRemoved(AncestorEvent)
 o changedUpdate(DocumentEvent)
 o columnAdded(TableColumnModelEvent)
 o columnMarginChanged(ChangeEvent)
 o columnMoved(TableColumnModelEvent)
 o columnRemoved(TableColumnModelEvent)
 o columnSelectionChanged(ListSelectionEvent)
 o componentAdded(ContainerEvent)
 o componentRemoved(ContainerEvent)
 o contentsChanged(ListDataEvent)
 o editingCanceled(ChangeEvent)
 o editingStopped(ChangeEvent)
 o insertUpdate(DocumentEvent)
 o installListeners(Component)
Installs all appropriate Swing listeners to just the component.
 o installListeners(Component, int)
Installs all appropriate Swing listeners to the component and all its children.
 o intervalAdded(ListDataEvent)
 o intervalRemoved(ListDataEvent)
 o menuCancelled(MenuEvent)
 o menuDeselected(MenuEvent)
 o menuSelected(MenuEvent)
 o propertyChange(PropertyChangeEvent)
 o removeListeners(Component)
Removes all listeners for the given component and all its children.
 o removeListeners(Component, int)
Removes all Swing listeners for the event ID from the component and all of its children.
 o removeUpdate(DocumentEvent)
 o stateChanged(ChangeEvent)
 o tableChanged(TableModelEvent)
 o tableRowsInserted(TableModelEvent)
 o tableRowsRemoved(TableModelEvent)
 o treeCollapsed(TreeExpansionEvent)
 o treeExpanded(TreeExpansionEvent)
 o treeNodesChanged(TreeModelEvent)
 o treeNodesInserted(TreeModelEvent)
 o treeNodesRemoved(TreeModelEvent)
 o treeStructureChanged(TreeModelEvent)
 o undoableEditHappened(UndoableEditEvent)
 o valueChanged(ListSelectionEvent)
 o valueChanged(TreeSelectionEvent)
 o vetoableChange(PropertyChangeEvent)

Constructors

 o SwingEventListener
 public SwingEventListener()

Methods

 o 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
 o 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
 o 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
 o 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
 o componentAdded
 public void componentAdded(ContainerEvent e)
Overrides:
componentAdded in class AWTEventListener
 o componentRemoved
 public void componentRemoved(ContainerEvent e)
Overrides:
componentRemoved in class AWTEventListener
 o ancestorAdded
 public void ancestorAdded(AncestorEvent event)
 o ancestorRemoved
 public void ancestorRemoved(AncestorEvent event)
 o ancestorMoved
 public void ancestorMoved(AncestorEvent event)
 o editingStopped
 public void editingStopped(ChangeEvent e)
 o editingCanceled
 public void editingCanceled(ChangeEvent e)
 o stateChanged
 public void stateChanged(ChangeEvent e)
 o changedUpdate
 public void changedUpdate(DocumentEvent e)
 o insertUpdate
 public void insertUpdate(DocumentEvent e)
 o removeUpdate
 public void removeUpdate(DocumentEvent e)
 o valueChanged
 public void valueChanged(ListSelectionEvent e)
 o contentsChanged
 public void contentsChanged(ListDataEvent e)
 o intervalAdded
 public void intervalAdded(ListDataEvent e)
 o intervalRemoved
 public void intervalRemoved(ListDataEvent e)
 o menuCancelled
 public void menuCancelled(MenuEvent e)
 o menuDeselected
 public void menuDeselected(MenuEvent e)
 o menuSelected
 public void menuSelected(MenuEvent e)
 o propertyChange
 public void propertyChange(PropertyChangeEvent e)
 o columnAdded
 public void columnAdded(TableColumnModelEvent e)
 o columnMarginChanged
 public void columnMarginChanged(ChangeEvent e)
 o columnMoved
 public void columnMoved(TableColumnModelEvent e)
 o columnRemoved
 public void columnRemoved(TableColumnModelEvent e)
 o columnSelectionChanged
 public void columnSelectionChanged(ListSelectionEvent e)
 o tableChanged
 public void tableChanged(TableModelEvent e)
 o tableRowsInserted
 public void tableRowsInserted(TableModelEvent e)
 o tableRowsRemoved
 public void tableRowsRemoved(TableModelEvent e)
 o treeCollapsed
 public void treeCollapsed(TreeExpansionEvent e)
 o treeExpanded
 public void treeExpanded(TreeExpansionEvent e)
 o treeNodesChanged
 public void treeNodesChanged(TreeModelEvent e)
 o treeNodesInserted
 public void treeNodesInserted(TreeModelEvent e)
 o treeNodesRemoved
 public void treeNodesRemoved(TreeModelEvent e)
 o treeStructureChanged
 public void treeStructureChanged(TreeModelEvent e)
 o valueChanged
 public void valueChanged(TreeSelectionEvent e)
 o undoableEditHappened
 public void undoableEditHappened(UndoableEditEvent e)
 o vetoableChange
 public void vetoableChange(PropertyChangeEvent e) throws PropertyVetoException

All Packages  Class Hierarchy  This Package  Previous  Next  Index