API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. AWTEventMulticaster View Source
Author(s)
John Rose
Amy Fowler
Since
1.1
Version
1.41, 08/16/06
Serial
Hierarchy
 Object
      AWTEventMulticaster
Implements
 ComponentListener
 ContainerListener
 FocusListener
 KeyListener
 MouseListener
 MouseMotionListener
 WindowListener
 WindowFocusListener
 WindowStateListener
 ActionListener
 ItemListener
 AdjustmentListener
 TextListener
 InputMethodListener
 HierarchyListener
 HierarchyBoundsListener
 MouseWheelListener
Subclasses
Description
public class AWTEventMulticaster
  AWTEventMulticaster implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the java.awt.event package.
See also:    EventListenerList
Constructors
protected AWTEventMulticaster (EventListener a, EventListener b)
  Creates an event multicaster instance which chains listener-a with listener-b.
Methods
Hide/Show inherited methods
public void actionPerformed (ActionEvent e) [Specified in ActionListener]
  Handles the actionPerformed event by invoking the actionPerformed methods on listener-a and listener-b.
publicstatic ActionListener add (ActionListener a, ActionListener b)
  Adds action-listener-a with action-listener-b and returns the resulting multicast listener.
publicstatic AdjustmentListener add (AdjustmentListener a, AdjustmentListener b)
  Adds adjustment-listener-a with adjustment-listener-b and returns the resulting multicast listener.
publicstatic ComponentListener add (ComponentListener a, ComponentListener b)
  Adds component-listener-a with component-listener-b and returns the resulting multicast listener.
publicstatic ContainerListener add (ContainerListener a, ContainerListener b)
  Adds container-listener-a with container-listener-b and returns the resulting multicast listener.
publicstatic FocusListener add (FocusListener a, FocusListener b)
  Adds focus-listener-a with focus-listener-b and returns the resulting multicast listener.
publicstatic HierarchyBoundsListener add (HierarchyBoundsListener a, HierarchyBoundsListener b)
  Adds hierarchy-bounds-listener-a with hierarchy-bounds-listener-b and returns the resulting multicast listener.
publicstatic HierarchyListener add (HierarchyListener a, HierarchyListener b)
  Adds hierarchy-listener-a with hierarchy-listener-b and returns the resulting multicast listener.
publicstatic InputMethodListener add (InputMethodListener a, InputMethodListener b)
  Adds input-method-listener-a with input-method-listener-b and returns the resulting multicast listener.
publicstatic ItemListener add (ItemListener a, ItemListener b)
  Adds item-listener-a with item-listener-b and returns the resulting multicast listener.
publicstatic KeyListener add (KeyListener a, KeyListener b)
  Adds key-listener-a with key-listener-b and returns the resulting multicast listener.
publicstatic MouseListener add (MouseListener a, MouseListener b)
  Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.
publicstatic MouseMotionListener add (MouseMotionListener a, MouseMotionListener b)
  Adds mouse-motion-listener-a with mouse-motion-listener-b and returns the resulting multicast listener.
publicstatic MouseWheelListener add (MouseWheelListener a, MouseWheelListener b)
  Adds mouse-wheel-listener-a with mouse-wheel-listener-b and returns the resulting multicast listener.
publicstatic TextListener add (TextListener a, TextListener b)
publicstatic WindowFocusListener add (WindowFocusListener a, WindowFocusListener b)
  Adds window-focus-listener-a with window-focus-listener-b and returns the resulting multicast listener.
publicstatic WindowListener add (WindowListener a, WindowListener b)
  Adds window-listener-a with window-listener-b and returns the resulting multicast listener.
publicstatic WindowStateListener add (WindowStateListener a, WindowStateListener b)
  Adds window-state-listener-a with window-state-listener-b and returns the resulting multicast listener.
protectedstatic EventListener addInternal (EventListener a, EventListener b)
  Returns the resulting multicast listener from adding listener-a and listener-b together.
public void adjustmentValueChanged (AdjustmentEvent e) [Specified in AdjustmentListener]
  Handles the adjustmentValueChanged event by invoking the adjustmentValueChanged methods on listener-a and listener-b.
public void ancestorMoved (HierarchyEvent e) [Specified in HierarchyBoundsListener]
  Handles the ancestorMoved event by invoking the ancestorMoved methods on listener-a and listener-b.
public void ancestorResized (HierarchyEvent e) [Specified in HierarchyBoundsListener]
  Handles the ancestorResized event by invoking the ancestorResized methods on listener-a and listener-b.
