Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt

Class AWTEventMulticaster

java.lang.Object
|
+--java.awt.AWTEventMulticaster

All Implemented Interfaces:

ComponentListener, ContainerListener, FocusListener, KeyListener, MouseListener, MouseMotionListener, WindowListener, WindowFocusListener, WindowStateListener, ActionListener, ItemListener, AdjustmentListener, TextListener, InputMethodListener, HierarchyListener, HierarchyBoundsListener, MouseWheelListener


public class AWTEventMulticaster

extends Object

implements ComponentListener, ContainerListener, FocusListener, KeyListener, MouseListener, MouseMotionListener, WindowListener, WindowFocusListener, WindowStateListener, ActionListener, ItemListener, AdjustmentListener, TextListener, InputMethodListener, HierarchyListener, HierarchyBoundsListener, MouseWheelListener

This class is used to implement a chain of event handlers. Dispatching using this class is thread safe. Here is a quick example of how to add and delete listeners using this class. For this example, we will assume are firing AdjustmentEvent's. However, this same approach is useful for all events in the java.awt.event package, and more if this class is subclassed.

AdjustmentListener al; public void addAdjustmentListener(AdjustmentListener listener) { al = AWTEventMulticaster.add(al, listener); } public void removeAdjustmentListener(AdjustmentListener listener) { al = AWTEventMulticaster.remove(al, listener); }

When it come time to process an event, simply call al, assuming it is not null, and all listeners in the chain will be fired.

The first time add is called it is passed null and listener as its arguments. This starts building the chain. This class returns listener which becomes the new al. The next time, add is called with al and listener and the new listener is then chained to the old.

Since:Authors:

Field Summary

java.util.EventListenera

A variable in the event chain.
java.util.EventListenerb

A variable in the event chain.

Constructor Summary

AWTEventMulticaster(java.util.EventListener a, java.util.EventListener b)

Initializes a new instance of AWTEventMulticaster with the specified event listener parameters.

Method Summary

