All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.accessibility.AWTEventListener

java.lang.Object
   |
   +----com.sun.java.accessibility.AWTEventListener

public class AWTEventListener
extends Object
implements TopLevelWindowListener, ActionListener, AdjustmentListener, ComponentListener, ContainerListener, FocusListener, ItemListener, KeyListener, MouseListener, MouseMotionListener, TextListener, WindowListener
AWTEventListener is the class that does all the work for AWTEventMonitor. It is not intended for use by any other class except AWTEventMonitor.

NOTE: This is a preliminary draft. The methods and name may change in future beta releases.


Constructor Index

 o AWTEventListener()

Method Index

 o actionPerformed(ActionEvent)
 o adjustmentValueChanged(AdjustmentEvent)
 o componentAdded(ContainerEvent)
 o componentHidden(ComponentEvent)
 o componentMoved(ComponentEvent)
 o componentRemoved(ContainerEvent)
 o componentResized(ComponentEvent)
 o componentShown(ComponentEvent)
 o focusGained(FocusEvent)
 o focusLost(FocusEvent)
 o installListeners()
Installs all appropriate listeners on all components based upon the current topLevelWindows cached by EventQueueMonitor.
 o installListeners(Component)
Installs all appropriate listeners to just the component.
 o installListeners(Component, int)
Installs the given listener on the component and any of its children.
 o installListeners(int)
Installs listeners for the given event ID on all components based upon the current topLevelWindows cached by EventQueueMonitor.
 o itemStateChanged(ItemEvent)
 o keyPressed(KeyEvent)
 o keyReleased(KeyEvent)
 o keyTyped(KeyEvent)
 o mouseClicked(MouseEvent)
 o mouseDragged(MouseEvent)
 o mouseEntered(MouseEvent)
 o mouseExited(MouseEvent)
 o mouseMoved(MouseEvent)
 o mousePressed(MouseEvent)
 o mouseReleased(MouseEvent)
 o removeListeners(Component)
Removes all listeners for the given component and all its children.
 o removeListeners(Component, int)
Removes all listeners for the event ID from the component and all of its children.
 o removeListeners(int)
Removes all listeners for the given event ID on all components based upon the topLevelWindows cached by EventQueueMonitor.
 o textValueChanged(TextEvent)
 o topLevelWindowCreated(Window)
 o topLevelWindowDestroyed(Window)
 o windowActivated(WindowEvent)
 o windowClosed(WindowEvent)
 o windowClosing(WindowEvent)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
 o windowIconified(WindowEvent)
 o windowOpened(WindowEvent)

Constructors

 o AWTEventListener
 public AWTEventListener()

Methods

 o installListeners
 protected void installListeners()
Installs all appropriate listeners on all components based upon the current topLevelWindows cached by EventQueueMonitor.

 o installListeners
 protected void installListeners(int eventID)
Installs listeners for the given event ID on all components based upon the current topLevelWindows cached by EventQueueMonitor.

Parameters:
eventID - the event ID
 o installListeners
 protected void installListeners(Component c)
Installs all appropriate listeners to just the component.

Parameters:
c - the component to add listeners to
 o installListeners
 protected void installListeners(Component c,
                                 int eventID)
Installs the given listener on the component and any of 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
 o removeListeners
 protected void removeListeners(int eventID)
Removes all listeners for the given event ID on all components based upon the topLevelWindows cached by EventQueueMonitor.

Parameters:
eventID - the event ID
 o removeListeners
 protected void removeListeners(Component c)
Removes all listeners for the given component and all its children.

Parameters:
c - the component
 o removeListeners
 protected void removeListeners(Component c,
                                int eventID)
Removes all listeners for the event ID from the component and all of its children.

Parameters:
c - the component to remove listeners from
 o topLevelWindowCreated
 public void topLevelWindowCreated(Window w)
 o topLevelWindowDestroyed
 public void topLevelWindowDestroyed(Window w)
 o actionPerformed
 public void actionPerformed(ActionEvent e)
 o adjustmentValueChanged
 public void adjustmentValueChanged(AdjustmentEvent e)
 o componentHidden
 public void componentHidden(ComponentEvent e)
 o componentMoved
 public void componentMoved(ComponentEvent e)
 o componentResized
 public void componentResized(ComponentEvent e)
 o componentShown
 public void componentShown(ComponentEvent e)
 o componentAdded
 public void componentAdded(ContainerEvent e)
 o componentRemoved
 public void componentRemoved(ContainerEvent e)
 o focusGained
 public void focusGained(FocusEvent e)
 o focusLost
 public void focusLost(FocusEvent e)
 o itemStateChanged
 public void itemStateChanged(ItemEvent e)
 o keyPressed
 public void keyPressed(KeyEvent e)
 o keyReleased
 public void keyReleased(KeyEvent e)
 o keyTyped
 public void keyTyped(KeyEvent e)
 o mouseClicked
 public void mouseClicked(MouseEvent e)
 o mouseEntered
 public void mouseEntered(MouseEvent e)
 o mouseExited
 public void mouseExited(MouseEvent e)
 o mousePressed
 public void mousePressed(MouseEvent e)
 o mouseReleased
 public void mouseReleased(MouseEvent e)
 o mouseDragged
 public void mouseDragged(MouseEvent e)
 o mouseMoved
 public void mouseMoved(MouseEvent e)
 o textValueChanged
 public void textValueChanged(TextEvent e)
 o windowOpened
 public void windowOpened(WindowEvent e)
 o windowClosing
 public void windowClosing(WindowEvent e)
 o windowClosed
 public void windowClosed(WindowEvent e)
 o windowIconified
 public void windowIconified(WindowEvent e)
 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
 o windowActivated
 public void windowActivated(WindowEvent e)
 o windowDeactivated
 public void windowDeactivated(WindowEvent e)

All Packages  Class Hierarchy  This Package  Previous  Next  Index