All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.accessibility.util.SwingEventMonitor
java.lang.Object
|
+----com.sun.java.accessibility.util.AWTEventMonitor
|
+----com.sun.java.accessibility.util.SwingEventMonitor
- public class SwingEventMonitor
- extends AWTEventMonitor
SwingEventMonitor extends AWTEventMonitor by adding a suite of
listeners conditionally installed on every Swing component instance
in the Java Virtual Machine. The events captured by these listeners
are made available through a unified set of listeners supported by
SwingEventMonitor. With this, all the individual events on each of the
AWT and Swing component instances are funnelled into one set of listeners
broken down by category
(see EventID
for the categories).
This class depends upon EventQueueMonitor, which provides the base
level support for capturing the top-level containers as they are created
through the peering mechanism. In order for this to happen, the
EventQueueMonitor class needs to be in the CLASSPATH environment
variable and the following line needs to be in the awt.properties file:
AWT.EventQueueClass=com.sun.java.accessibility.util.EventQueueMonitor
NOTE: Because this class extends AWTEventMonitor, it is not
necessary to use this class and AWTEventMonitor at the same time.
If you want to monitor both AWT and Swing components, you should
use just this class.
- See Also:
- AWTEventMonitor
-
listenerList
- The master list of all listeners registered by other classes.
-
swingListener
- The actual listener that is installed on the component instances.
-
SwingEventMonitor()
-
-
addAncestorListener(AncestorListener)
- Adds the specified listener to receive all Ancestor events on each
component instance in the Java Virtual Machine as they occur.
-
addCaretListener(CaretListener)
- Adds the specified listener to receive all Caret events on each
component instance in the Java Virtual Machine as they occur.
-
addCellEditorListener(CellEditorListener)
- Adds the specified listener to receive all CellEditor events on each
component instance in the Java Virtual Machine as they occur.
-
addChangeListener(ChangeListener)
- Adds the specified listener to receive all Change events on each
component instance in the Java Virtual Machine as they occur.
-
addColumnModelListener(TableColumnModelListener)
- Adds the specified listener to receive all TableColumnModel events
on each component instance in the Java Virtual Machine as they occur.
-
addDocumentListener(DocumentListener)
- Adds the specified listener to receive all Document events
on each component instance in the Java Virtual Machine as they occur.
-
addListDataListener(ListDataListener)
- Adds the specified listener to receive all ListData events
on each component instance in the Java Virtual Machine as they occur.
-
addListSelectionListener(ListSelectionListener)
- Adds the specified listener to receive all ListSelection events
on each component instance in the Java Virtual Machine as they occur.
-
addMenuListener(MenuListener)
- Adds the specified listener to receive all Menu events on each
component instance in the Java Virtual Machine as they occur.
-
addPopupMenuListener(PopupMenuListener)
- Adds the specified listener to receive all PopupMenu events on each
component instance in the Java Virtual Machine as they occur.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds the specified listener to receive all PropertyChange events on each
component instance in the Java Virtual Machine as they occur.
-
addTableModelListener(TableModelListener)
- Adds the specified listener to receive all TableModel events on each
component instance in the Java Virtual Machine as they occur.
-
addTreeExpansionListener(TreeExpansionListener)
- Adds the specified listener to receive all TreeExpansion events on each
component instance in the Java Virtual Machine as they occur.
-
addTreeModelListener(TreeModelListener)
- Adds the specified listener to receive all TreeModel events on each
component instance in the Java Virtual Machine as they occur.
-
addTreeSelectionListener(TreeSelectionListener)
- Adds the specified listener to receive all TreeSelection events on each
component instance in the Java Virtual Machine as they occur.
-
addUndoableEditListener(UndoableEditListener)
- Adds the specified listener to receive all UndoableEdit events on each
component instance in the Java Virtual Machine as they occur.
-
addVetoableChangeListener(VetoableChangeListener)
- Adds the specified listener to receive all VetoableChange events on each
component instance in the Java Virtual Machine as they occur.
-
removeAncestorListener(AncestorListener)
- Removes the specified listener so it no longer receives Ancestor events
when they occur.
-
removeCaretListener(CaretListener)
- Removes the specified listener so it no longer receives Caret events
when they occur.
-
removeCellEditorListener(CellEditorListener)
- Removes the specified listener so it no longer receives CellEditor
events when they occur.
-
removeChangeListener(ChangeListener)
- Removes the specified listener so it no longer receives Change events
when they occur.
-
removeColumnModelListener(TableColumnModelListener)
- Removes the specified listener so it no longer receives TableColumnModel
events when they occur.
-
removeDocumentListener(DocumentListener)
- Removes the specified listener so it no longer receives Document events
when they occur.
-
removeListDataListener(ListDataListener)
- Removes the specified listener so it no longer receives ListData events
when they occur.
-
removeListSelectionListener(ListSelectionListener)
- Removes the specified listener so it no longer receives ListSelection
events when they occur.
-
removeMenuListener(MenuListener)
- Removes the specified listener so it no longer receives Menu events
when they occur.
-
removePopupMenuListener(PopupMenuListener)
- Removes the specified listener so it no longer receives
PopupMenu events when they occur.
-
removePropertyChangeListener(PropertyChangeListener)
- Removes the specified listener so it no longer receives
PropertyChange events when they occur.
-
removeTableModelListener(TableModelListener)
- Removes the specified listener so it no longer receives
TableModel events when they occur.
-
removeTreeExpansionListener(TreeExpansionListener)
- Removes the specified listener so it no longer receives TreeExpansion
events when they occur.
-
removeTreeModelListener(TreeModelListener)
- Removes the specified listener so it no longer receives TreeModel events
when they occur.
-
removeTreeSelectionListener(TreeSelectionListener)
- Removes the specified listener so it no longer receives TreeSelection
events when they occur.
-
removeUndoableEditListener(UndoableEditListener)
- Removes the specified listener so it no longer receives
UndoableEdit events when they occur.
-
removeVetoableChangeListener(VetoableChangeListener)
- Removes the specified listener so it no longer receives
VetoableChange events when they occur.
listenerList
protected static EventListenerList listenerList
- The master list of all listeners registered by other classes.
This can only be publicly modified by calling the add or
remove listener methods in this class.
swingListener
protected static SwingEventListener swingListener
- The actual listener that is installed on the component instances.
This listener calls the other registered listeners when an event
occurs. By doing things this way, the actual number of listeners
installed on a component instance is drastically reduced.
SwingEventMonitor
public SwingEventMonitor()
addAncestorListener
public static void addAncestorListener(AncestorListener l)
- Adds the specified listener to receive all Ancestor events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeAncestorListener
removeAncestorListener
public static void removeAncestorListener(AncestorListener l)
- Removes the specified listener so it no longer receives Ancestor events
when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addAncestorListener
addCaretListener
public static void addCaretListener(CaretListener l)
- Adds the specified listener to receive all Caret events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeCaretListener
removeCaretListener
public static void removeCaretListener(CaretListener l)
- Removes the specified listener so it no longer receives Caret events
when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addCaretListener
addCellEditorListener
public static void addCellEditorListener(CellEditorListener l)
- Adds the specified listener to receive all CellEditor events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeCellEditorListener
removeCellEditorListener
public static void removeCellEditorListener(CellEditorListener l)
- Removes the specified listener so it no longer receives CellEditor
events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addCellEditorListener
addChangeListener
public static void addChangeListener(ChangeListener l)
- Adds the specified listener to receive all Change events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeChangeListener
removeChangeListener
public static void removeChangeListener(ChangeListener l)
- Removes the specified listener so it no longer receives Change events
when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addChangeListener
addColumnModelListener
public static void addColumnModelListener(TableColumnModelListener l)
- Adds the specified listener to receive all TableColumnModel events
on each component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeColumnModelListener
removeColumnModelListener
public static void removeColumnModelListener(TableColumnModelListener l)
- Removes the specified listener so it no longer receives TableColumnModel
events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addColumnModelListener
addDocumentListener
public static void addDocumentListener(DocumentListener l)
- Adds the specified listener to receive all Document events
on each component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeDocumentListener
removeDocumentListener
public static void removeDocumentListener(DocumentListener l)
- Removes the specified listener so it no longer receives Document events
when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addDocumentListener
addListDataListener
public static void addListDataListener(ListDataListener l)
- Adds the specified listener to receive all ListData events
on each component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeListDataListener
removeListDataListener
public static void removeListDataListener(ListDataListener l)
- Removes the specified listener so it no longer receives ListData events
when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addListDataListener
addListSelectionListener
public static void addListSelectionListener(ListSelectionListener l)
- Adds the specified listener to receive all ListSelection events
on each component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeListSelectionListener
removeListSelectionListener
public static void removeListSelectionListener(ListSelectionListener l)
- Removes the specified listener so it no longer receives ListSelection
events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addListSelectionListener
addMenuListener
public static void addMenuListener(MenuListener l)
- Adds the specified listener to receive all Menu events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeMenuListener
removeMenuListener
public static void removeMenuListener(MenuListener l)
- Removes the specified listener so it no longer receives Menu events
when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addMenuListener
addPopupMenuListener
public static void addPopupMenuListener(PopupMenuListener l)
- Adds the specified listener to receive all PopupMenu events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removePopupMenuListener
removePopupMenuListener
public static void removePopupMenuListener(PopupMenuListener l)
- Removes the specified listener so it no longer receives
PopupMenu events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addPopupMenuListener
addTableModelListener
public static void addTableModelListener(TableModelListener l)
- Adds the specified listener to receive all TableModel events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeTableModelListener
removeTableModelListener
public static void removeTableModelListener(TableModelListener l)
- Removes the specified listener so it no longer receives
TableModel events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addTableModelListener
addTreeExpansionListener
public static void addTreeExpansionListener(TreeExpansionListener l)
- Adds the specified listener to receive all TreeExpansion events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeTreeExpansionListener
removeTreeExpansionListener
public static void removeTreeExpansionListener(TreeExpansionListener l)
- Removes the specified listener so it no longer receives TreeExpansion
events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addTreeExpansionListener
addTreeModelListener
public static void addTreeModelListener(TreeModelListener l)
- Adds the specified listener to receive all TreeModel events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeTreeModelListener
removeTreeModelListener
public static void removeTreeModelListener(TreeModelListener l)
- Removes the specified listener so it no longer receives TreeModel events
when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addTreeModelListener
addTreeSelectionListener
public static void addTreeSelectionListener(TreeSelectionListener l)
- Adds the specified listener to receive all TreeSelection events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeTreeSelectionListener
removeTreeSelectionListener
public static void removeTreeSelectionListener(TreeSelectionListener l)
- Removes the specified listener so it no longer receives TreeSelection
events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addTreeSelectionListener
addUndoableEditListener
public static void addUndoableEditListener(UndoableEditListener l)
- Adds the specified listener to receive all UndoableEdit events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeUndoableEditListener
removeUndoableEditListener
public static void removeUndoableEditListener(UndoableEditListener l)
- Removes the specified listener so it no longer receives
UndoableEdit events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addUndoableEditListener
addPropertyChangeListener
public static void addPropertyChangeListener(PropertyChangeListener l)
- Adds the specified listener to receive all PropertyChange events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removePropertyChangeListener
removePropertyChangeListener
public static void removePropertyChangeListener(PropertyChangeListener l)
- Removes the specified listener so it no longer receives
PropertyChange events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addPropertyChangeListener
addVetoableChangeListener
public static void addVetoableChangeListener(VetoableChangeListener l)
- Adds the specified listener to receive all VetoableChange events on each
component instance in the Java Virtual Machine as they occur.
Note: this listener is automatically added to all component
instances created after this method is called. In addition, it
is only added to component instances that support this listener type.
- Parameters:
- l - the listener to add
- See Also:
- removeVetoableChangeListener
removeVetoableChangeListener
public static void removeVetoableChangeListener(VetoableChangeListener l)
- Removes the specified listener so it no longer receives
VetoableChange events when they occur.
- Parameters:
- l - the listener to remove
- See Also:
- addVetoableChangeListener
All Packages Class Hierarchy This Package Previous Next Index