java.awt
Class AWTEventMulticaster

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.AWTEventMulticaster
All Implemented Interfaces:
ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener , AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener , ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener , ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener , FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener , HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener , HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener , InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener , ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener , KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener , MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener , MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener , MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener , TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener , WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener , WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener , WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener , EventListener sample code for java.util.EventListener definition code for java.util.EventListener

public class AWTEventMulticaster
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener , ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener , FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener , KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener , MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener , MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener , WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener , WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener , WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener , ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener , ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener , AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener , TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener , InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener , HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener , HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener , MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener

A class which implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the java.awt.event package. This class will manage an immutable structure consisting of a chain of event listeners and will dispatch events to those listeners. Because the structure is immutable, it is safe to use this API to add/remove listeners during the process of an event dispatch operation. However, event listeners added during the process of an event dispatch operation will not be notified of the event currently being dispatched. An example of how this class could be used to implement a new component which fires "action" events:


 public myComponent extends Component {
     ActionListener actionListener = null;

     public synchronized void addActionListener(ActionListener l) {
           actionListener = AWTEventMulticaster.add(actionListener, l);
     }
     public synchronized void removeActionListener(ActionListener l) {
           actionListener = AWTEventMulticaster.remove(actionListener, l);
     }
     public void processEvent(AWTEvent e) {
         // when event occurs which causes "action" semantic
         ActionListener listener = actionListener;
         if (listener != null) {
             listener.actionPerformed(new ActionEvent());
         }
     }
 }
 

Since:
1.1

Field Summary
protected  EventListener sample code for java.util.EventListener definition code for java.util.EventListener a sample code for java.awt.AWTEventMulticaster.a definition code for java.awt.AWTEventMulticaster.a
           
protected  EventListener sample code for java.util.EventListener definition code for java.util.EventListener b sample code for java.awt.AWTEventMulticaster.b definition code for java.awt.AWTEventMulticaster.b
           
 
Constructor Summary
protected AWTEventMulticaster sample code for java.awt.AWTEventMulticaster.AWTEventMulticaster(java.util.EventListener, java.util.EventListener) definition code for java.awt.AWTEventMulticaster.AWTEventMulticaster(java.util.EventListener, java.util.EventListener) (EventListener sample code for java.util.EventListener definition code for java.util.EventListener  a, EventListener sample code for java.util.EventListener definition code for java.util.EventListener  b)
          Creates an event multicaster instance which chains listener-a with listener-b.
 
Method Summary
 void actionPerformed sample code for java.awt.AWTEventMulticaster.actionPerformed(java.awt.event.ActionEvent) definition code for java.awt.AWTEventMulticaster.actionPerformed(java.awt.event.ActionEvent) (ActionEvent sample code for java.awt.event.ActionEvent definition code for java.awt.event.ActionEvent  e)
          Handles the actionPerformed event by invoking the actionPerformed methods on listener-a and listener-b.
static ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ActionListener, java.awt.event.ActionListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ActionListener, java.awt.event.ActionListener) (ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  a, ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  b)
          Adds action-listener-a with action-listener-b and returns the resulting multicast listener.
static AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener) (AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  a, AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  b)
          Adds adjustment-listener-a with adjustment-listener-b and returns the resulting multicast listener.
static ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ComponentListener, java.awt.event.ComponentListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ComponentListener, java.awt.event.ComponentListener) (ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  a, ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  b)
          Adds component-listener-a with component-listener-b and returns the resulting multicast listener.
static ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ContainerListener, java.awt.event.ContainerListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ContainerListener, java.awt.event.ContainerListener) (ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  a, ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  b)
          Adds container-listener-a with container-listener-b and returns the resulting multicast listener.
static FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.FocusListener, java.awt.event.FocusListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.FocusListener, java.awt.event.FocusListener) (FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  a, FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  b)
          Adds focus-listener-a with focus-listener-b and returns the resulting multicast listener.
static HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener) (HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  a, HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  b)
          Adds hierarchy-bounds-listener-a with hierarchy-bounds-listener-b and returns the resulting multicast listener.
static HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener) (HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  a, HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  b)
          Adds hierarchy-listener-a with hierarchy-listener-b and returns the resulting multicast listener.
static InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener) (InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  a, InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  b)
          Adds input-method-listener-a with input-method-listener-b and returns the resulting multicast listener.
static ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ItemListener, java.awt.event.ItemListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ItemListener, java.awt.event.ItemListener) (ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  a, ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  b)
          Adds item-listener-a with item-listener-b and returns the resulting multicast listener.
static KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.KeyListener, java.awt.event.KeyListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.KeyListener, java.awt.event.KeyListener) (KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  a, KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  b)
          Adds key-listener-a with key-listener-b and returns the resulting multicast listener.
static MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseListener, java.awt.event.MouseListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseListener, java.awt.event.MouseListener) (MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  a, MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  b)
          Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.
static MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener) (MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  a, MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  b)
          Adds mouse-motion-listener-a with mouse-motion-listener-b and returns the resulting multicast listener.
static MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener) (MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  a, MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  b)
          Adds mouse-wheel-listener-a with mouse-wheel-listener-b and returns the resulting multicast listener.
static TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.TextListener, java.awt.event.TextListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.TextListener, java.awt.event.TextListener) (TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  a, TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  b)
           
static WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener) (WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  a, WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  b)
          Adds window-focus-listener-a with window-focus-listener-b and returns the resulting multicast listener.
static WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowListener, java.awt.event.WindowListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowListener, java.awt.event.WindowListener) (WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  a, WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  b)
          Adds window-listener-a with window-listener-b and returns the resulting multicast listener.
static WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener) (WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  a, WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  b)
          Adds window-state-listener-a with window-state-listener-b and returns the resulting multicast listener.
