All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.accessibility.SwingEventMonitor
java.lang.Object
|
+----com.sun.java.accessibility.AWTEventMonitor
|
+----com.sun.java.accessibility.SwingEventMonitor
- public class SwingEventMonitor
- extends AWTEventMonitor
SwingEventMonitor extends AWTEventMonitor by adding a suite of
listeners conditionally installed on every Swing component. The events
captured by these listeners are then made available through a unified
set of listeners the SwingEventMonitor supports, thus funnelling all
the individual events on all Swing components within the VM 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.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.
NOTE: This is a preliminary draft. The methods and name may change
in future beta releases.
-
ancestorList
-
-
cellEditorListener
-
-
changeList
-
-
columnModelListener
-
-
documentListener
-
-
hasAncestorListeners
-
-
hasChangeListeners
-
-
hasMenuListeners
-
-
listDataListener
-
-
listSelectionListener
-
-
menuList
-
-
menuListener
-
-
propertyChangeListener
-
-
swingListener
-
-
tableModelListener
-
-
treeExpansionListener
-
-
treeModelListener
-
-
treeSelectionListener
-
-
undoableEditListener
-
-
vetoableChangeListener
-
-
SwingEventMonitor()
-
-
addAncestorListener(AncestorListener)
- Adds the specified listener to receive Ancestor events when they occur.
-
addCellEditorListener(CellEditorListener)
- Adds the specified listener to receive CellEditor events when they occur.
-
addChangeListener(ChangeListener)
- Adds the specified listener to receive Change events when they occur.
-
addColumnModelListener(TableColumnModelListener)
- Adds the specified listener to receive ColumnModel events when they
occur.
-
addDocumentListener(DocumentListener)
- Adds the specified listener to receive Document events when they occur.
-
addListDataListener(ListDataListener)
- Adds the specified listener to receive ListData events when they occur.
-
addListSelectionListener(ListSelectionListener)
- Adds the specified listener to receive ListSelection events when they
occur.
-
addMenuListener(MenuListener)
- Adds the specified listener to receive Menu events when they occur.
-
addPropertyChangeListener(PropertyChangeListener)
- Adds the specified listener to receive PropertyChange events when
they occur.
-
addTableModelListener(TableModelListener)
- Adds the specified listener to receive TableModel events when
they occur.
-
addTreeExpansionListener(TreeExpansionListener)
- Adds the specified listener to receive TreeExpansion events when they
occur.
-
addTreeModelListener(TreeModelListener)
- Adds the specified listener to receive TreeModel events when they occur.
-
addTreeSelectionListener(TreeSelectionListener)
- Adds the specified listener to receive TreeSelection events when they
occur.
-
addUndoableEditListener(UndoableEditListener)
- Adds the specified listener to receive UndoableEdit events when
they occur.
-
addVetoableChangeListener(VetoableChangeListener)
- Adds the specified listener to receive VetoableChange events when
they occur.
-
removeAncestorListener(AncestorListener)
- Removes the specified listener so it no longer receives Ancestor 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 ColumnModel
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.
-
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.
cellEditorListener
protected static CellEditorListener cellEditorListener
columnModelListener
protected static TableColumnModelListener columnModelListener
documentListener
protected static DocumentListener documentListener
listDataListener
protected static ListDataListener listDataListener
listSelectionListener
protected static ListSelectionListener listSelectionListener
menuListener
protected static MenuListener menuListener
propertyChangeListener
protected static PropertyChangeListener propertyChangeListener
tableModelListener
protected static TableModelListener tableModelListener
treeExpansionListener
protected static TreeExpansionListener treeExpansionListener
treeModelListener
protected static TreeModelListener treeModelListener
treeSelectionListener
protected static TreeSelectionListener treeSelectionListener
undoableEditListener
protected static UndoableEditListener undoableEditListener
vetoableChangeListener
protected static VetoableChangeListener vetoableChangeListener
ancestorList
protected static AncestorListenerList ancestorList
changeList
protected static ChangeListenerList changeList
menuList
protected static MenuListenerList menuList
hasAncestorListeners
protected static boolean hasAncestorListeners
hasChangeListeners
protected static boolean hasChangeListeners
hasMenuListeners
protected static boolean hasMenuListeners
swingListener
protected static SwingEventListener swingListener
SwingEventMonitor
public SwingEventMonitor()
addAncestorListener
public static void addAncestorListener(AncestorListener l)
- Adds the specified listener to receive Ancestor events when they occur.
- Parameters:
- l - the listener to add
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
addCellEditorListener
public static void addCellEditorListener(CellEditorListener l)
- Adds the specified listener to receive CellEditor events when they occur.
- Parameters:
- l - the listener to add
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
addChangeListener
public static void addChangeListener(ChangeListener l)
- Adds the specified listener to receive Change events when they occur.
- Parameters:
- l - the listener to add
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
addColumnModelListener
public static void addColumnModelListener(TableColumnModelListener l)
- Adds the specified listener to receive ColumnModel events when they
occur.
- Parameters:
- l - the listener to add
removeColumnModelListener
public static void removeColumnModelListener(TableColumnModelListener l)
- Removes the specified listener so it no longer receives ColumnModel
events when they occur.
- Parameters:
- l - the listener to remove
addDocumentListener
public static void addDocumentListener(DocumentListener l)
- Adds the specified listener to receive Document events when they occur.
- Parameters:
- l - the listener to add
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
addListDataListener
public static void addListDataListener(ListDataListener l)
- Adds the specified listener to receive ListData events when they occur.
- Parameters:
- l - the listener to add
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
addListSelectionListener
public static void addListSelectionListener(ListSelectionListener l)
- Adds the specified listener to receive ListSelection events when they
occur.
- Parameters:
- l - the listener to add
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
addMenuListener
public static void addMenuListener(MenuListener l)
- Adds the specified listener to receive Menu events when they occur.
- Parameters:
- l - the listener to add
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
addPropertyChangeListener
public static void addPropertyChangeListener(PropertyChangeListener l)
- Adds the specified listener to receive PropertyChange events when
they occur.
- Parameters:
- l - the listener to add
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
addTableModelListener
public static void addTableModelListener(TableModelListener l)
- Adds the specified listener to receive TableModel events when
they occur.
- Parameters:
- l - the listener to add
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
addTreeExpansionListener
public static void addTreeExpansionListener(TreeExpansionListener l)
- Adds the specified listener to receive TreeExpansion events when they
occur.
- Parameters:
- l - the listener to add
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
addTreeModelListener
public static void addTreeModelListener(TreeModelListener l)
- Adds the specified listener to receive TreeModel events when they occur.
- Parameters:
- l - the listener to add
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
addTreeSelectionListener
public static void addTreeSelectionListener(TreeSelectionListener l)
- Adds the specified listener to receive TreeSelection events when they
occur.
- Parameters:
- l - the listener to add
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
addUndoableEditListener
public static void addUndoableEditListener(UndoableEditListener l)
- Adds the specified listener to receive UndoableEdit events when
they occur.
- Parameters:
- l - the listener to add
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
addVetoableChangeListener
public static void addVetoableChangeListener(VetoableChangeListener l)
- Adds the specified listener to receive VetoableChange events when
they occur.
- Parameters:
- l - the listener to add
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
All Packages Class Hierarchy This Package Previous Next Index