APIdia Launch Partner
Top Description Inners Fields Constructors Methods
java.awt

public Class Window

Additional top-level class in compilation unit: FocusManager.

extends Container
implements Accessible
Class Inheritance
All Implemented Interfaces
javax.accessibility.Accessible
Known Direct Subclasses
javax.swing.JWindow, javax.swing.plaf.basic.BasicToolBarUI.DragWindow, sun.awt.X11.InfoWindow, java.awt.Frame, java.awt.Dialog
Imports
java.awt.event.ComponentEvent, .FocusEvent, .KeyEvent, .MouseWheelEvent, .WindowEvent, .WindowFocusListener, .WindowListener, .WindowStateListener, java.awt.geom.Path2D, .Point2D, java.awt.im.InputContext, java.awt.image.BufferStrategy, java.awt.peer.ComponentPeer, .WindowPeer, java.beans.PropertyChangeListener, java.io.IOException, .ObjectInputStream, .ObjectOutputStream, .OptionalDataException, .Serial, .Serializable, java.lang.ref.WeakReference, java.lang.reflect.InvocationTargetException, java.util.ArrayList, .Arrays, .EventListener, .Locale, .ResourceBundle, .Set, .Vector, java.util.concurrent.atomic.AtomicBoolean, javax.accessibility.Accessible, .AccessibleContext, .AccessibleRole, .AccessibleState, .AccessibleStateSet, sun.awt.AWTAccessor, .DebugSettings, .SunToolkit, sun.awt.util.IdentityArrayList, sun.java2d.pipe.Region, sun.util.logging.PlatformLogger

A Window object is a top-level window with no borders and no menubar. The default layout for a window is BorderLayout.

A window must have either a frame, dialog, or another window defined as its owner when it's constructed.

In a multi-screen environment, you can create a Window on a different screen device by constructing the Window with Window(Window, GraphicsConfiguration). The GraphicsConfiguration object is one of the GraphicsConfiguration objects of the target screen device.

In a virtual device multi-screen environment in which the desktop area could span multiple physical screen devices, the bounds of all configurations are relative to the virtual device coordinate system. The origin of the virtual-coordinate system is at the upper left-hand corner of the primary physical screen. Depending on the location of the primary screen in the virtual device, negative coordinates are possible, as shown in the following figure.

Diagram shows virtual device containing 4 physical screens. Primary
physical screen shows coords (0,0), other screen shows (-80,-100).

In such an environment, when calling setLocation, you must pass a virtual coordinate to this method. Similarly, calling getLocationOnScreen on a Window returns virtual device coordinates. Call the getBounds method of a GraphicsConfiguration to find its origin in the virtual coordinate system.

The following code sets the location of a Window at (10, 10) relative to the origin of the physical screen of the corresponding GraphicsConfiguration. If the bounds of the GraphicsConfiguration is not taken into account, the Window location would be set at (10, 10) relative to the virtual-coordinate system and would appear on the primary physical screen, which might be different from the physical screen of the specified GraphicsConfiguration.

     Window w = new Window(Window owner, GraphicsConfiguration gc);
     Rectangle bounds = gc.getBounds();
     w.setLocation(10 + bounds.x, 10 + bounds.y);

Note

the location and size of top-level windows (including Windows, Frames, and Dialogs) are under the control of the desktop's window management system. Calls to setLocation, setSize, and setBounds are requests (not directives) which are forwarded to the window management system. Every effort will be made to honor such requests. However, in some cases the window management system may ignore such requests, or modify the requested geometry in order to place and size the Window in a way that more closely matches the desktop settings.

Visual effects such as halos, shadows, motion effects and animations may be applied to the window by the desktop window management system. These are outside the knowledge and control of the AWT and so for the purposes of this specification are not considered part of the top-level window.