public void caretPositionChanged (InputMethodEvent e) [Specified in InputMethodListener]
  Handles the caretPositionChanged event by invoking the caretPositionChanged methods on listener-a and listener-b.
public void componentAdded (ContainerEvent e) [Specified in ContainerListener]
  Handles the componentAdded container event by invoking the componentAdded methods on listener-a and listener-b.
public void componentHidden (ComponentEvent e) [Specified in ComponentListener]
  Handles the componentHidden event by invoking the componentHidden methods on listener-a and listener-b.
public void componentMoved (ComponentEvent e) [Specified in ComponentListener]
  Handles the componentMoved event by invoking the componentMoved methods on listener-a and listener-b.
public void componentRemoved (ContainerEvent e) [Specified in ContainerListener]
  Handles the componentRemoved container event by invoking the componentRemoved methods on listener-a and listener-b.
public void componentResized (ComponentEvent e) [Specified in ComponentListener]
  Handles the componentResized event by invoking the componentResized methods on listener-a and listener-b.
public void componentShown (ComponentEvent e) [Specified in ComponentListener]
  Handles the componentShown event by invoking the componentShown methods on listener-a and listener-b.
public void focusGained (FocusEvent e) [Specified in FocusListener]
  Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.
public void focusLost (FocusEvent e) [Specified in FocusListener]
  Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.
publicstatic T getListeners (EventListener l, Class< T> listenerType)
  Returns an array of all the objects chained as FooListeners by the specified java.util.EventListener.
public void hierarchyChanged (HierarchyEvent e) [Specified in HierarchyListener]
  Handles the hierarchyChanged event by invoking the hierarchyChanged methods on listener-a and listener-b.
public void inputMethodTextChanged (InputMethodEvent e) [Specified in InputMethodListener]
  Handles the inputMethodTextChanged event by invoking the inputMethodTextChanged methods on listener-a and listener-b.
public void itemStateChanged (ItemEvent e) [Specified in ItemListener]
  Handles the itemStateChanged event by invoking the itemStateChanged methods on listener-a and listener-b.
public void keyPressed (KeyEvent e) [Specified in KeyListener]
  Handles the keyPressed event by invoking the keyPressed methods on listener-a and listener-b.
public void keyReleased (KeyEvent e) [Specified in KeyListener]
  Handles the keyReleased event by invoking the keyReleased methods on listener-a and listener-b.
public void keyTyped (KeyEvent e) [Specified in KeyListener]
  Handles the keyTyped event by invoking the keyTyped methods on listener-a and listener-b.
public void mouseClicked (MouseEvent e) [Specified in MouseListener]
  Handles the mouseClicked event by invoking the mouseClicked methods on listener-a and listener-b.
public void mouseDragged (MouseEvent e) [Specified in MouseMotionListener]
  Handles the mouseDragged event by invoking the mouseDragged methods on listener-a and listener-b.
public void mouseEntered (MouseEvent e) [Specified in MouseListener]
  Handles the mouseEntered event by invoking the mouseEntered methods on listener-a and listener-b.
public void mouseExited (MouseEvent e) [Specified in MouseListener]
  Handles the mouseExited event by invoking the mouseExited methods on listener-a and listener-b.
public void mouseMoved (MouseEvent e) [Specified in MouseMotionListener]
  Handles the mouseMoved event by invoking the mouseMoved methods on listener-a and listener-b.
public void mousePressed (MouseEvent e) [Specified in MouseListener]
  Handles the mousePressed event by invoking the mousePressed methods on listener-a and listener-b.
public void mouseReleased (MouseEvent e) [Specified in MouseListener]
  Handles the mouseReleased event by invoking the mouseReleased methods on listener-a and listener-b.
public void mouseWheelMoved (MouseWheelEvent e) [Specified in MouseWheelListener]
  Handles the mouseWheelMoved event by invoking the mouseWheelMoved methods on listener-a and listener-b.
publicstatic ActionListener remove (ActionListener l, ActionListener oldl)
  Removes the old action-listener from action-listener-l and returns the resulting multicast listener.
publicstatic AdjustmentListener remove (AdjustmentListener l, AdjustmentListener oldl)
  Removes the old adjustment-listener from adjustment-listener-l and returns the resulting multicast listener.
publicstatic ComponentListener remove (ComponentListener l, ComponentListener oldl)
  Removes the old component-listener from component-listener-l and returns the resulting multicast listener.
publicstatic ContainerListener remove (ContainerListener l, ContainerListener oldl)
  Removes the old container-listener from container-listener-l and returns the resulting multicast listener.