protected static EventListener sample code for java.util.EventListener definition code for java.util.EventListener addInternal sample code for java.awt.AWTEventMulticaster.addInternal(java.util.EventListener, java.util.EventListener) definition code for java.awt.AWTEventMulticaster.addInternal(java.util.EventListener, java.util.EventListener) (EventListener sample code for java.util.EventListener definition code for java.util.EventListener  a, EventListener sample code for java.util.EventListener definition code for java.util.EventListener  b)
          Returns the resulting multicast listener from adding listener-a and listener-b together.
 void adjustmentValueChanged sample code for java.awt.AWTEventMulticaster.adjustmentValueChanged(java.awt.event.AdjustmentEvent) definition code for java.awt.AWTEventMulticaster.adjustmentValueChanged(java.awt.event.AdjustmentEvent) (AdjustmentEvent sample code for java.awt.event.AdjustmentEvent definition code for java.awt.event.AdjustmentEvent  e)
          Handles the adjustmentValueChanged event by invoking the adjustmentValueChanged methods on listener-a and listener-b.
 void ancestorMoved sample code for java.awt.AWTEventMulticaster.ancestorMoved(java.awt.event.HierarchyEvent) definition code for java.awt.AWTEventMulticaster.ancestorMoved(java.awt.event.HierarchyEvent) (HierarchyEvent sample code for java.awt.event.HierarchyEvent definition code for java.awt.event.HierarchyEvent  e)
          Handles the ancestorMoved event by invoking the ancestorMoved methods on listener-a and listener-b.
 void ancestorResized sample code for java.awt.AWTEventMulticaster.ancestorResized(java.awt.event.HierarchyEvent) definition code for java.awt.AWTEventMulticaster.ancestorResized(java.awt.event.HierarchyEvent) (HierarchyEvent sample code for java.awt.event.HierarchyEvent definition code for java.awt.event.HierarchyEvent  e)
          Handles the ancestorResized event by invoking the ancestorResized methods on listener-a and listener-b.
 void caretPositionChanged sample code for java.awt.AWTEventMulticaster.caretPositionChanged(java.awt.event.InputMethodEvent) definition code for java.awt.AWTEventMulticaster.caretPositionChanged(java.awt.event.InputMethodEvent) (InputMethodEvent sample code for java.awt.event.InputMethodEvent definition code for java.awt.event.InputMethodEvent  e)
          Handles the caretPositionChanged event by invoking the caretPositionChanged methods on listener-a and listener-b.
 void componentAdded sample code for java.awt.AWTEventMulticaster.componentAdded(java.awt.event.ContainerEvent) definition code for java.awt.AWTEventMulticaster.componentAdded(java.awt.event.ContainerEvent) (ContainerEvent sample code for java.awt.event.ContainerEvent definition code for java.awt.event.ContainerEvent  e)
          Handles the componentAdded container event by invoking the componentAdded methods on listener-a and listener-b.
 void componentHidden sample code for java.awt.AWTEventMulticaster.componentHidden(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentHidden(java.awt.event.ComponentEvent) (ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
          Handles the componentHidden event by invoking the componentHidden methods on listener-a and listener-b.
 void componentMoved sample code for java.awt.AWTEventMulticaster.componentMoved(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentMoved(java.awt.event.ComponentEvent) (ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
          Handles the componentMoved event by invoking the componentMoved methods on listener-a and listener-b.
 void componentRemoved sample code for java.awt.AWTEventMulticaster.componentRemoved(java.awt.event.ContainerEvent) definition code for java.awt.AWTEventMulticaster.componentRemoved(java.awt.event.ContainerEvent) (ContainerEvent sample code for java.awt.event.ContainerEvent definition code for java.awt.event.ContainerEvent  e)
          Handles the componentRemoved container event by invoking the componentRemoved methods on listener-a and listener-b.
 void componentResized sample code for java.awt.AWTEventMulticaster.componentResized(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentResized(java.awt.event.ComponentEvent) (ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
          Handles the componentResized event by invoking the componentResized methods on listener-a and listener-b.
 void componentShown sample code for java.awt.AWTEventMulticaster.componentShown(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentShown(java.awt.event.ComponentEvent) (ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
          Handles the componentShown event by invoking the componentShown methods on listener-a and listener-b.
 void focusGained sample code for java.awt.AWTEventMulticaster.focusGained(java.awt.event.FocusEvent) definition code for java.awt.AWTEventMulticaster.focusGained(java.awt.event.FocusEvent) (FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  e)
          Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.
 void focusLost sample code for java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent) definition code for java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent) (FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  e)
          Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.
static
<T extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener >
T[]
getListeners sample code for java.awt.AWTEventMulticaster.getListeners(java.util.EventListener, java.lang.Class) definition code for java.awt.AWTEventMulticaster.getListeners(java.util.EventListener, java.lang.Class) (EventListener sample code for java.util.EventListener definition code for java.util.EventListener  l, Class sample code for java.lang.Class definition code for java.lang.Class <T> listenerType)
          Returns an array of all the objects chained as FooListeners by the specified java.util.EventListener.
 void hierarchyChanged sample code for java.awt.AWTEventMulticaster.hierarchyChanged(java.awt.event.HierarchyEvent) definition code for java.awt.AWTEventMulticaster.hierarchyChanged(java.awt.event.HierarchyEvent) (HierarchyEvent sample code for java.awt.event.HierarchyEvent definition code for java.awt.event.HierarchyEvent  e)
          Handles the hierarchyChanged event by invoking the hierarchyChanged methods on listener-a and listener-b.
 void inputMethodTextChanged sample code for java.awt.AWTEventMulticaster.inputMethodTextChanged(java.awt.event.InputMethodEvent) definition code for java.awt.AWTEventMulticaster.inputMethodTextChanged(java.awt.event.InputMethodEvent) (InputMethodEvent sample code for java.awt.event.InputMethodEvent definition code for java.awt.event.InputMethodEvent  e)
          Handles the inputMethodTextChanged event by invoking the inputMethodTextChanged methods on listener-a and listener-b.
 void itemStateChanged sample code for java.awt.AWTEventMulticaster.itemStateChanged(java.awt.event.ItemEvent) definition code for java.awt.AWTEventMulticaster.itemStateChanged(java.awt.event.ItemEvent) (ItemEvent sample code for java.awt.event.ItemEvent definition code for java.awt.event.ItemEvent  e)
          Handles the itemStateChanged event by invoking the itemStateChanged methods on listener-a and listener-b.
 void keyPressed sample code for java.awt.AWTEventMulticaster.keyPressed(java.awt.event.KeyEvent) definition code for java.awt.AWTEventMulticaster.keyPressed(java.awt.event.KeyEvent) (KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent  e)
          Handles the keyPressed event by invoking the keyPressed methods on listener-a and listener-b.
 void keyReleased sample code for java.awt.AWTEventMulticaster.keyReleased(java.awt.event.KeyEvent) definition code for java.awt.AWTEventMulticaster.keyReleased(java.awt.event.KeyEvent) (KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent  e)
          Handles the keyReleased event by invoking the keyReleased methods on listener-a and listener-b.
 void keyTyped sample code for java.awt.AWTEventMulticaster.keyTyped(java.awt.event.KeyEvent) definition code for java.awt.AWTEventMulticaster.keyTyped(java.awt.event.KeyEvent) (KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent  e)
          Handles the keyTyped event by invoking the keyTyped methods on listener-a and listener-b.
 void mouseClicked sample code for java.awt.AWTEventMulticaster.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseClicked(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Handles the mouseClicked event by invoking the mouseClicked methods on listener-a and listener-b.
 void mouseDragged sample code for java.awt.AWTEventMulticaster.mouseDragged(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseDragged(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Handles the mouseDragged event by invoking the mouseDragged methods on listener-a and listener-b.
 void mouseEntered sample code for java.awt.AWTEventMulticaster.mouseEntered(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseEntered(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Handles the mouseEntered event by invoking the mouseEntered methods on listener-a and listener-b.
 void mouseExited sample code for java.awt.AWTEventMulticaster.mouseExited(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseExited(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Handles the mouseExited event by invoking the mouseExited methods on listener-a and listener-b.
 void mouseMoved sample code for java.awt.AWTEventMulticaster.mouseMoved(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseMoved(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Handles the mouseMoved event by invoking the mouseMoved methods on listener-a and listener-b.
 void mousePressed sample code for java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Handles the mousePressed event by invoking the mousePressed methods on listener-a and listener-b.
 void mouseReleased sample code for java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
          Handles the mouseReleased event by invoking the mouseReleased methods on listener-a and listener-b.
 void mouseWheelMoved sample code for java.awt.AWTEventMulticaster.mouseWheelMoved(java.awt.event.MouseWheelEvent) definition code for java.awt.AWTEventMulticaster.mouseWheelMoved(java.awt.event.MouseWheelEvent) (MouseWheelEvent sample code for java.awt.event.MouseWheelEvent definition code for java.awt.event.MouseWheelEvent  e)
          Handles the mouseWheelMoved event by invoking the mouseWheelMoved methods on listener-a and listener-b.
static ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ActionListener, java.awt.event.ActionListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ActionListener, java.awt.event.ActionListener) (ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  l, ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  oldl)
          Removes the old action-listener from action-listener-l and returns the resulting multicast listener.
static AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener) (AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  l, AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  oldl)
          Removes the old adjustment-listener from adjustment-listener-l and returns the resulting multicast listener.
static ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ComponentListener, java.awt.event.ComponentListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ComponentListener, java.awt.event.ComponentListener) (ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  l, ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  oldl)
          Removes the old component-listener from component-listener-l and returns the resulting multicast listener.
static ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ContainerListener, java.awt.event.ContainerListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ContainerListener, java.awt.event.ContainerListener) (ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  l, ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  oldl)
          Removes the old container-listener from container-listener-l and returns the resulting multicast listener.
protected  EventListener sample code for java.util.EventListener definition code for java.util.EventListener remove sample code for java.awt.AWTEventMulticaster.remove(java.util.EventListener) definition code for java.awt.AWTEventMulticaster.remove(java.util.EventListener) (EventListener sample code for java.util.EventListener definition code for java.util.EventListener  oldl)
          Removes a listener from this multicaster and returns the resulting multicast listener.
static FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.FocusListener, java.awt.event.FocusListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.FocusListener, java.awt.event.FocusListener) (FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l, FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  oldl)
          Removes the old focus-listener from focus-listener-l and returns the resulting multicast listener.
static HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener) (HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  l, HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  oldl)
          Removes the old hierarchy-bounds-listener from hierarchy-bounds-listener-l and returns the resulting multicast listener.
static HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener) (HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  l, HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  oldl)
          Removes the old hierarchy-listener from hierarchy-listener-l and returns the resulting multicast listener.
static InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener) (InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  l, InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  oldl)
          Removes the old input-method-listener from input-method-listener-l and returns the resulting multicast listener.
static ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ItemListener, java.awt.event.ItemListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ItemListener, java.awt.event.ItemListener) (ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  l, ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  oldl)
          Removes the old item-listener from item-listener-l and returns the resulting multicast listener.
static KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.KeyListener, java.awt.event.KeyListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.KeyListener, java.awt.event.KeyListener) (KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  l, KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  oldl)
          Removes the old key-listener from key-listener-l and returns the resulting multicast listener.
static MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseListener, java.awt.event.MouseListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseListener, java.awt.event.MouseListener) (MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  l, MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  oldl)
          Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.
static MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener) (MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  l, MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  oldl)
          Removes the old mouse-motion-listener from mouse-motion-listener-l and returns the resulting multicast listener.
static MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener) (MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  l, MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  oldl)
          Removes the old mouse-wheel-listener from mouse-wheel-listener-l and returns the resulting multicast listener.
static TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.TextListener, java.awt.event.TextListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.TextListener, java.awt.event.TextListener) (TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  l, TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  oldl)
           
static WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener) (WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  l, WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  oldl)
          Removes the old window-focus-listener from window-focus-listener-l and returns the resulting multicast listener.
static WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowListener, java.awt.event.WindowListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowListener, java.awt.event.WindowListener) (WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  l, WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  oldl)
          Removes the old window-listener from window-listener-l and returns the resulting multicast listener.
static WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener) (WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  l, WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  oldl)
          Removes the old window-state-listener from window-state-listener-l and returns the resulting multicast listener.
protected static EventListener sample code for java.util.EventListener definition code for java.util.EventListener removeInternal sample code for java.awt.AWTEventMulticaster.removeInternal(java.util.EventListener, java.util.EventListener) definition code for java.awt.AWTEventMulticaster.removeInternal(java.util.EventListener, java.util.EventListener) (EventListener sample code for java.util.EventListener definition code for java.util.EventListener  l, EventListener sample code for java.util.EventListener definition code for java.util.EventListener  oldl)
          Returns the resulting multicast listener after removing the old listener from listener-l.
protected static void save sample code for java.awt.AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener) definition code for java.awt.AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener) (ObjectOutputStream sample code for java.io.ObjectOutputStream definition code for java.io.ObjectOutputStream  s, String sample code for java.lang.String definition code for java.lang.String  k, EventListener sample code for java.util.EventListener definition code for java.util.EventListener  l)
           
protected  void saveInternal sample code for java.awt.AWTEventMulticaster.saveInternal(java.io.ObjectOutputStream, java.lang.String) definition code for java.awt.AWTEventMulticaster.saveInternal(java.io.ObjectOutputStream, java.lang.String) (ObjectOutputStream sample code for java.io.ObjectOutputStream definition code for java.io.ObjectOutputStream  s, String sample code for java.lang.String definition code for java.lang.String  k)
           
 void textValueChanged sample code for java.awt.AWTEventMulticaster.textValueChanged(java.awt.event.TextEvent) definition code for java.awt.AWTEventMulticaster.textValueChanged(java.awt.event.TextEvent) (TextEvent sample code for java.awt.event.TextEvent definition code for java.awt.event.TextEvent  e)
          Invoked when the value of the text has changed.
 void windowActivated sample code for java.awt.AWTEventMulticaster.windowActivated(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowActivated(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowActivated event by invoking the windowActivated methods on listener-a and listener-b.
 void windowClosed sample code for java.awt.AWTEventMulticaster.windowClosed(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowClosed(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowClosed event by invoking the windowClosed methods on listener-a and listener-b.
 void windowClosing sample code for java.awt.AWTEventMulticaster.windowClosing(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowClosing(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowClosing event by invoking the windowClosing methods on listener-a and listener-b.
 void windowDeactivated sample code for java.awt.AWTEventMulticaster.windowDeactivated(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowDeactivated(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowDeactivated event by invoking the windowDeactivated methods on listener-a and listener-b.
 void windowDeiconified sample code for java.awt.AWTEventMulticaster.windowDeiconified(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowDeiconified(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowDeiconfied event by invoking the windowDeiconified methods on listener-a and listener-b.
 void windowGainedFocus sample code for java.awt.AWTEventMulticaster.windowGainedFocus(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowGainedFocus(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowGainedFocus event by invoking the windowGainedFocus methods on listener-a and listener-b.
 void windowIconified sample code for java.awt.AWTEventMulticaster.windowIconified(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowIconified(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowIconified event by invoking the windowIconified methods on listener-a and listener-b.
 void windowLostFocus sample code for java.awt.AWTEventMulticaster.windowLostFocus(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowLostFocus(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowLostFocus event by invoking the windowLostFocus methods on listener-a and listener-b.
 void windowOpened sample code for java.awt.AWTEventMulticaster.windowOpened(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowOpened(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowOpened event by invoking the windowOpened methods on listener-a and listener-b.
 void windowStateChanged sample code for java.awt.AWTEventMulticaster.windowStateChanged(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowStateChanged(java.awt.event.WindowEvent) (WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
          Handles the windowStateChanged event by invoking the windowStateChanged methods on listener-a and listener-b.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Field Detail

a sample code for java.awt.AWTEventMulticaster.a

protected final EventListener sample code for java.util.EventListener definition code for java.util.EventListener  a

b sample code for java.awt.AWTEventMulticaster.b

protected final EventListener sample code for java.util.EventListener definition code for java.util.EventListener  b
Constructor Detail

AWTEventMulticaster sample code for java.awt.AWTEventMulticaster(java.util.EventListener, java.util.EventListener) definition code for java.awt.AWTEventMulticaster(java.util.EventListener, java.util.EventListener)

protected AWTEventMulticaster(EventListener sample code for java.util.EventListener definition code for java.util.EventListener  a,
                              EventListener sample code for java.util.EventListener definition code for java.util.EventListener  b)
Creates an event multicaster instance which chains listener-a with listener-b. Input parameters a and b should not be null, though implementations may vary in choosing whether or not to throw NullPointerException in that case.

Parameters:
a - listener-a
b - listener-b
Method Detail

remove sample code for java.awt.AWTEventMulticaster.remove(java.util.EventListener) definition code for java.awt.AWTEventMulticaster.remove(java.util.EventListener)

protected EventListener sample code for java.util.EventListener definition code for java.util.EventListener  remove(EventListener sample code for java.util.EventListener definition code for java.util.EventListener  oldl)
Removes a listener from this multicaster and returns the resulting multicast listener.

Parameters:
oldl - the listener to be removed

componentResized sample code for java.awt.AWTEventMulticaster.componentResized(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentResized(java.awt.event.ComponentEvent)

public void componentResized(ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
Handles the componentResized event by invoking the componentResized methods on listener-a and listener-b.

Specified by:
componentResized sample code for java.awt.event.ComponentListener.componentResized(java.awt.event.ComponentEvent) definition code for java.awt.event.ComponentListener.componentResized(java.awt.event.ComponentEvent) in interface ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener
Parameters:
e - the component event

componentMoved sample code for java.awt.AWTEventMulticaster.componentMoved(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentMoved(java.awt.event.ComponentEvent)

public void componentMoved(ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
Handles the componentMoved event by invoking the componentMoved methods on listener-a and listener-b.

Specified by:
componentMoved sample code for java.awt.event.ComponentListener.componentMoved(java.awt.event.ComponentEvent) definition code for java.awt.event.ComponentListener.componentMoved(java.awt.event.ComponentEvent) in interface ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener
Parameters:
e - the component event

componentShown sample code for java.awt.AWTEventMulticaster.componentShown(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentShown(java.awt.event.ComponentEvent)

public void componentShown(ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
Handles the componentShown event by invoking the componentShown methods on listener-a and listener-b.

Specified by:
componentShown sample code for java.awt.event.ComponentListener.componentShown(java.awt.event.ComponentEvent) definition code for java.awt.event.ComponentListener.componentShown(java.awt.event.ComponentEvent) in interface ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener
Parameters:
e - the component event

componentHidden sample code for java.awt.AWTEventMulticaster.componentHidden(java.awt.event.ComponentEvent) definition code for java.awt.AWTEventMulticaster.componentHidden(java.awt.event.ComponentEvent)

public void componentHidden(ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent  e)
Handles the componentHidden event by invoking the componentHidden methods on listener-a and listener-b.

Specified by:
componentHidden sample code for java.awt.event.ComponentListener.componentHidden(java.awt.event.ComponentEvent) definition code for java.awt.event.ComponentListener.componentHidden(java.awt.event.ComponentEvent) in interface ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener
Parameters:
e - the component event

componentAdded sample code for java.awt.AWTEventMulticaster.componentAdded(java.awt.event.ContainerEvent) definition code for java.awt.AWTEventMulticaster.componentAdded(java.awt.event.ContainerEvent)

public void componentAdded(ContainerEvent sample code for java.awt.event.ContainerEvent definition code for java.awt.event.ContainerEvent  e)
Handles the componentAdded container event by invoking the componentAdded methods on listener-a and listener-b.

Specified by:
componentAdded sample code for java.awt.event.ContainerListener.componentAdded(java.awt.event.ContainerEvent) definition code for java.awt.event.ContainerListener.componentAdded(java.awt.event.ContainerEvent) in interface ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener
Parameters:
e - the component event

componentRemoved sample code for java.awt.AWTEventMulticaster.componentRemoved(java.awt.event.ContainerEvent) definition code for java.awt.AWTEventMulticaster.componentRemoved(java.awt.event.ContainerEvent)

public void componentRemoved(ContainerEvent sample code for java.awt.event.ContainerEvent definition code for java.awt.event.ContainerEvent  e)
Handles the componentRemoved container event by invoking the componentRemoved methods on listener-a and listener-b.

Specified by:
componentRemoved sample code for java.awt.event.ContainerListener.componentRemoved(java.awt.event.ContainerEvent) definition code for java.awt.event.ContainerListener.componentRemoved(java.awt.event.ContainerEvent) in interface ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener
Parameters:
e - the component event

focusGained sample code for java.awt.AWTEventMulticaster.focusGained(java.awt.event.FocusEvent) definition code for java.awt.AWTEventMulticaster.focusGained(java.awt.event.FocusEvent)

public void focusGained(FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  e)
Handles the focusGained event by invoking the focusGained methods on listener-a and listener-b.

Specified by:
focusGained sample code for java.awt.event.FocusListener.focusGained(java.awt.event.FocusEvent) definition code for java.awt.event.FocusListener.focusGained(java.awt.event.FocusEvent) in interface FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener
Parameters:
e - the focus event

focusLost sample code for java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent) definition code for java.awt.AWTEventMulticaster.focusLost(java.awt.event.FocusEvent)

public void focusLost(FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  e)
Handles the focusLost event by invoking the focusLost methods on listener-a and listener-b.

Specified by:
focusLost sample code for java.awt.event.FocusListener.focusLost(java.awt.event.FocusEvent) definition code for java.awt.event.FocusListener.focusLost(java.awt.event.FocusEvent) in interface FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener
Parameters:
e - the focus event

keyTyped sample code for java.awt.AWTEventMulticaster.keyTyped(java.awt.event.KeyEvent) definition code for java.awt.AWTEventMulticaster.keyTyped(java.awt.event.KeyEvent)

public void keyTyped(KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent  e)
Handles the keyTyped event by invoking the keyTyped methods on listener-a and listener-b.

Specified by:
keyTyped sample code for java.awt.event.KeyListener.keyTyped(java.awt.event.KeyEvent) definition code for java.awt.event.KeyListener.keyTyped(java.awt.event.KeyEvent) in interface KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener
Parameters:
e - the key event

keyPressed sample code for java.awt.AWTEventMulticaster.keyPressed(java.awt.event.KeyEvent) definition code for java.awt.AWTEventMulticaster.keyPressed(java.awt.event.KeyEvent)

public void keyPressed(KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent  e)
Handles the keyPressed event by invoking the keyPressed methods on listener-a and listener-b.

Specified by:
keyPressed sample code for java.awt.event.KeyListener.keyPressed(java.awt.event.KeyEvent) definition code for java.awt.event.KeyListener.keyPressed(java.awt.event.KeyEvent) in interface KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener
Parameters:
e - the key event

keyReleased sample code for java.awt.AWTEventMulticaster.keyReleased(java.awt.event.KeyEvent) definition code for java.awt.AWTEventMulticaster.keyReleased(java.awt.event.KeyEvent)

public void keyReleased(KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent  e)
Handles the keyReleased event by invoking the keyReleased methods on listener-a and listener-b.

Specified by:
keyReleased sample code for java.awt.event.KeyListener.keyReleased(java.awt.event.KeyEvent) definition code for java.awt.event.KeyListener.keyReleased(java.awt.event.KeyEvent) in interface KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener
Parameters:
e - the key event

mouseClicked sample code for java.awt.AWTEventMulticaster.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseClicked(java.awt.event.MouseEvent)

public void mouseClicked(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Handles the mouseClicked event by invoking the mouseClicked methods on listener-a and listener-b.

Specified by:
mouseClicked sample code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseClicked(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Parameters:
e - the mouse event

mousePressed sample code for java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)

public void mousePressed(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Handles the mousePressed event by invoking the mousePressed methods on listener-a and listener-b.

Specified by:
mousePressed sample code for java.awt.event.MouseListener.mousePressed(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mousePressed(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Parameters:
e - the mouse event

mouseReleased sample code for java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)

public void mouseReleased(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Handles the mouseReleased event by invoking the mouseReleased methods on listener-a and listener-b.

Specified by:
mouseReleased sample code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseReleased(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Parameters:
e - the mouse event

mouseEntered sample code for java.awt.AWTEventMulticaster.mouseEntered(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseEntered(java.awt.event.MouseEvent)

public void mouseEntered(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Handles the mouseEntered event by invoking the mouseEntered methods on listener-a and listener-b.

Specified by:
mouseEntered sample code for java.awt.event.MouseListener.mouseEntered(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseEntered(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Parameters:
e - the mouse event

mouseExited sample code for java.awt.AWTEventMulticaster.mouseExited(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseExited(java.awt.event.MouseEvent)

public void mouseExited(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Handles the mouseExited event by invoking the mouseExited methods on listener-a and listener-b.

Specified by:
mouseExited sample code for java.awt.event.MouseListener.mouseExited(java.awt.event.MouseEvent) definition code for java.awt.event.MouseListener.mouseExited(java.awt.event.MouseEvent) in interface MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener
Parameters:
e - the mouse event

mouseDragged sample code for java.awt.AWTEventMulticaster.mouseDragged(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseDragged(java.awt.event.MouseEvent)

public void mouseDragged(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Handles the mouseDragged event by invoking the mouseDragged methods on listener-a and listener-b.

Specified by:
mouseDragged sample code for java.awt.event.MouseMotionListener.mouseDragged(java.awt.event.MouseEvent) definition code for java.awt.event.MouseMotionListener.mouseDragged(java.awt.event.MouseEvent) in interface MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener
Parameters:
e - the mouse event

mouseMoved sample code for java.awt.AWTEventMulticaster.mouseMoved(java.awt.event.MouseEvent) definition code for java.awt.AWTEventMulticaster.mouseMoved(java.awt.event.MouseEvent)

public void mouseMoved(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Handles the mouseMoved event by invoking the mouseMoved methods on listener-a and listener-b.

Specified by:
mouseMoved sample code for java.awt.event.MouseMotionListener.mouseMoved(java.awt.event.MouseEvent) definition code for java.awt.event.MouseMotionListener.mouseMoved(java.awt.event.MouseEvent) in interface MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener
Parameters:
e - the mouse event

windowOpened sample code for java.awt.AWTEventMulticaster.windowOpened(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowOpened(java.awt.event.WindowEvent)

public void windowOpened(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowOpened event by invoking the windowOpened methods on listener-a and listener-b.

Specified by:
windowOpened sample code for java.awt.event.WindowListener.windowOpened(java.awt.event.WindowEvent) definition code for java.awt.event.WindowListener.windowOpened(java.awt.event.WindowEvent) in interface WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener
Parameters:
e - the window event

windowClosing sample code for java.awt.AWTEventMulticaster.windowClosing(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowClosing(java.awt.event.WindowEvent)

public void windowClosing(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowClosing event by invoking the windowClosing methods on listener-a and listener-b.

Specified by:
windowClosing sample code for java.awt.event.WindowListener.windowClosing(java.awt.event.WindowEvent) definition code for java.awt.event.WindowListener.windowClosing(java.awt.event.WindowEvent) in interface WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener
Parameters:
e - the window event

windowClosed sample code for java.awt.AWTEventMulticaster.windowClosed(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowClosed(java.awt.event.WindowEvent)

public void windowClosed(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowClosed event by invoking the windowClosed methods on listener-a and listener-b.

Specified by:
windowClosed sample code for java.awt.event.WindowListener.windowClosed(java.awt.event.WindowEvent) definition code for java.awt.event.WindowListener.windowClosed(java.awt.event.WindowEvent) in interface WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener
Parameters:
e - the window event

windowIconified sample code for java.awt.AWTEventMulticaster.windowIconified(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowIconified(java.awt.event.WindowEvent)

public void windowIconified(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowIconified event by invoking the windowIconified methods on listener-a and listener-b.

Specified by:
windowIconified sample code for java.awt.event.WindowListener.windowIconified(java.awt.event.WindowEvent) definition code for java.awt.event.WindowListener.windowIconified(java.awt.event.WindowEvent) in interface WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener
Parameters:
e - the window event
See Also:
Frame.setIconImage(java.awt.Image) sample code for java.awt.Frame.setIconImage(java.awt.Image) definition code for java.awt.Frame.setIconImage(java.awt.Image)

windowDeiconified sample code for java.awt.AWTEventMulticaster.windowDeiconified(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowDeiconified(java.awt.event.WindowEvent)

public void windowDeiconified(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowDeiconfied event by invoking the windowDeiconified methods on listener-a and listener-b.

Specified by:
windowDeiconified sample code for java.awt.event.WindowListener.windowDeiconified(java.awt.event.WindowEvent) definition code for java.awt.event.WindowListener.windowDeiconified(java.awt.event.WindowEvent) in interface WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener
Parameters:
e - the window event

windowActivated sample code for java.awt.AWTEventMulticaster.windowActivated(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowActivated(java.awt.event.WindowEvent)

public void windowActivated(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowActivated event by invoking the windowActivated methods on listener-a and listener-b.

Specified by:
windowActivated sample code for java.awt.event.WindowListener.windowActivated(java.awt.event.WindowEvent) definition code for java.awt.event.WindowListener.windowActivated(java.awt.event.WindowEvent) in interface WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener
Parameters:
e - the window event

windowDeactivated sample code for java.awt.AWTEventMulticaster.windowDeactivated(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowDeactivated(java.awt.event.WindowEvent)

public void windowDeactivated(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowDeactivated event by invoking the windowDeactivated methods on listener-a and listener-b.

Specified by:
windowDeactivated sample code for java.awt.event.WindowListener.windowDeactivated(java.awt.event.WindowEvent) definition code for java.awt.event.WindowListener.windowDeactivated(java.awt.event.WindowEvent) in interface WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener
Parameters:
e - the window event

windowStateChanged sample code for java.awt.AWTEventMulticaster.windowStateChanged(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowStateChanged(java.awt.event.WindowEvent)

public void windowStateChanged(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowStateChanged event by invoking the windowStateChanged methods on listener-a and listener-b.

Specified by:
windowStateChanged sample code for java.awt.event.WindowStateListener.windowStateChanged(java.awt.event.WindowEvent) definition code for java.awt.event.WindowStateListener.windowStateChanged(java.awt.event.WindowEvent) in interface WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener
Parameters:
e - the window event

windowGainedFocus sample code for java.awt.AWTEventMulticaster.windowGainedFocus(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowGainedFocus(java.awt.event.WindowEvent)

public void windowGainedFocus(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowGainedFocus event by invoking the windowGainedFocus methods on listener-a and listener-b.

Specified by:
windowGainedFocus sample code for java.awt.event.WindowFocusListener.windowGainedFocus(java.awt.event.WindowEvent) definition code for java.awt.event.WindowFocusListener.windowGainedFocus(java.awt.event.WindowEvent) in interface WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener
Parameters:
e - the window event

windowLostFocus sample code for java.awt.AWTEventMulticaster.windowLostFocus(java.awt.event.WindowEvent) definition code for java.awt.AWTEventMulticaster.windowLostFocus(java.awt.event.WindowEvent)

public void windowLostFocus(WindowEvent sample code for java.awt.event.WindowEvent definition code for java.awt.event.WindowEvent  e)
Handles the windowLostFocus event by invoking the windowLostFocus methods on listener-a and listener-b.

Specified by:
windowLostFocus sample code for java.awt.event.WindowFocusListener.windowLostFocus(java.awt.event.WindowEvent) definition code for java.awt.event.WindowFocusListener.windowLostFocus(java.awt.event.WindowEvent) in interface WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener
Parameters:
e - the window event

actionPerformed sample code for java.awt.AWTEventMulticaster.actionPerformed(java.awt.event.ActionEvent) definition code for java.awt.AWTEventMulticaster.actionPerformed(java.awt.event.ActionEvent)

public void actionPerformed(ActionEvent sample code for java.awt.event.ActionEvent definition code for java.awt.event.ActionEvent  e)
Handles the actionPerformed event by invoking the actionPerformed methods on listener-a and listener-b.

Specified by:
actionPerformed sample code for java.awt.event.ActionListener.actionPerformed(java.awt.event.ActionEvent) definition code for java.awt.event.ActionListener.actionPerformed(java.awt.event.ActionEvent) in interface ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener
Parameters:
e - the action event

itemStateChanged sample code for java.awt.AWTEventMulticaster.itemStateChanged(java.awt.event.ItemEvent) definition code for java.awt.AWTEventMulticaster.itemStateChanged(java.awt.event.ItemEvent)

public void itemStateChanged(ItemEvent sample code for java.awt.event.ItemEvent definition code for java.awt.event.ItemEvent  e)
Handles the itemStateChanged event by invoking the itemStateChanged methods on listener-a and listener-b.

Specified by:
itemStateChanged sample code for java.awt.event.ItemListener.itemStateChanged(java.awt.event.ItemEvent) definition code for java.awt.event.ItemListener.itemStateChanged(java.awt.event.ItemEvent) in interface ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener
Parameters:
e - the item event

adjustmentValueChanged sample code for java.awt.AWTEventMulticaster.adjustmentValueChanged(java.awt.event.AdjustmentEvent) definition code for java.awt.AWTEventMulticaster.adjustmentValueChanged(java.awt.event.AdjustmentEvent)

public void adjustmentValueChanged(AdjustmentEvent sample code for java.awt.event.AdjustmentEvent definition code for java.awt.event.AdjustmentEvent  e)
Handles the adjustmentValueChanged event by invoking the adjustmentValueChanged methods on listener-a and listener-b.

Specified by:
adjustmentValueChanged sample code for java.awt.event.AdjustmentListener.adjustmentValueChanged(java.awt.event.AdjustmentEvent) definition code for java.awt.event.AdjustmentListener.adjustmentValueChanged(java.awt.event.AdjustmentEvent) in interface AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener
Parameters:
e - the adjustment event

textValueChanged sample code for java.awt.AWTEventMulticaster.textValueChanged(java.awt.event.TextEvent) definition code for java.awt.AWTEventMulticaster.textValueChanged(java.awt.event.TextEvent)

public void textValueChanged(TextEvent sample code for java.awt.event.TextEvent definition code for java.awt.event.TextEvent  e)
Description copied from interface: TextListener sample code for java.awt.event.TextListener.textValueChanged(java.awt.event.TextEvent) definition code for java.awt.event.TextListener.textValueChanged(java.awt.event.TextEvent)
Invoked when the value of the text has changed. The code written for this method performs the operations that need to occur when text changes.

Specified by:
textValueChanged sample code for java.awt.event.TextListener.textValueChanged(java.awt.event.TextEvent) definition code for java.awt.event.TextListener.textValueChanged(java.awt.event.TextEvent) in interface TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener

inputMethodTextChanged sample code for java.awt.AWTEventMulticaster.inputMethodTextChanged(java.awt.event.InputMethodEvent) definition code for java.awt.AWTEventMulticaster.inputMethodTextChanged(java.awt.event.InputMethodEvent)

public void inputMethodTextChanged(InputMethodEvent sample code for java.awt.event.InputMethodEvent definition code for java.awt.event.InputMethodEvent  e)
Handles the inputMethodTextChanged event by invoking the inputMethodTextChanged methods on listener-a and listener-b.

Specified by:
inputMethodTextChanged sample code for java.awt.event.InputMethodListener.inputMethodTextChanged(java.awt.event.InputMethodEvent) definition code for java.awt.event.InputMethodListener.inputMethodTextChanged(java.awt.event.InputMethodEvent) in interface InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener
Parameters:
e - the item event

caretPositionChanged sample code for java.awt.AWTEventMulticaster.caretPositionChanged(java.awt.event.InputMethodEvent) definition code for java.awt.AWTEventMulticaster.caretPositionChanged(java.awt.event.InputMethodEvent)

public void caretPositionChanged(InputMethodEvent sample code for java.awt.event.InputMethodEvent definition code for java.awt.event.InputMethodEvent  e)
Handles the caretPositionChanged event by invoking the caretPositionChanged methods on listener-a and listener-b.

Specified by:
caretPositionChanged sample code for java.awt.event.InputMethodListener.caretPositionChanged(java.awt.event.InputMethodEvent) definition code for java.awt.event.InputMethodListener.caretPositionChanged(java.awt.event.InputMethodEvent) in interface InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener
Parameters:
e - the item event

hierarchyChanged sample code for java.awt.AWTEventMulticaster.hierarchyChanged(java.awt.event.HierarchyEvent) definition code for java.awt.AWTEventMulticaster.hierarchyChanged(java.awt.event.HierarchyEvent)

public void hierarchyChanged(HierarchyEvent sample code for java.awt.event.HierarchyEvent definition code for java.awt.event.HierarchyEvent  e)
Handles the hierarchyChanged event by invoking the hierarchyChanged methods on listener-a and listener-b.

Specified by:
hierarchyChanged sample code for java.awt.event.HierarchyListener.hierarchyChanged(java.awt.event.HierarchyEvent) definition code for java.awt.event.HierarchyListener.hierarchyChanged(java.awt.event.HierarchyEvent) in interface HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener
Parameters:
e - the item event
See Also:
HierarchyEvent.getChangeFlags() sample code for java.awt.event.HierarchyEvent.getChangeFlags() definition code for java.awt.event.HierarchyEvent.getChangeFlags()

ancestorMoved sample code for java.awt.AWTEventMulticaster.ancestorMoved(java.awt.event.HierarchyEvent) definition code for java.awt.AWTEventMulticaster.ancestorMoved(java.awt.event.HierarchyEvent)

public void ancestorMoved(HierarchyEvent sample code for java.awt.event.HierarchyEvent definition code for java.awt.event.HierarchyEvent  e)
Handles the ancestorMoved event by invoking the ancestorMoved methods on listener-a and listener-b.

Specified by:
ancestorMoved sample code for java.awt.event.HierarchyBoundsListener.ancestorMoved(java.awt.event.HierarchyEvent) definition code for java.awt.event.HierarchyBoundsListener.ancestorMoved(java.awt.event.HierarchyEvent) in interface HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener
Parameters:
e - the item event

ancestorResized sample code for java.awt.AWTEventMulticaster.ancestorResized(java.awt.event.HierarchyEvent) definition code for java.awt.AWTEventMulticaster.ancestorResized(java.awt.event.HierarchyEvent)

public void ancestorResized(HierarchyEvent sample code for java.awt.event.HierarchyEvent definition code for java.awt.event.HierarchyEvent  e)
Handles the ancestorResized event by invoking the ancestorResized methods on listener-a and listener-b.

Specified by:
ancestorResized sample code for java.awt.event.HierarchyBoundsListener.ancestorResized(java.awt.event.HierarchyEvent) definition code for java.awt.event.HierarchyBoundsListener.ancestorResized(java.awt.event.HierarchyEvent) in interface HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener
Parameters:
e - the item event

mouseWheelMoved sample code for java.awt.AWTEventMulticaster.mouseWheelMoved(java.awt.event.MouseWheelEvent) definition code for java.awt.AWTEventMulticaster.mouseWheelMoved(java.awt.event.MouseWheelEvent)

public void mouseWheelMoved(MouseWheelEvent sample code for java.awt.event.MouseWheelEvent definition code for java.awt.event.MouseWheelEvent  e)
Handles the mouseWheelMoved event by invoking the mouseWheelMoved methods on listener-a and listener-b.

Specified by:
mouseWheelMoved sample code for java.awt.event.MouseWheelListener.mouseWheelMoved(java.awt.event.MouseWheelEvent) definition code for java.awt.event.MouseWheelListener.mouseWheelMoved(java.awt.event.MouseWheelEvent) in interface MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener
Parameters:
e - the mouse event
Since:
1.4
See Also:
MouseWheelEvent sample code for java.awt.event.MouseWheelEvent definition code for java.awt.event.MouseWheelEvent

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ComponentListener, java.awt.event.ComponentListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ComponentListener, java.awt.event.ComponentListener)

public static ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  add(ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  a,
                                    ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  b)
Adds component-listener-a with component-listener-b and returns the resulting multicast listener.

Parameters:
a - component-listener-a
b - component-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ContainerListener, java.awt.event.ContainerListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ContainerListener, java.awt.event.ContainerListener)

public static ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  add(ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  a,
                                    ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  b)
Adds container-listener-a with container-listener-b and returns the resulting multicast listener.

Parameters:
a - container-listener-a
b - container-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.FocusListener, java.awt.event.FocusListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.FocusListener, java.awt.event.FocusListener)

public static FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  add(FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  a,
                                FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  b)
Adds focus-listener-a with focus-listener-b and returns the resulting multicast listener.

Parameters:
a - focus-listener-a
b - focus-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.KeyListener, java.awt.event.KeyListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.KeyListener, java.awt.event.KeyListener)

public static KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  add(KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  a,
                              KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  b)
Adds key-listener-a with key-listener-b and returns the resulting multicast listener.

Parameters:
a - key-listener-a
b - key-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseListener, java.awt.event.MouseListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseListener, java.awt.event.MouseListener)

public static MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  add(MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  a,
                                MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  b)
Adds mouse-listener-a with mouse-listener-b and returns the resulting multicast listener.

Parameters:
a - mouse-listener-a
b - mouse-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener)

public static MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  add(MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  a,
                                      MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  b)
Adds mouse-motion-listener-a with mouse-motion-listener-b and returns the resulting multicast listener.

Parameters:
a - mouse-motion-listener-a
b - mouse-motion-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowListener, java.awt.event.WindowListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowListener, java.awt.event.WindowListener)

public static WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  add(WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  a,
                                 WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  b)
Adds window-listener-a with window-listener-b and returns the resulting multicast listener.

Parameters:
a - window-listener-a
b - window-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener)

public static WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  add(WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  a,
                                      WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  b)
Adds window-state-listener-a with window-state-listener-b and returns the resulting multicast listener.

Parameters:
a - window-state-listener-a
b - window-state-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener)

public static WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  add(WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  a,
                                      WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  b)
Adds window-focus-listener-a with window-focus-listener-b and returns the resulting multicast listener.

Parameters:
a - window-focus-listener-a
b - window-focus-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ActionListener, java.awt.event.ActionListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ActionListener, java.awt.event.ActionListener)

public static ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  add(ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  a,
                                 ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  b)
Adds action-listener-a with action-listener-b and returns the resulting multicast listener.

Parameters:
a - action-listener-a
b - action-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.ItemListener, java.awt.event.ItemListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.ItemListener, java.awt.event.ItemListener)

public static ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  add(ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  a,
                               ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  b)
Adds item-listener-a with item-listener-b and returns the resulting multicast listener.

Parameters:
a - item-listener-a
b - item-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener)

public static AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  add(AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  a,
                                     AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  b)
Adds adjustment-listener-a with adjustment-listener-b and returns the resulting multicast listener.

Parameters:
a - adjustment-listener-a
b - adjustment-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.TextListener, java.awt.event.TextListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.TextListener, java.awt.event.TextListener)

public static TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  add(TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  a,
                               TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  b)

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener)

public static InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  add(InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  a,
                                      InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  b)
Adds input-method-listener-a with input-method-listener-b and returns the resulting multicast listener.

Parameters:
a - input-method-listener-a
b - input-method-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener)

public static HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  add(HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  a,
                                    HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  b)
Adds hierarchy-listener-a with hierarchy-listener-b and returns the resulting multicast listener.

Parameters:
a - hierarchy-listener-a
b - hierarchy-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener)

public static HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  add(HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  a,
                                          HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  b)
Adds hierarchy-bounds-listener-a with hierarchy-bounds-listener-b and returns the resulting multicast listener.

Parameters:
a - hierarchy-bounds-listener-a
b - hierarchy-bounds-listener-b

add sample code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener) definition code for java.awt.AWTEventMulticaster.add(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener)

public static MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  add(MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  a,
                                     MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  b)
Adds mouse-wheel-listener-a with mouse-wheel-listener-b and returns the resulting multicast listener.

Parameters:
a - mouse-wheel-listener-a
b - mouse-wheel-listener-b
Since:
1.4

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ComponentListener, java.awt.event.ComponentListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ComponentListener, java.awt.event.ComponentListener)

public static ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  remove(ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  l,
                                       ComponentListener sample code for java.awt.event.ComponentListener definition code for java.awt.event.ComponentListener  oldl)
Removes the old component-listener from component-listener-l and returns the resulting multicast listener.

Parameters:
l - component-listener-l
oldl - the component-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ContainerListener, java.awt.event.ContainerListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ContainerListener, java.awt.event.ContainerListener)

public static ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  remove(ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  l,
                                       ContainerListener sample code for java.awt.event.ContainerListener definition code for java.awt.event.ContainerListener  oldl)
Removes the old container-listener from container-listener-l and returns the resulting multicast listener.

Parameters:
l - container-listener-l
oldl - the container-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.FocusListener, java.awt.event.FocusListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.FocusListener, java.awt.event.FocusListener)

public static FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  remove(FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  l,
                                   FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener  oldl)
Removes the old focus-listener from focus-listener-l and returns the resulting multicast listener.

Parameters:
l - focus-listener-l
oldl - the focus-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.KeyListener, java.awt.event.KeyListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.KeyListener, java.awt.event.KeyListener)

public static KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  remove(KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  l,
                                 KeyListener sample code for java.awt.event.KeyListener definition code for java.awt.event.KeyListener  oldl)
Removes the old key-listener from key-listener-l and returns the resulting multicast listener.

Parameters:
l - key-listener-l
oldl - the key-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseListener, java.awt.event.MouseListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseListener, java.awt.event.MouseListener)

public static MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  remove(MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  l,
                                   MouseListener sample code for java.awt.event.MouseListener definition code for java.awt.event.MouseListener  oldl)
Removes the old mouse-listener from mouse-listener-l and returns the resulting multicast listener.

Parameters:
l - mouse-listener-l
oldl - the mouse-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseMotionListener, java.awt.event.MouseMotionListener)

public static MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  remove(MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  l,
                                         MouseMotionListener sample code for java.awt.event.MouseMotionListener definition code for java.awt.event.MouseMotionListener  oldl)
Removes the old mouse-motion-listener from mouse-motion-listener-l and returns the resulting multicast listener.

Parameters:
l - mouse-motion-listener-l
oldl - the mouse-motion-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowListener, java.awt.event.WindowListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowListener, java.awt.event.WindowListener)

public static WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  remove(WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  l,
                                    WindowListener sample code for java.awt.event.WindowListener definition code for java.awt.event.WindowListener  oldl)
Removes the old window-listener from window-listener-l and returns the resulting multicast listener.

Parameters:
l - window-listener-l
oldl - the window-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowStateListener, java.awt.event.WindowStateListener)

public static WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  remove(WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  l,
                                         WindowStateListener sample code for java.awt.event.WindowStateListener definition code for java.awt.event.WindowStateListener  oldl)
Removes the old window-state-listener from window-state-listener-l and returns the resulting multicast listener.

Parameters:
l - window-state-listener-l
oldl - the window-state-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.WindowFocusListener, java.awt.event.WindowFocusListener)

public static WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  remove(WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  l,
                                         WindowFocusListener sample code for java.awt.event.WindowFocusListener definition code for java.awt.event.WindowFocusListener  oldl)
Removes the old window-focus-listener from window-focus-listener-l and returns the resulting multicast listener.

Parameters:
l - window-focus-listener-l
oldl - the window-focus-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ActionListener, java.awt.event.ActionListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ActionListener, java.awt.event.ActionListener)

public static ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  remove(ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  l,
                                    ActionListener sample code for java.awt.event.ActionListener definition code for java.awt.event.ActionListener  oldl)
Removes the old action-listener from action-listener-l and returns the resulting multicast listener.

Parameters:
l - action-listener-l
oldl - the action-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.ItemListener, java.awt.event.ItemListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.ItemListener, java.awt.event.ItemListener)

public static ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  remove(ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  l,
                                  ItemListener sample code for java.awt.event.ItemListener definition code for java.awt.event.ItemListener  oldl)
Removes the old item-listener from item-listener-l and returns the resulting multicast listener.

Parameters:
l - item-listener-l
oldl - the item-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.AdjustmentListener, java.awt.event.AdjustmentListener)

public static AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  remove(AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  l,
                                        AdjustmentListener sample code for java.awt.event.AdjustmentListener definition code for java.awt.event.AdjustmentListener  oldl)
Removes the old adjustment-listener from adjustment-listener-l and returns the resulting multicast listener.

Parameters:
l - adjustment-listener-l
oldl - the adjustment-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.TextListener, java.awt.event.TextListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.TextListener, java.awt.event.TextListener)

public static TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  remove(TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  l,
                                  TextListener sample code for java.awt.event.TextListener definition code for java.awt.event.TextListener  oldl)

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.InputMethodListener, java.awt.event.InputMethodListener)

public static InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  remove(InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  l,
                                         InputMethodListener sample code for java.awt.event.InputMethodListener definition code for java.awt.event.InputMethodListener  oldl)
Removes the old input-method-listener from input-method-listener-l and returns the resulting multicast listener.

Parameters:
l - input-method-listener-l
oldl - the input-method-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyListener, java.awt.event.HierarchyListener)

public static HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  remove(HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  l,
                                       HierarchyListener sample code for java.awt.event.HierarchyListener definition code for java.awt.event.HierarchyListener  oldl)
Removes the old hierarchy-listener from hierarchy-listener-l and returns the resulting multicast listener.

Parameters:
l - hierarchy-listener-l
oldl - the hierarchy-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.HierarchyBoundsListener, java.awt.event.HierarchyBoundsListener)

public static HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  remove(HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  l,
                                             HierarchyBoundsListener sample code for java.awt.event.HierarchyBoundsListener definition code for java.awt.event.HierarchyBoundsListener  oldl)
Removes the old hierarchy-bounds-listener from hierarchy-bounds-listener-l and returns the resulting multicast listener.

Parameters:
l - hierarchy-bounds-listener-l
oldl - the hierarchy-bounds-listener being removed

remove sample code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener) definition code for java.awt.AWTEventMulticaster.remove(java.awt.event.MouseWheelListener, java.awt.event.MouseWheelListener)

public static MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  remove(MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  l,
                                        MouseWheelListener sample code for java.awt.event.MouseWheelListener definition code for java.awt.event.MouseWheelListener  oldl)
Removes the old mouse-wheel-listener from mouse-wheel-listener-l and returns the resulting multicast listener.

Parameters:
l - mouse-wheel-listener-l
oldl - the mouse-wheel-listener being removed
Since:
1.4

addInternal sample code for java.awt.AWTEventMulticaster.addInternal(java.util.EventListener, java.util.EventListener) definition code for java.awt.AWTEventMulticaster.addInternal(java.util.EventListener, java.util.EventListener)

protected static EventListener sample code for java.util.EventListener definition code for java.util.EventListener  addInternal(EventListener sample code for java.util.EventListener definition code for java.util.EventListener  a,
                                           EventListener sample code for java.util.EventListener definition code for java.util.EventListener  b)
Returns the resulting multicast listener from adding listener-a and listener-b together. If listener-a is null, it returns listener-b; If listener-b is null, it returns listener-a If neither are null, then it creates and returns a new AWTEventMulticaster instance which chains a with b.

Parameters:
a - event listener-a
b - event listener-b

removeInternal sample code for java.awt.AWTEventMulticaster.removeInternal(java.util.EventListener, java.util.EventListener) definition code for java.awt.AWTEventMulticaster.removeInternal(java.util.EventListener, java.util.EventListener)

protected static EventListener sample code for java.util.EventListener definition code for java.util.EventListener  removeInternal(EventListener sample code for java.util.EventListener definition code for java.util.EventListener  l,
                                              EventListener sample code for java.util.EventListener definition code for java.util.EventListener  oldl)
Returns the resulting multicast listener after removing the old listener from listener-l. If listener-l equals the old listener OR listener-l is null, returns null. Else if listener-l is an instance of AWTEventMulticaster, then it removes the old listener from it. Else, returns listener l.

Parameters:
l - the listener being removed from
oldl - the listener being removed

saveInternal sample code for java.awt.AWTEventMulticaster.saveInternal(java.io.ObjectOutputStream, java.lang.String) definition code for java.awt.AWTEventMulticaster.saveInternal(java.io.ObjectOutputStream, java.lang.String)

protected void saveInternal(ObjectOutputStream sample code for java.io.ObjectOutputStream definition code for java.io.ObjectOutputStream  s,
                            String sample code for java.lang.String definition code for java.lang.String  k)
                     throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException

save sample code for java.awt.AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener) definition code for java.awt.AWTEventMulticaster.save(java.io.ObjectOutputStream, java.lang.String, java.util.EventListener)

protected static void save(ObjectOutputStream sample code for java.io.ObjectOutputStream definition code for java.io.ObjectOutputStream  s,
                           String sample code for java.lang.String definition code for java.lang.String  k,
                           EventListener sample code for java.util.EventListener definition code for java.util.EventListener  l)
                    throws IOException sample code for java.io.IOException definition code for java.io.IOException 
Throws:
IOException sample code for java.io.IOException definition code for java.io.IOException

getListeners sample code for java.awt.AWTEventMulticaster.<T extends java.util.EventListener>getListeners(java.util.EventListener, java.lang.Class<T>) definition code for java.awt.AWTEventMulticaster.<T extends java.util.EventListener>getListeners(java.util.EventListener, java.lang.Class<T>)

public static <T extends EventListener sample code for java.util.EventListener definition code for java.util.EventListener > T[] getListeners(EventListener sample code for java.util.EventListener definition code for java.util.EventListener  l,
                                                         Class sample code for java.lang.Class definition code for java.lang.Class <T> listenerType)
Returns an array of all the objects chained as FooListeners by the specified java.util.EventListener. FooListeners are chained by the AWTEventMulticaster using the addFooListener method. If a null listener is specified, this method returns an empty array. If the specified listener is not an instance of AWTEventMulticaster, this method returns an array which contains only the specified listener. If no such listeners are chanined, this method returns an empty array.

Parameters:
l - the specified java.util.EventListener
listenerType - the type of listeners requested; this parameter should specify an interface that descends from java.util.EventListener
Returns:
an array of all objects chained as FooListeners by the specified multicast listener, or an empty array if no such listeners have been chained by the specified multicast listener
Throws:
ClassCastException sample code for java.lang.ClassCastException definition code for java.lang.ClassCastException - if listenerType doesn't specify a class or interface that implements java.util.EventListener
Since:
1.4