Due to the asynchronous nature of native event handling, the results returned by getBounds, getLocation, getLocationOnScreen, and getSize might not reflect the actual geometry of the Window on screen until the last request has been processed. During the processing of subsequent requests these values might change accordingly while the window management system fulfills the requests.

An application may set the size and location of an invisible Window arbitrarily, but the window management system may subsequently change its size and/or location when the Window is made visible. One or more ComponentEvents will be generated to indicate the new geometry.

Windows are capable of generating the following WindowEvents: WindowOpened, WindowClosed, WindowGainedFocus, WindowLostFocus.

Authors
Sami Shaio, Arthur van Hoff
Since
1.0
See Also
WindowEvent, addWindowListener, java.awt.BorderLayout

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected class
Window.AccessibleAWTWindow

This class implements accessibility support for the Window class.

public static enum
Window.Type

Enumeration of available window types.

pack-priv static class

Field Summary

Modifier and TypeField and Description
private static final IdentityArrayList<Window>
allWindows

Contains all the windows that have a peer object associated, i.

private boolean
alwaysOnTop

A boolean value representing Window always-on-top state

pack-priv transient Object
private volatile boolean
autoRequestFocus

Indicates whether this window should receive focus on subsequently being shown (with a call to setVisible(true)), or being moved to the front (with a call to toFront()).

private static final String
pack-priv transient boolean
private static final AtomicBoolean
pack-priv transient Window.WindowDisposerRecord
private transient boolean
private boolean
focusableWindowState

Indicates whether this Window can become the focused Window.

private FocusManager
focusMgr

Unused.

pack-priv transient List<Image>
icons

icons is the graphical way we can represent the frames and dialogs.

pack-priv transient InputContext
private transient Object
pack-priv transient boolean
pack-priv transient boolean
private volatile boolean
private static final boolean
private static final PlatformLogger
pack-priv transient Dialog
modalBlocker

Contains the modal dialog that blocks this window, or null if the window is unblocked.

pack-priv Dialog.ModalExclusionType
private static int
private volatile float
opacity

The opacity level of the window

pack-priv static final int
pack-priv transient Vector<WeakReference<Window>>
ownedWindowList

A vector containing all the windows this window currently owns.

private static final long
serialVersionUID

Hides java.awt.Container.serialVersionUID.

Use serialVersionUID from JDK 1.1 for interoperability.
private Shape
shape

The shape assigned to this window.

pack-priv transient boolean
pack-priv int
state

An Integer value representing the Window State.

pack-priv boolean
pack-priv static boolean
private transient Component
temporaryLostComponent

Holds the reference to the component which last had focus in this window before it lost focus.

private Window.Type
private transient WeakReference<Window>
pack-priv transient WindowFocusListener
private static final Vector<WeakReference<Window>>
pack-priv transient WindowListener
private int
windowSerializedDataVersion

The window serialized data version.

pack-priv transient WindowStateListener
Inherited from java.awt.Container:
containerListenerdescendantsCountINCLUDE_SELFlayoutMgrlisteningBoundsChildrenlisteningChildrenmodalComppreserveBackgroundColorSEARCH_HEAVYWEIGHTS

Constructor Summary

AccessConstructor and Description
pack-priv
Window(GraphicsConfiguration
the GraphicsConfiguration of the target screen device. If gc is null, the system default GraphicsConfiguration is assumed
gc
)

Constructs a new, initially invisible window in default size with the specified GraphicsConfiguration.

pack-priv
Window()

Constructs a new, initially invisible window in the default size.

public
Window(Frame
the Frame to act as owner or null if this window has no owner
owner
)

Constructs a new, initially invisible window with the specified Frame as its owner.

public
Window(Window
the Window to act as owner or null if this window has no owner
owner
)

Constructs a new, initially invisible window with the specified Window as its owner.

public
Window(Window
the window to act as owner or null if this window has no owner
owner
,
GraphicsConfiguration
the GraphicsConfiguration of the target screen device; if gc is null, the system default GraphicsConfiguration is assumed
gc
)