protected EventListener remove (EventListener oldl)
  Removes a listener from this multicaster.
publicstatic FocusListener remove (FocusListener l, FocusListener oldl)
  Removes the old focus-listener from focus-listener-l and returns the resulting multicast listener.
publicstatic HierarchyBoundsListener remove (HierarchyBoundsListener l, HierarchyBoundsListener oldl)
  Removes the old hierarchy-bounds-listener from hierarchy-bounds-listener-l and returns the resulting multicast listener.
publicstatic HierarchyListener remove (HierarchyListener l, HierarchyListener oldl)
  Removes the old hierarchy-listener from hierarchy-listener-l and returns the resulting multicast listener.
publicstatic InputMethodListener remove (InputMethodListener l, InputMethodListener oldl)
  Removes the old input-method-listener from input-method-listener-l and returns the resulting multicast listener.
publicstatic ItemListener remove (ItemListener l, ItemListener oldl)
  Removes the old item-listener from item-listener-l and returns the resulting multicast listener.
publicstatic KeyListener remove (KeyListener l, KeyListener oldl)
  Removes the old key-listener from key-listener-l and returns the resulting multicast listener.
publicstatic MouseListener remove (MouseListener l, MouseListener oldl)
  Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.
publicstatic MouseMotionListener remove (MouseMotionListener l, MouseMotionListener oldl)
  Removes the old mouse-motion-listener from mouse-motion-listener-l and returns the resulting multicast listener.
publicstatic MouseWheelListener remove (MouseWheelListener l, MouseWheelListener oldl)
  Removes the old mouse-wheel-listener from mouse-wheel-listener-l and returns the resulting multicast listener.
publicstatic TextListener remove (TextListener l, TextListener oldl)
publicstatic WindowFocusListener remove (WindowFocusListener l, WindowFocusListener oldl)
  Removes the old window-focus-listener from window-focus-listener-l and returns the resulting multicast listener.
publicstatic WindowListener remove (WindowListener l, WindowListener oldl)
  Removes the old window-listener from window-listener-l and returns the resulting multicast listener.
publicstatic WindowStateListener remove (WindowStateListener l, WindowStateListener oldl)
  Removes the old window-state-listener from window-state-listener-l and returns the resulting multicast listener.
protectedstatic EventListener removeInternal (EventListener l, EventListener oldl)
  Returns the resulting multicast listener after removing the old listener from listener-l.
protectedstatic void save (ObjectOutputStream s, String k, EventListener l) throws IOException
protected void saveInternal (ObjectOutputStream s, String k) throws IOException
public void textValueChanged (TextEvent e) [Specified in TextListener]
public void windowActivated (WindowEvent e) [Specified in WindowListener]
  Handles the windowActivated event by invoking the windowActivated methods on listener-a and listener-b.
public void windowClosed (WindowEvent e) [Specified in WindowListener]
  Handles the windowClosed event by invoking the windowClosed methods on listener-a and listener-b.
public void windowClosing (WindowEvent e) [Specified in WindowListener]
  Handles the windowClosing event by invoking the windowClosing methods on listener-a and listener-b.
public void windowDeactivated (WindowEvent e) [Specified in WindowListener]
  Handles the windowDeactivated event by invoking the windowDeactivated methods on listener-a and listener-b.
public void windowDeiconified (WindowEvent e) [Specified in WindowListener]
  Handles the windowDeiconfied event by invoking the windowDeiconified methods on listener-a and listener-b.
public void windowGainedFocus (WindowEvent e) [Specified in WindowFocusListener]
  Handles the windowGainedFocus event by invoking the windowGainedFocus methods on listener-a and listener-b.
public void windowIconified (WindowEvent e) [Specified in WindowListener]
  Handles the windowIconified event by invoking the windowIconified methods on listener-a and listener-b.
public void windowLostFocus (WindowEvent e) [Specified in WindowFocusListener]
  Handles the windowLostFocus event by invoking the windowLostFocus methods on listener-a and listener-b.
public void windowOpened (WindowEvent e) [Specified in WindowListener]
  Handles the windowOpened event by invoking the windowOpened methods on listener-a and listener-b.
public void windowStateChanged (WindowEvent e) [Specified in WindowStateListener]
  Handles the windowStateChanged event by invoking the windowStateChanged methods on listener-a and listener-b.
Fields
Hide/Show inherited fields
protectedfinal EventListener a
protectedfinal EventListener b
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar