APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.java.accessibility.util

pack-priv Class TopLevelWindowMulticaster

extends AWTEventMulticaster
implements TopLevelWindowListener
Class Inheritance
All Implemented Interfaces
com.sun.java.accessibility.util.TopLevelWindowListener, java.util.EventListener
Imports
java.awt.*, java.util.EventListener, javax.accessibility.*

The TopLevelWindowMulticaster class is used to maintain a list of TopLevelWindowListener classes. It is intended to be used primarily for internal support in the EventQueueMonitor class, and is not intended to be used by classes outside the Java Accessibility Utility package.
See Also
EventQueueMonitor, EventQueueMonitor#addTopLevelWindowListener, EventQueueMonitor#removeTopLevelWindowListener

Field Summary

Inherited from java.awt.AWTEventMulticaster:
ab

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static TopLevelWindowListener
protected static EventListener
addInternal(EventListener a, EventListener b)

Hides java.awt.AWTEventMulticaster.addInternal.

Returns the resulting multicast listener from adding listener-a and listener-b together.

public static TopLevelWindowListener
protected static EventListener
removeInternal(EventListener l, EventListener oldl)

Hides java.awt.AWTEventMulticaster.removeInternal.

Returns the resulting multicast listener after removing the old listener from listener-l.

public void
topLevelWindowCreated(Window w)

Implements com.sun.java.accessibility.util.TopLevelWindowListener.topLevelWindowCreated.

Invoked when a new top level window has been created.

public void
Inherited from java.awt.AWTEventMulticaster:
actionPerformedaddaddaddaddaddaddaddaddaddaddaddaddaddaddaddaddaddadjustmentValueChangedancestorMovedancestorResizedcaretPositionChangedcomponentAddedcomponentHiddencomponentMovedcomponentRemovedcomponentResizedcomponentShownfocusGainedfocusLostgetListenershierarchyChangedinputMethodTextChangeditemStateChangedkeyPressedkeyReleasedkeyTypedmouseClickedmouseDraggedmouseEnteredmouseExitedmouseMovedmousePressedmouseReleasedmouseWheelMovedremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremoveremovesavesaveInternaltextValueChangedwindowActivatedwindowClosedwindowClosingwindowDeactivatedwindowDeiconifiedwindowGainedFocuswindowIconifiedwindowLostFocuswindowOpenedwindowStateChanged

Constructor Detail

TopLevelWindowMulticasterback to summary
protected TopLevelWindowMulticaster(EventListener a, EventListener b)

Method Detail

addback to summary
public static TopLevelWindowListener add(TopLevelWindowListener a, TopLevelWindowListener b)
addInternalback to summary
protected static EventListener addInternal(EventListener a, EventListener b)

Hides java.awt.AWTEventMulticaster.addInternal.

Doc from java.awt.AWTEventMulticaster.addInternal.

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.

removeback to summary
public static TopLevelWindowListener remove(TopLevelWindowListener l, TopLevelWindowListener oldl)
removeInternalback to summary
protected static EventListener removeInternal(EventListener l, EventListener oldl)

Hides java.awt.AWTEventMulticaster.removeInternal.

Doc from java.awt.AWTEventMulticaster.removeInternal.

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.

topLevelWindowCreatedback to summary
public void topLevelWindowCreated(Window w)

Implements com.sun.java.accessibility.util.TopLevelWindowListener.topLevelWindowCreated.

Doc from com.sun.java.accessibility.util.TopLevelWindowListener.topLevelWindowCreated.

Invoked when a new top level window has been created.

topLevelWindowDestroyedback to summary
public void topLevelWindowDestroyed(Window w)

Implements com.sun.java.accessibility.util.TopLevelWindowListener.topLevelWindowDestroyed.

Doc from com.sun.java.accessibility.util.TopLevelWindowListener.topLevelWindowDestroyed.

Invoked when a top level window has been destroyed.