Constructs a new, initially invisible window with the specified owner Window and a GraphicsConfiguration of a screen device.

Method Summary

Modifier and TypeMethod and Description
public void
addNotify()

Overrides java.awt.Container.addNotify.

Makes this Window displayable by creating the connection to its native screen resource.

pack-priv void
public void
addPropertyChangeListener(PropertyChangeListener
the PropertyChangeListener to be added
listener
)

Overrides java.awt.Container.addPropertyChangeListener.

Adds a PropertyChangeListener to the listener list.

public void
addPropertyChangeListener(String
one of the property names listed above
propertyName
,
PropertyChangeListener
the PropertyChangeListener to be added
listener
)

Overrides java.awt.Container.addPropertyChangeListener.

Adds a PropertyChangeListener to the listener list for a specific property.

private void
public synchronized void
addWindowFocusListener(WindowFocusListener
the window focus listener
l
)

Adds the specified window focus listener to receive window events from this window.

public synchronized void
addWindowListener(WindowListener
the window listener
l
)

Adds the specified window listener to receive window events from this window.

public synchronized void
addWindowStateListener(WindowStateListener
the window state listener
l
)

Adds the specified window state listener to receive window events from this window.

pack-priv void
pack-priv void
pack-priv final void
applyCompoundShape(Region
Shape to be applied to the component
shape
)

Overrides java.awt.Component.applyCompoundShape.

Applies the shape to the component

pack-priv final void
public void
applyResourceBundle(ResourceBundle
the resource bundle
rb
)
Deprecated As of J2SE 1.4, replaced by Component.applyComponentOrientation.

public void
applyResourceBundle(String
the resource name
rbName
)
Deprecated As of J2SE 1.4, replaced by Component.applyComponentOrientation.

pack-priv boolean
canContainFocusOwner(Component focusOwnerCandidate)

Overrides java.awt.Container.canContainFocusOwner.

Checks whether this window can contain focus owner.

pack-priv final void
pack-priv final void
pack-priv void
pack-priv String
constructComponentName()

Overrides java.awt.Component.constructComponentName.

Construct a name for this component.

public void
createBufferStrategy(int
number of buffers to create
numBuffers
)

Overrides java.awt.Component.createBufferStrategy.

Creates a new strategy for multi-buffering on this component.

public void
createBufferStrategy(int
number of buffers to create, including the front buffer
numBuffers
,
BufferCapabilities
the required capabilities for creating the buffer strategy; cannot be null
caps
)

Overrides java.awt.Component.createBufferStrategy.

Creates a new strategy for multi-buffering on this component with the required buffer capabilities.

pack-priv void
deliverMouseWheelToAncestor(MouseWheelEvent e)

Overridden from Component.

private void
pack-priv void
dispatchEventImpl(AWTEvent
the event
e
)

Overrides java.awt.Container.dispatchEventImpl.

Dispatches an event to this window or one of its sub components.

pack-priv boolean
public void
dispose()

Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned children.

pack-priv void
pack-priv void
pack-priv boolean
public AccessibleContext

Returns:

an AccessibleAWTWindow that serves as the AccessibleContext of this Window
getAccessibleContext
()

Overrides java.awt.Component.getAccessibleContext.

Implements javax.accessibility.Accessible.getAccessibleContext.

Gets the AccessibleContext associated with this Window.

pack-priv static IdentityArrayList<Window>
pack-priv static IdentityArrayList<Window>
public Color

Returns:

this component's background color
getBackground
()

Overrides java.awt.Component.getBackground.

Gets the background color of this window.

public BufferStrategy

Returns:

the buffer strategy used by this component
getBufferStrategy
()

Overrides java.awt.Component.getBufferStrategy.

Returns the BufferStrategy used by this component.

pack-priv final Container
pack-priv Window
public boolean

Returns:

whether this Window can be the focused Window
getFocusableWindowState
()

Returns whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.

public final Container

Returns:

null
getFocusCycleRootAncestor
()

Overrides java.awt.Component.getFocusCycleRootAncestor.

Always returns null because Windows have no ancestors; they represent the top of the Component hierarchy.

public Component

Returns:

the child Component with focus, or null if this Window is not focused
getFocusOwner
()

Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise.

public Set<AWTKeyStroke>

Returns:

the AWTKeyStroke for the specified key
getFocusTraversalKeys
(int
one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS, KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, or KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS
id
)

Overrides java.awt.Container.getFocusTraversalKeys.

Gets a focus traversal key for this Window.

public List<Image>

Returns:

the copy of icon images' list for this window, or empty list if this window doesn't have icon images.
getIconImages
()

Returns the sequence of images to be displayed as the icon for this window.

public InputContext
getInputContext()

Overrides java.awt.Component.getInputContext.

Gets the input context for this window.

public <T extends EventListener> T[]

Returns:

an array of all objects registered as FooListeners on this window, or an empty array if no such listeners have been added
getListeners
(Class<T>
the type of listeners requested; this parameter should specify an interface that descends from java.util.EventListener
listenerType
)

Overrides java.awt.Container.getListeners.

Returns an array of all the objects currently registered as FooListeners upon this Window.

public Locale

Returns:

the locale that is set for this window.
getLocale
()

Overrides java.awt.Component.getLocale.

Gets the Locale object that is associated with this window, if the locale has been set.

pack-priv final Point
pack-priv Dialog
public Dialog.ModalExclusionType

Returns:

the modal exclusion type of this window
getModalExclusionType
()

Returns the modal exclusion type of this window.

public Component

Returns:

the child Component that will receive focus when this Window is focused
getMostRecentFocusOwner
()

Returns the child Component of this Window that will receive the focus when this Window is focused.

public float

Returns:

the opacity of the window
getOpacity
()

Returns the opacity of the window.

public Window[]

Returns:

the array of all the owned windows
getOwnedWindows
()

Return an array containing all the windows this window currently owns.

pack-priv final Window[]
public Window

Returns:

the owner of this window
getOwner
()

Returns the owner of this window.

pack-priv final Window
public static Window[]

Returns:

the array of all the ownerless Windows created by this application
getOwnerlessWindows
()

Returns an array of all Windows created by this application that have no owner.

public Shape

Returns:

the shape of the window or null if no shape is specified for the window
getShape
()

Returns the shape of the window.

pack-priv Component
public Toolkit

Returns:

the toolkit of this window.
getToolkit
()

Overrides java.awt.Component.getToolkit.

Returns the toolkit of this frame.

public Window.Type

Returns:

the type of the window
getType
()

Returns the type of the window.

public final String

Returns:

null
getWarningString
()
Deprecated for removal since 24. since JDK 24

Gets the warning string that is displayed with this window.

public synchronized WindowFocusListener[]

Returns:

all of this window's WindowFocusListeners or an empty array if no window focus listeners are currently registered
getWindowFocusListeners
()

Returns an array of all the window focus listeners registered on this window.

public synchronized WindowListener[]

Returns:

all of this window's WindowListeners or an empty array if no window listeners are currently registered
getWindowListeners
()

Returns an array of all the window listeners registered on this window.

public static Window[]

Returns:

the array of all the Windows created by the application
getWindows
()

Returns an array of all Windows, both owned and ownerless, created by this application.

public synchronized WindowStateListener[]

Returns:

all of this window's WindowStateListeners or an empty array if no window state listeners are currently registered
getWindowStateListeners
()

Returns an array of all the window state listeners registered on this window.

public void
hide()

Overrides java.awt.Component.hide.

Deprecated As of JDK version 1.5, replaced by setVisible(boolean).

Hide this Window, its subcomponents, and all of its owned children.

private void
private void
private GraphicsConfiguration
private static native void
initIDs()