voidactionPerformed(java.awt.event.ActionEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
static java.awt.event.ComponentListeneradd(java.awt.event.ComponentListener a, java.awt.event.ComponentListener b)

Chain ComponentListener a and b.
static java.awt.event.ContainerListeneradd(java.awt.event.ContainerListener a, java.awt.event.ContainerListener b)

Chain ContainerListener a and b.
static java.awt.event.FocusListeneradd(java.awt.event.FocusListener a, java.awt.event.FocusListener b)

Chain FocusListener a and b.
static java.awt.event.KeyListeneradd(java.awt.event.KeyListener a, java.awt.event.KeyListener b)

Chain KeyListener a and b.
static java.awt.event.MouseListeneradd(java.awt.event.MouseListener a, java.awt.event.MouseListener b)

Chain MouseListener a and b.
static java.awt.event.MouseMotionListeneradd(java.awt.event.MouseMotionListener a, java.awt.event.MouseMotionListener b)

Chain MouseMotionListener a and b.
static java.awt.event.WindowListeneradd(java.awt.event.WindowListener a, java.awt.event.WindowListener b)

Chain WindowListener a and b.
static java.awt.event.WindowStateListeneradd(java.awt.event.WindowStateListener a, java.awt.event.WindowStateListener b)

Chain WindowStateListener a and b.
static java.awt.event.WindowFocusListeneradd(java.awt.event.WindowFocusListener a, java.awt.event.WindowFocusListener b)

Chain WindowFocusListener a and b.
static java.awt.event.ActionListeneradd(java.awt.event.ActionListener a, java.awt.event.ActionListener b)

Chain ActionListener a and b.
static java.awt.event.ItemListeneradd(java.awt.event.ItemListener a, java.awt.event.ItemListener b)

Chain ItemListener a and b.
static java.awt.event.AdjustmentListeneradd(java.awt.event.AdjustmentListener a, java.awt.event.AdjustmentListener b)

Chain AdjustmentListener a and b.
static java.awt.event.TextListeneradd(java.awt.event.TextListener a, java.awt.event.TextListener b)

Chain AdjustmentListener a and b.
static java.awt.event.InputMethodListeneradd(java.awt.event.InputMethodListener a, java.awt.event.InputMethodListener b)

Chain InputMethodListener a and b.
static java.awt.event.HierarchyListeneradd(java.awt.event.HierarchyListener a, java.awt.event.HierarchyListener b)

Chain HierarchyListener a and b.
static java.awt.event.HierarchyBoundsListeneradd(java.awt.event.HierarchyBoundsListener a, java.awt.event.HierarchyBoundsListener b)

Chain HierarchyBoundsListener a and b.
static java.awt.event.MouseWheelListeneradd(java.awt.event.MouseWheelListener a, java.awt.event.MouseWheelListener b)

Chain MouseWheelListener a and b.
static java.util.EventListeneraddInternal(java.util.EventListener a, java.util.EventListener b)

Chain EventListener a and b.
voidadjustmentValueChanged(java.awt.event.AdjustmentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidancestorMoved(java.awt.event.HierarchyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidancestorResized(java.awt.event.HierarchyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidcaretPositionChanged(java.awt.event.InputMethodEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidcomponentAdded(java.awt.event.ContainerEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidcomponentHidden(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidcomponentMoved(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidcomponentRemoved(java.awt.event.ContainerEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidcomponentResized(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidcomponentShown(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidfocusGained(java.awt.event.FocusEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidfocusLost(java.awt.event.FocusEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
static java.util.EventListener[]getListeners(java.util.EventListener l, java.lang.Class type)

Returns an array of all chained listeners of the specified type in the given chain.
voidhierarchyChanged(java.awt.event.HierarchyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidinputMethodTextChanged(java.awt.event.InputMethodEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voiditemStateChanged(java.awt.event.ItemEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidkeyPressed(java.awt.event.KeyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidkeyReleased(java.awt.event.KeyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidkeyTyped(java.awt.event.KeyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmouseClicked(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmouseDragged(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmouseEntered(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmouseExited(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmouseMoved(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmousePressed(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmouseReleased(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidmouseWheelMoved(java.awt.event.MouseWheelEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
java.util.EventListenerremove(java.util.EventListener oldl)

Removes one instance of the specified listener from this multicaster chain.
static java.awt.event.ComponentListenerremove(java.awt.event.ComponentListener l, java.awt.event.ComponentListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.ContainerListenerremove(java.awt.event.ContainerListener l, java.awt.event.ContainerListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.FocusListenerremove(java.awt.event.FocusListener l, java.awt.event.FocusListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.KeyListenerremove(java.awt.event.KeyListener l, java.awt.event.KeyListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.MouseListenerremove(java.awt.event.MouseListener l, java.awt.event.MouseListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.MouseMotionListenerremove(java.awt.event.MouseMotionListener l, java.awt.event.MouseMotionListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.WindowListenerremove(java.awt.event.WindowListener l, java.awt.event.WindowListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.WindowStateListenerremove(java.awt.event.WindowStateListener l, java.awt.event.WindowStateListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.WindowFocusListenerremove(java.awt.event.WindowFocusListener l, java.awt.event.WindowFocusListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.ActionListenerremove(java.awt.event.ActionListener l, java.awt.event.ActionListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.ItemListenerremove(java.awt.event.ItemListener l, java.awt.event.ItemListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.AdjustmentListenerremove(java.awt.event.AdjustmentListener l, java.awt.event.AdjustmentListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.TextListenerremove(java.awt.event.TextListener l, java.awt.event.TextListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.InputMethodListenerremove(java.awt.event.InputMethodListener l, java.awt.event.InputMethodListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.HierarchyListenerremove(java.awt.event.HierarchyListener l, java.awt.event.HierarchyListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.HierarchyBoundsListenerremove(java.awt.event.HierarchyBoundsListener l, java.awt.event.HierarchyBoundsListener oldl)

Removes the listener oldl from the listener l.
static java.awt.event.MouseWheelListenerremove(java.awt.event.MouseWheelListener l, java.awt.event.MouseWheelListener oldl)

Removes the listener oldl from the listener l.
static java.util.EventListenerremoveInternal(java.util.EventListener l, java.util.EventListener oldl)

Removes the listener oldl from the listener l.
static voidsave(java.io.ObjectOutputStream s, java.lang.String k, java.util.EventListener l)

Saves a Serializable listener chain to a serialization stream.
voidsaveInternal(java.io.ObjectOutputStream s, java.lang.String k)

Saves all Serializable listeners to a serialization stream.
voidtextValueChanged(java.awt.event.TextEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowActivated(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowClosed(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowClosing(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowDeactivated(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowDeiconified(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowGainedFocus(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowIconified(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowLostFocus(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowOpened(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.
voidwindowStateChanged(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Field Details

a

protected final EventListener a

A variable in the event chain.


b

protected final EventListener b

A variable in the event chain.


Constructor Details

AWTEventMulticaster

protected AWTEventMulticaster(java.util.EventListener a, java.util.EventListener b)

Initializes a new instance of AWTEventMulticaster with the specified event listener parameters. The parameters should not be null, although it is not required to enforce this with a NullPointerException.

Parameters:


Method Details

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


add

public static ActionListener add(java.awt.event.ActionListener a, java.awt.event.ActionListener b)

Chain ActionListener a and b.

Parameters:

Returns:


add

public static AdjustmentListener add(java.awt.event.AdjustmentListener a, java.awt.event.AdjustmentListener b)

Chain AdjustmentListener a and b.

Parameters:

Returns:


add

public static ComponentListener add(java.awt.event.ComponentListener a, java.awt.event.ComponentListener b)

Chain ComponentListener a and b.

Parameters:

Returns:


add

public static ContainerListener add(java.awt.event.ContainerListener a, java.awt.event.ContainerListener b)

Chain ContainerListener a and b.

Parameters:

Returns:


add

public static FocusListener add(java.awt.event.FocusListener a, java.awt.event.FocusListener b)

Chain FocusListener a and b.

Parameters:

Returns:


add

public static HierarchyBoundsListener add(java.awt.event.HierarchyBoundsListener a, java.awt.event.HierarchyBoundsListener b)

Chain HierarchyBoundsListener a and b.

Since:Parameters:

Returns:


add

public static HierarchyListener add(java.awt.event.HierarchyListener a, java.awt.event.HierarchyListener b)

Chain HierarchyListener a and b.

Since:Parameters:

Returns:


add

public static InputMethodListener add(java.awt.event.InputMethodListener a, java.awt.event.InputMethodListener b)

Chain InputMethodListener a and b.

Since:Parameters:

Returns:


add

public static ItemListener add(java.awt.event.ItemListener a, java.awt.event.ItemListener b)

Chain ItemListener a and b.

Parameters:

Returns:


add

public static KeyListener add(java.awt.event.KeyListener a, java.awt.event.KeyListener b)

Chain KeyListener a and b.

Parameters:

Returns:


add

public static MouseListener add(java.awt.event.MouseListener a, java.awt.event.MouseListener b)

Chain MouseListener a and b.

Parameters:

Returns:


add

public static MouseMotionListener add(java.awt.event.MouseMotionListener a, java.awt.event.MouseMotionListener b)

Chain MouseMotionListener a and b.

Parameters:

Returns:


add

public static MouseWheelListener add(java.awt.event.MouseWheelListener a, java.awt.event.MouseWheelListener b)

Chain MouseWheelListener a and b.

Since:Parameters:

Returns:


add

public static TextListener add(java.awt.event.TextListener a, java.awt.event.TextListener b)

Chain AdjustmentListener a and b.

Parameters:

Returns:


add

public static WindowFocusListener add(java.awt.event.WindowFocusListener a, java.awt.event.WindowFocusListener b)

Chain WindowFocusListener a and b.

Since:Parameters:

Returns:


add

public static WindowListener add(java.awt.event.WindowListener a, java.awt.event.WindowListener b)

Chain WindowListener a and b.

Parameters:

Returns:


add

public static WindowStateListener add(java.awt.event.WindowStateListener a, java.awt.event.WindowStateListener b)

Chain WindowStateListener a and b.

Since:Parameters:

Returns:


addInternal

protected static EventListener addInternal(java.util.EventListener a, java.util.EventListener b)

Chain EventListener a and b.

Parameters:

Returns:


adjustmentValueChanged

public void adjustmentValueChanged(java.awt.event.AdjustmentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


ancestorMoved

public void ancestorMoved(java.awt.event.HierarchyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


ancestorResized

public void ancestorResized(java.awt.event.HierarchyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


caretPositionChanged

public void caretPositionChanged(java.awt.event.InputMethodEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


componentAdded

public void componentAdded(java.awt.event.ContainerEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


componentHidden

public void componentHidden(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


componentMoved

public void componentMoved(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


componentRemoved

public void componentRemoved(java.awt.event.ContainerEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


componentResized

public void componentResized(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


componentShown

public void componentShown(java.awt.event.ComponentEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


focusGained

public void focusGained(java.awt.event.FocusEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


focusLost

public void focusLost(java.awt.event.FocusEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


getListeners

public static EventListener[] getListeners(java.util.EventListener l, java.lang.Class type)

Returns an array of all chained listeners of the specified type in the given chain. A null listener returns an empty array, and a listener which is not an AWTEventMulticaster returns an array of one element. If no listeners in the chain are of the specified type, an empty array is returned.

Since:Parameters:

Returns:

Throws:


hierarchyChanged

public void hierarchyChanged(java.awt.event.HierarchyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


inputMethodTextChanged

public void inputMethodTextChanged(java.awt.event.InputMethodEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


keyPressed

public void keyPressed(java.awt.event.KeyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


keyReleased

public void keyReleased(java.awt.event.KeyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


keyTyped

public void keyTyped(java.awt.event.KeyEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mouseClicked

public void mouseClicked(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mouseEntered

public void mouseEntered(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mouseExited

public void mouseExited(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mousePressed

public void mousePressed(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


mouseWheelMoved

public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


remove

public static ActionListener remove(java.awt.event.ActionListener l, java.awt.event.ActionListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static AdjustmentListener remove(java.awt.event.AdjustmentListener l, java.awt.event.AdjustmentListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static ComponentListener remove(java.awt.event.ComponentListener l, java.awt.event.ComponentListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static ContainerListener remove(java.awt.event.ContainerListener l, java.awt.event.ContainerListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static FocusListener remove(java.awt.event.FocusListener l, java.awt.event.FocusListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static HierarchyBoundsListener remove(java.awt.event.HierarchyBoundsListener l, java.awt.event.HierarchyBoundsListener oldl)

Removes the listener oldl from the listener l.

Since:Parameters:

Returns:


remove

public static HierarchyListener remove(java.awt.event.HierarchyListener l, java.awt.event.HierarchyListener oldl)

Removes the listener oldl from the listener l.

Since:Parameters:

Returns:


remove

public static InputMethodListener remove(java.awt.event.InputMethodListener l, java.awt.event.InputMethodListener oldl)

Removes the listener oldl from the listener l.

Since:Parameters:

Returns:


remove

public static ItemListener remove(java.awt.event.ItemListener l, java.awt.event.ItemListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static KeyListener remove(java.awt.event.KeyListener l, java.awt.event.KeyListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static MouseListener remove(java.awt.event.MouseListener l, java.awt.event.MouseListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static MouseMotionListener remove(java.awt.event.MouseMotionListener l, java.awt.event.MouseMotionListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static MouseWheelListener remove(java.awt.event.MouseWheelListener l, java.awt.event.MouseWheelListener oldl)

Removes the listener oldl from the listener l.

Since:Parameters:

Returns:


remove

public static TextListener remove(java.awt.event.TextListener l, java.awt.event.TextListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static WindowFocusListener remove(java.awt.event.WindowFocusListener l, java.awt.event.WindowFocusListener oldl)

Removes the listener oldl from the listener l.

Since:Parameters:

Returns:


remove

public static WindowListener remove(java.awt.event.WindowListener l, java.awt.event.WindowListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


remove

public static WindowStateListener remove(java.awt.event.WindowStateListener l, java.awt.event.WindowStateListener oldl)

Removes the listener oldl from the listener l.

Since:Parameters:

Returns:


remove

protected EventListener remove(java.util.EventListener oldl)

Removes one instance of the specified listener from this multicaster chain. This descends recursively if either child is a multicaster, and returns a multicaster chain with the old listener removed.

Parameters:

Returns:


removeInternal

protected static EventListener removeInternal(java.util.EventListener l, java.util.EventListener oldl)

Removes the listener oldl from the listener l.

Parameters:

Returns:


save

protected static void save(java.io.ObjectOutputStream s, java.lang.String k, java.util.EventListener l)

Saves a Serializable listener chain to a serialization stream.

Parameters:

Throws:


saveInternal

protected void saveInternal(java.io.ObjectOutputStream s, java.lang.String k)

Saves all Serializable listeners to a serialization stream.

Parameters:

Throws:


textValueChanged

public void textValueChanged(java.awt.event.TextEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowActivated

public void windowActivated(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowClosed

public void windowClosed(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowClosing

public void windowClosing(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowGainedFocus

public void windowGainedFocus(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


windowIconified

public void windowIconified(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowLostFocus

public void windowLostFocus(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters:


windowOpened

public void windowOpened(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Parameters:


windowStateChanged

public void windowStateChanged(java.awt.event.WindowEvent e)

Handles this event by dispatching it to the "a" and "b" listener instances.

Since:Parameters: