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.
-
AWTEventListener()
-
-
actionPerformed(ActionEvent)
-
-
adjustmentValueChanged(AdjustmentEvent)
-
-
componentAdded(ContainerEvent)
-
-
componentHidden(ComponentEvent)
-
-
componentMoved(ComponentEvent)
-
-
componentRemoved(ContainerEvent)
-
-
componentResized(ComponentEvent)
-
-
componentShown(ComponentEvent)
-
-
focusGained(FocusEvent)
-
-
focusLost(FocusEvent)
-
-
installListeners()
- Installs all appropriate listeners on all components based upon the
current topLevelWindows cached by EventQueueMonitor.
-
installListeners(Component)
- Installs all appropriate listeners to just the component.
-
installListeners(Component, int)
- Installs the given listener on the component and any of its children.
-
installListeners(int)
- Installs listeners for the given event ID on all components based
upon the current topLevelWindows cached by EventQueueMonitor.
-
itemStateChanged(ItemEvent)
-
-
keyPressed(KeyEvent)
-
-
keyReleased(KeyEvent)
-
-
keyTyped(KeyEvent)
-
-
mouseClicked(MouseEvent)
-
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
removeListeners(Component)
- Removes all listeners for the given component and all its children.
-
removeListeners(Component, int)
- Removes all listeners for the event ID from the component and all
of its children.
-
removeListeners(int)
- Removes all listeners for the given event ID on all components based
upon the topLevelWindows cached by EventQueueMonitor.
-
textValueChanged(TextEvent)
-
-
topLevelWindowCreated(Window)
-
-
topLevelWindowDestroyed(Window)
-
-
windowActivated(WindowEvent)
-
-
windowClosed(WindowEvent)
-
-
windowClosing(WindowEvent)
-
-
windowDeactivated(WindowEvent)
-
-
windowDeiconified(WindowEvent)
-
-
windowIconified(WindowEvent)
-
-
windowOpened(WindowEvent)
-
AWTEventListener
public AWTEventListener()
installListeners
protected void installListeners()
- Installs all appropriate listeners on all components based upon the
current topLevelWindows cached by EventQueueMonitor.
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
installListeners
protected void installListeners(Component c)
- Installs all appropriate listeners to just the component.
- Parameters:
- c - the component to add listeners to
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
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
removeListeners
protected void removeListeners(Component c)
- Removes all listeners for the given component and all its children.
- Parameters:
- c - the component
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
topLevelWindowCreated
public void topLevelWindowCreated(Window w)
topLevelWindowDestroyed
public void topLevelWindowDestroyed(Window w)
actionPerformed
public void actionPerformed(ActionEvent e)
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
componentHidden
public void componentHidden(ComponentEvent e)
componentMoved
public void componentMoved(ComponentEvent e)
componentResized
public void componentResized(ComponentEvent e)
componentShown
public void componentShown(ComponentEvent e)
componentAdded
public void componentAdded(ContainerEvent e)
componentRemoved
public void componentRemoved(ContainerEvent e)
focusGained
public void focusGained(FocusEvent e)
focusLost
public void focusLost(FocusEvent e)
itemStateChanged
public void itemStateChanged(ItemEvent e)
keyPressed
public void keyPressed(KeyEvent e)
keyReleased
public void keyReleased(KeyEvent e)
keyTyped
public void keyTyped(KeyEvent e)
mouseClicked
public void mouseClicked(MouseEvent e)
mouseEntered
public void mouseEntered(MouseEvent e)
mouseExited
public void mouseExited(MouseEvent e)
mousePressed
public void mousePressed(MouseEvent e)
mouseReleased
public void mouseReleased(MouseEvent e)
mouseDragged
public void mouseDragged(MouseEvent e)
mouseMoved
public void mouseMoved(MouseEvent e)
textValueChanged
public void textValueChanged(TextEvent e)
windowOpened
public void windowOpened(WindowEvent e)
windowClosing
public void windowClosing(WindowEvent e)
windowClosed
public void windowClosed(WindowEvent e)
windowIconified
public void windowIconified(WindowEvent e)
windowDeiconified
public void windowDeiconified(WindowEvent e)
windowActivated
public void windowActivated(WindowEvent e)
windowDeactivated
public void windowDeactivated(WindowEvent e)
All Packages Class Hierarchy This Package Previous Next Index