Hides java.awt.Container.initIDs.

Initialize JNI field and method IDs for fields that may be accessed from C.

public boolean

Returns:

whether this is the active Window.
isActive
()

Returns whether this Window is active.

public final boolean

Returns:

true, if the window is in always-on-top state, false otherwise
isAlwaysOnTop
()

Returns whether this window is an always-on-top window.

public boolean

Returns:

true, if the always-on-top mode is supported for this window and this window's toolkit supports always-on-top windows, false otherwise
isAlwaysOnTopSupported
()

Returns whether the always-on-top mode is supported for this window.

public boolean

Returns:

autoRequestFocus value
isAutoRequestFocus
()

Returns whether this window should receive focus on subsequently being shown (with a call to setVisible(true)), or being moved to the front (with a call to toFront).

pack-priv boolean
public final boolean

Returns:

true if this Window can be the focused Window; false otherwise
isFocusableWindow
()

Returns whether this Window can become the focused Window, that is, whether this Window or any of its subcomponents can become the focus owner.

public final boolean

Returns:

true
isFocusCycleRoot
()

Overrides java.awt.Container.isFocusCycleRoot.

Always returns true because all Windows must be roots of a focus traversal cycle.

public boolean

Returns:

whether this is the focused Window.
isFocused
()

Returns whether this Window is focused.

public boolean

Returns:

whether this Window will appear at the default location
isLocationByPlatform
()

Returns true if this Window will appear at the default location for the native windowing system the next time this Window is made visible.

pack-priv boolean
pack-priv boolean
public boolean

Returns:

true if the window is opaque, false otherwise
isOpaque
()

Overrides java.awt.Component.isOpaque.

Indicates if the window is currently opaque.

pack-priv boolean

Returns:

true if the component and all of its ancestors until a toplevel window are visible, false otherwise
isRecursivelyVisible
()

Overrides java.awt.Component.isRecursivelyVisible.

Determines whether this component will be displayed on the screen.

public boolean
isShowing()

Overrides java.awt.Component.isShowing.

Checks if this Window is showing on screen.

public boolean

Returns:

true
isValidateRoot
()

Overrides java.awt.Container.isValidateRoot.

Indicates if this container is a validate root.

private static double
limit(double value, double min, double max)

Limit the given double value with the given range.

pack-priv final void
private void
public void
pack()

Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.

public void
paint(Graphics g)

Overrides java.awt.Container.paint.

Paints the container.

public boolean
postEvent(Event e)

Overrides java.awt.Component.postEvent.

Implements java.awt.MenuContainer.postEvent.

Deprecated As of JDK version 1.1 replaced by dispatchEvent(AWTEvent).

Posts an event to the listeners.

pack-priv void
pack-priv synchronized void
pack-priv void
preProcessKeyEvent(KeyEvent
the keyboard event
e
)

Overrides java.awt.Container.preProcessKeyEvent.

Implements a debugging hook -- checks to see if the user has typed control-shift-F1.

protected void
processEvent(AWTEvent
the event
e
)

Overrides java.awt.Container.processEvent.

Processes events on this window.

protected void
processWindowEvent(WindowEvent
the window event
e
)

Processes window events occurring on this window by dispatching them to any registered WindowListener objects.

protected void
processWindowFocusEvent(WindowEvent
the window focus event
e
)

Processes window focus event occurring on this window by dispatching them to any registered WindowFocusListener objects.

protected void
processWindowStateEvent(WindowEvent
the window state event
e
)

Processes window state event occurring on this window by dispatching them to any registered WindowStateListener objects.

private void
readObject(ObjectInputStream
the ObjectInputStream to read
s
)

Hides java.awt.Container.readObject.

Reads the ObjectInputStream and an optional list of listeners to receive various events fired by the component; also reads a list of (possibly null) child windows.

private static void
private void
public void
removeNotify()

Overrides java.awt.Container.removeNotify.

Makes this Container undisplayable by removing its connection to its native screen resource.

pack-priv void
public synchronized void
removeWindowFocusListener(WindowFocusListener
the window focus listener
l
)

Removes the specified window focus listener so that it no longer receives window events from this window.

public synchronized void
removeWindowListener(WindowListener
the window listener
l
)

Removes the specified window listener so that it no longer receives window events from this window.

public synchronized void
removeWindowStateListener(WindowStateListener
the window state listener
l
)

Removes the specified window state listener so that it no longer receives window events from this window.

public void
reshape(int x, int y, int width, int height)

Overrides java.awt.Component.reshape.

Deprecated As of JDK version 1.1, replaced by setBounds(int, int, int, int).

Reshapes the bounding rectangle for this component.

public final void
setAlwaysOnTop(boolean
true if the window should always be above other windows
alwaysOnTop
)

Sets whether this window should always be above other windows.

public void
setAutoRequestFocus(boolean
whether this window should be focused on subsequently being shown or being moved to the front
autoRequestFocus
)

Sets whether this window should receive focus on subsequently being shown (with a call to setVisible(true)), or being moved to the front (with a call to toFront).

public void
setBackground(Color
the color to become this window's background color.
bgColor
)

Overrides java.awt.Component.setBackground.

Sets the background color of this window.

public void
setBounds(int x, int y, int width, int height)

Overrides java.awt.Component.setBounds.

Moves and resizes this component.

public void
setBounds(Rectangle r)

Overrides java.awt.Component.setBounds.

Moves and resizes this component to conform to the new bounding rectangle r.

pack-priv void
setClientSize(int w, int h)

public void
setCursor(Cursor
One of the constants defined by the Cursor class. If this parameter is null then the cursor for this window will be set to the type Cursor.DEFAULT_CURSOR.
cursor
)

Overrides java.awt.Component.setCursor.

Set the cursor image to a specified cursor.

public void
setFocusableWindowState(boolean
whether this Window can be the focused Window
focusableWindowState
)

Sets whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.

public final void
setFocusCycleRoot(boolean
this value is ignored
focusCycleRoot
)

Overrides java.awt.Container.setFocusCycleRoot.

Does nothing because Windows must always be roots of a focus traversal cycle.

pack-priv void
public void
setIconImage(Image
the icon image to be displayed.
image
)

Sets the image to be displayed as the icon for this window.

public synchronized void
setIconImages(List<? extends Image>
the list of icon images to be displayed.
icons
)

Sets the sequence of images to be displayed as the icon for this window.

private static void
setLayersOpaque(Component component, boolean isOpaque)

public void
setLocation(int x, int y)

Overrides java.awt.Component.setLocation.

Moves this component to a new location.

public void
setLocation(Point p)

Overrides java.awt.Component.setLocation.

Moves this component to a new location.

public void
setLocationByPlatform(boolean
true if this Window should appear at the default location, false if at the current location
locationByPlatform
)

Sets whether this Window should appear at the default location for the native windowing system or at the current location (returned by getLocation) the next time the Window is made visible.

public void
setLocationRelativeTo(Component
the component in relation to which the window's location is determined
c
)

Sets the location of the window relative to the specified component according to the following scenarios.

public void
setMinimumSize(Dimension
the new minimum size of this window
minimumSize
)

Overrides java.awt.Component.setMinimumSize.

Sets the minimum size of this window to a constant value.

pack-priv void
setModalBlocked(Dialog blocker, boolean blocked, boolean peerCall)

public void
setModalExclusionType(Dialog.ModalExclusionType
the modal exclusion type for this window; a null value is equivalent to NO_EXCLUDE
exclusionType
)

Specifies the modal exclusion type for this window.

public void
setOpacity(float
the opacity level to set to the window
opacity
)

Sets the opacity of the window.

private void
setOwnedWindowsAlwaysOnTop(boolean alwaysOnTop)

public void
setShape(Shape
the shape to set to the window
shape
)

Sets the shape of the window.

public void
setSize(Dimension d)

Overrides java.awt.Component.setSize.

Resizes this component so that it has width d.width and height d.height.

public void
setSize(int width, int height)

Overrides java.awt.Component.setSize.

Resizes this component so that it has width width and height height.

pack-priv Component
public void
setType(Window.Type
the window type
type
)

Sets the type of the window.

public void
setVisible(boolean
if true, makes the Window visible, otherwise hides the Window. If the Window and/or its owner are not yet displayable, both are made displayable. The Window will be validated prior to being made visible. If the Window is already visible, this will bring the Window to the front.

If false, hides this Window, its subcomponents, and all of its owned children. The Window and its subcomponents can be made visible again with a call to #setVisible(true).

b
)

Overrides java.awt.Component.setVisible.

Shows or hides this Window depending on the value of parameter b.

public void
show()

Overrides java.awt.Component.show.

Deprecated As of JDK version 1.5, replaced by setVisible(boolean).

Makes the Window visible.

public void
toBack()

If this Window is visible, sends this Window to the back and may cause it to lose focus or activation if it is the focused or active Window.

pack-priv final void
public void
toFront()

If this Window is visible, brings this Window to the front and may make it the focused Window.

pack-priv final void
pack-priv static void
pack-priv void
private void
pack-priv void
private void
writeObject(ObjectOutputStream
the ObjectOutputStream to write
s
)

Hides java.awt.Container.writeObject.

Writes default serializable fields to stream.

Inherited from java.awt.Container:
addaddaddaddaddaddContainerListeneraddImpladjustDescendantsadjustListeningChildrenapplyComponentOrientationareFocusTraversalKeysSetcheckGDclearCurrentFocusCycleRootOnHidecontainsFocuscountComponentscountHierarchyMemberscreateChildHierarchyEventscreateHierarchyEventsdecreaseComponentCountdeliverEventdispatchEventToSelfdoLayoutfindComponentAtfindComponentAtfindComponentAtfindComponentAtImplgetAccessibleAtgetAccessibleChildgetAccessibleChildrenCountgetAlignmentXgetAlignmentYgetComponentgetComponentAtgetComponentAtgetComponentCountgetComponentsgetComponents_NoClientCodegetComponentsSyncgetComponentZOrdergetContainerListenersgetDropTargetEventTargetgetFocusTraversalPolicygetHeavyweightContainergetInsetsgetLayoutgetMaximumSizegetMinimumSizegetMouseEventTargetgetMousePositiongetOpaqueShapegetPreferredSizegetTraversalRoothasHeavyweightDescendantshasLightweightDescendantsincreaseComponentCountinitializeFocusTraversalKeysinsetsinvalidateinvalidateParentinvalidateTreeisAncestorOfisFocusCycleRootisFocusTraversalPolicyProviderisFocusTraversalPolicySetisRecursivelyVisibleUpToHeavyweightContainerisSameOrAncestorOflayoutlightweightPaintlightweightPrintlistlistlocateminimumSizemixOnHidingmixOnShowingmixOnValidatingmixOnZOrderChangingnumListeningpaintComponentspaintHeavyweightComponentsparamStringpostsOldMouseEventspreferredSizeprintprintComponentsprintHeavyweightComponentsprocessContainerEventproxyEnableEventsrecursiveApplyCurrentShaperecursiveApplyCurrentShaperecursiveApplyCurrentShaperecursiveSubtractAndApplyShaperecursiveSubtractAndApplyShaperecursiveSubtractAndApplyShaperemoveremoveremoveAllremoveContainerListenersetComponentZOrdersetFocusTraversalKeyssetFocusTraversalPolicysetFocusTraversalPolicyProvidersetFontsetLayouttransferFocusDownCycleupdateupdateChildGraphicsDatavalidatevalidateTreevalidateUnconditionally