Java Doc for Window.java in  » 6.0-JDK-Core » AWT » java » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » AWT » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Component
      java.awt.Container
         java.awt.Window

All known Subclasses:   java.awt.Frame,  java.awt.Dialog,
Window
public class Window extends Container implements Accessible(Code)
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(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.

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 ComponentEvent s will be generated to indicate the new geometry.

Windows are capable of generating the following WindowEvents: WindowOpened, WindowClosed, WindowGainedFocus, WindowLostFocus.
version:
   @(#)Window.java 1.266 07/06/05
author:
   Sami Shaio
author:
   Arthur van Hoff
See Also:   WindowEvent
See Also:   Window.addWindowListener
See Also:   java.awt.BorderLayout
since:
   JDK1.0


Inner Class :static class WindowDisposerRecord implements sun.java2d.DisposerRecord
Inner Class :protected class AccessibleAWTWindow extends AccessibleAWTContainer

Field Summary
final static  intOPENED
    
transient  Objectanchor
    
transient  booleanbeforeFirstShow
    
transient  java.util.List<Image>icons
     icons is the graphical way we can represent the frames and dialogs.
transient  InputContextinputContext
    
transient  booleanisInShow
    
transient  booleanisTrayIconWindow
    
transient  DialogmodalBlocker
     Contains the modal dialog that blocks this window, or null if the window is unblocked.
 Dialog.ModalExclusionTypemodalExclusionType
    
transient  Vector<WeakReference<Window>>ownedWindowList
     A vector containing all the windows this window currently owns.
transient  booleanshowWithParent
    
 intstate
     An Integer value representing the Window State.
 booleansyncLWRequests
    
static  booleansystemSyncLWRequests
    
 StringwarningString
     This represents the warning message that is to be displayed in a non secure window.
transient  WindowFocusListenerwindowFocusListener
    
transient  WindowListenerwindowListener
    
transient  WindowStateListenerwindowStateListener
    

Constructor Summary
 Window(GraphicsConfiguration gc)
     Constructs a new, initially invisible window in default size with the specified GraphicsConfiguration.

If there is a security manager, this method first calls the security manager's checkTopLevelWindow method with this as its argument to determine whether or not the window must be displayed with a warning banner.

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

First, if there is a security manager, its checkTopLevelWindow method is called with this as its argument to see if it's ok to display the window without a warning banner.

public  Window(Frame owner)
     Constructs a new, initially invisible window with the specified Frame as its owner.
public  Window(Window owner)
     Constructs a new, initially invisible window with the specified Window as its owner.
public  Window(Window owner, GraphicsConfiguration gc)
     Constructs a new, initially invisible window with the specified owner Window and a GraphicsConfiguration of a screen device.

Method Summary
public  voidaddNotify()
     Makes this Window displayable by creating the connection to its native screen resource.
 voidaddOwnedWindow(WeakReference weakWindow)
    
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
     Adds a PropertyChangeListener to the listener list.
public  voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)
     Adds a PropertyChangeListener to the listener list for a specific property.
public synchronized  voidaddWindowFocusListener(WindowFocusListener l)
     Adds the specified window focus listener to receive window events from this window.
public synchronized  voidaddWindowListener(WindowListener l)
     Adds the specified window listener to receive window events from this window.
public synchronized  voidaddWindowStateListener(WindowStateListener l)
     Adds the specified window state listener to receive window events from this window.
 voidadjustDecendantsOnParent(int num)
    
 voidadjustListeningChildrenOnParent(long mask, int num)
    
public  voidapplyResourceBundle(ResourceBundle rb)
    
public  voidapplyResourceBundle(String rbName)
    
 booleancanContainFocusOwner(Component focusOwnerCandidate)
     Checks whether this window can contain focus owner.
final  voidclearMostRecentFocusOwnerOnHide()
    
final static  voidcloseSplashScreen()
    
 voidconnectOwnedWindow(Window child)
    
 StringconstructComponentName()
     Construct a name for this component.
public  voidcreateBufferStrategy(int numBuffers)
     Creates a new strategy for multi-buffering on this component. Multi-buffering is useful for rendering performance.
public  voidcreateBufferStrategy(int numBuffers, BufferCapabilities caps)
     Creates a new strategy for multi-buffering on this component with the required buffer capabilities.
 voiddeliverMouseWheelToAncestor(MouseWheelEvent e)
     Overridden from Component.
 voiddispatchEventImpl(AWTEvent e)
     Dispatches an event to this window or one of its sub components.
 booleandispatchMouseWheelToAncestor(MouseWheelEvent e)
     Overridden from Component.
public  voiddispose()
     Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned children.
 voiddisposeImpl()
    
 voiddoDispose()
    
 booleaneventEnabled(AWTEvent e)
    
public  AccessibleContextgetAccessibleContext()
     Gets the AccessibleContext associated with this Window.
static  IdentityArrayList<Window>getAllUnblockedWindows()
    
static  IdentityArrayList<Window>getAllWindows()
    
public  BufferStrategygetBufferStrategy()
     Returns the BufferStrategy used by this component.
 WindowgetDocumentRoot()
    
final public  ContainergetFocusCycleRootAncestor()
     Always returns null because Windows have no ancestors; they represent the top of the Component hierarchy.
public  ComponentgetFocusOwner()
     Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise.
public  Set<AWTKeyStroke>getFocusTraversalKeys(int id)
     Gets a focus traversal key for this Window.
public  booleangetFocusableWindowState()
     Returns whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.
public  GraphicsConfigurationgetGraphicsConfiguration()
     This method returns the GraphicsConfiguration used by this Window.
public  java.util.List<Image>getIconImages()
     Returns the sequence of images to be displayed as the icon for this window.

This method returns a copy of the internally stored list, so all operations on the returned object will not affect the window's behavior. the copy of icon images' list for this window, or empty list if this window doesn't have icon images.

public  InputContextgetInputContext()
     Gets the input context for this window.
public  T[]getListeners(Class<T> listenerType)
     Returns an array of all the objects currently registered as FooListeners upon this Window.
public  LocalegetLocale()
     Gets the Locale object that is associated with this window, if the locale has been set.
 DialoggetModalBlocker()
    
public  Dialog.ModalExclusionTypegetModalExclusionType()
     Returns the modal exclusion type of this window.
public  ComponentgetMostRecentFocusOwner()
     Returns the child Component of this Window that will receive the focus when this Window is focused.
public  Window[]getOwnedWindows()
     Return an array containing all the windows this window currently owns.
final  Window[]getOwnedWindows_NoClientCode()
    
public  WindowgetOwner()
     Returns the owner of this window.
final  WindowgetOwner_NoClientCode()
    
public static  Window[]getOwnerlessWindows()
     Returns an array of all Window s created by this application that have no owner.
 ComponentgetTemporaryLostComponent()
    
public  ToolkitgetToolkit()
     Returns the toolkit of this frame.
final public  StringgetWarningString()
     Gets the warning string that is displayed with this window.
public synchronized  WindowFocusListener[]getWindowFocusListeners()
     Returns an array of all the window focus listeners registered on this window.
public synchronized  WindowListener[]getWindowListeners()
     Returns an array of all the window listeners registered on this window.
public synchronized  WindowStateListener[]getWindowStateListeners()
     Returns an array of all the window state listeners registered on this window.
public static  Window[]getWindows()
     Returns an array of all Window s, both owned and ownerless, created by this application. If called from an applet, the array includes only the Window s accessible by that applet.

Warning: this method may return system created windows, such as a print dialog.

public  voidhide()
     Hide this Window, its subcomponents, and all of its owned children.
public  booleanisActive()
     Returns whether this Window is active.
final public  booleanisAlwaysOnTop()
     Returns whether this window is an always-on-top window.
public  booleanisAlwaysOnTopSupported()
     Returns whether the always-on-top mode is supported for this window.
public  booleanisAutoRequestFocus()
     Returns whether this window should receive focus on subsequently being shown (with a call to Window.setVisible setVisible(true) ), or being moved to the front (with a call to Window.toFront ).
final public  booleanisFocusCycleRoot()
     Always returns true because all Windows must be roots of a focus traversal cycle.
final public  booleanisFocusableWindow()
     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  booleanisFocused()
     Returns whether this Window is focused.
public  booleanisLocationByPlatform()
     Returns true if this Window will appear at the default location for the native windowing system the next time this Window is made visible.
 booleanisModalBlocked()
    
 booleanisModalExcluded(Dialog.ModalExclusionType exclusionType)
    
 booleanisRecursivelyVisible()
     Determines whether this component will be displayed on the screen.
public  booleanisShowing()
     Checks if this Window is showing on screen.
public  voidpack()
     Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.
public  booleanpostEvent(Event e)
    
 voidpostProcessKeyEvent(KeyEvent e)
    
synchronized  voidpostWindowEvent(int id)
    
 voidpreProcessKeyEvent(KeyEvent e)
     Implements a debugging hook -- checks to see if the user has typed control-shift-F1.
protected  voidprocessEvent(AWTEvent e)
     Processes events on this window.
protected  voidprocessWindowEvent(WindowEvent e)
     Processes window events occurring on this window by dispatching them to any registered WindowListener objects.
protected  voidprocessWindowFocusEvent(WindowEvent e)
     Processes window focus event occuring on this window by dispatching them to any registered WindowFocusListener objects. NOTE: this method will not be called unless window focus events are enabled for this window.
protected  voidprocessWindowStateEvent(WindowEvent e)
     Processes window state event occuring on this window by dispatching them to any registered WindowStateListener objects. NOTE: this method will not be called unless window state events are enabled for this window.
public  voidremoveNotify()
    
 voidremoveOwnedWindow(WeakReference weakWindow)
    
public synchronized  voidremoveWindowFocusListener(WindowFocusListener l)
     Removes the specified window focus listener so that it no longer receives window events from this window.
public synchronized  voidremoveWindowListener(WindowListener l)
     Removes the specified window listener so that it no longer receives window events from this window.
public synchronized  voidremoveWindowStateListener(WindowStateListener l)
     Removes the specified window state listener so that it no longer receives window events from this window.
 voidresetGC()
     Reset this Window's GraphicsConfiguration to match its peer.
public  voidreshape(int x, int y, int width, int height)
    
final public  voidsetAlwaysOnTop(boolean alwaysOnTop)
     Sets whether this window should always be above other windows.
public  voidsetAutoRequestFocus(boolean autoRequestFocus)
     Sets whether this window should receive focus on subsequently being shown (with a call to Window.setVisible setVisible(true) ), or being moved to the front (with a call to Window.toFront ).
public  voidsetBounds(int x, int y, int width, int height)
    

The width or height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

public  voidsetBounds(Rectangle r)
    

The r.width or r.height values will be automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

 voidsetClientSize(int w, int h)
    
public  voidsetCursor(Cursor cursor)
     Set the cursor image to a specified cursor.

The method may have no visual effect if the Java platform implementation and/or the native system do not support changing the mouse cursor shape.
Parameters:
  cursor - One of the constants definedby the Cursor class.

final public  voidsetFocusCycleRoot(boolean focusCycleRoot)
     Does nothing because Windows must always be roots of a focus traversal cycle.
public  voidsetFocusableWindowState(boolean focusableWindowState)
     Sets whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow.
public  voidsetIconImage(Image image)
     Sets the image to be displayed as the icon for this window.

This method can be used instead of Window.setIconImages setIconImages() to specify a single image as a window's icon.

The following statement:

 setIconImage(image);
 
is equivalent to:
 ArrayList<Image> imageList = new ArrayList<Image>();
 imageList.add(image);
 setIconImages(imageList);
 

Note : Native windowing systems may use different images of differing dimensions to represent a window, depending on the context (e.g.

public synchronized  voidsetIconImages(java.util.List<? extends Image> icons)
     Sets the sequence of images to be displayed as the icon for this window.
public  voidsetLocationByPlatform(boolean 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. This behavior resembles a native window shown without programmatically setting its location.
public  voidsetLocationRelativeTo(Component c)
     Sets the location of the window relative to the specified component.

If the component is not currently showing, or c is null, the window is placed at the center of the screen.

public  voidsetMinimumSize(Dimension minimumSize)
     Sets the minimum size of this window to a constant value.
 voidsetModalBlocked(Dialog blocker, boolean blocked, boolean peerCall)
    
public  voidsetModalExclusionType(Dialog.ModalExclusionType exclusionType)
     Specifies the modal exclusion type for this window.
public  voidsetSize(Dimension d)
    

The d.width and d.height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

public  voidsetSize(int width, int height)
    

The width and height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .

 ComponentsetTemporaryLostComponent(Component component)
    
public  voidsetVisible(boolean b)
     Shows or hides this Window depending on the value of parameter b .

If the method shows the window then the window is also made focused under the following conditions:

  • The Window meets the requirements outlined in the Window.isFocusableWindow method.
  • The Window 's autoRequestFocus property is of the true value.
  • Native windowing system allows the Window to get focused.
There is an exception for the second condition (the value of the autoRequestFocus property).
public  voidshow()
     Makes the Window visible.
public  voidtoBack()
     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.

Places this Window at the bottom of the stacking order and shows it behind any other Windows in this VM.

final  voidtoBack_NoClientCode()
    
public  voidtoFront()
     If this Window is visible, brings this Window to the front and may make it the focused Window.

Places this Window at the top of the stacking order and shows it in front of any other Windows in this VM.

final  voidtoFront_NoClientCode()
    
static  voidupdateChildFocusableWindowState(Window w)
    
 voidupdateChildrenBlocking()
    

Field Detail
OPENED
final static int OPENED(Code)



anchor
transient Object anchor(Code)



beforeFirstShow
transient boolean beforeFirstShow(Code)



icons
transient java.util.List<Image> icons(Code)
icons is the graphical way we can represent the frames and dialogs. Window can't display icon but it's being inherited by owned Dialog s.
See Also:   Window.getIconImages
See Also:    #setIconImages(List)



inputContext
transient InputContext inputContext(Code)



isInShow
transient boolean isInShow(Code)



isTrayIconWindow
transient boolean isTrayIconWindow(Code)



modalBlocker
transient Dialog modalBlocker(Code)
Contains the modal dialog that blocks this window, or null if the window is unblocked.
since:
   1.6



modalExclusionType
Dialog.ModalExclusionType modalExclusionType(Code)

See Also:   java.awt.Dialog.ModalExclusionType
See Also:   Window.getModalExclusionType
See Also:   Window.setModalExclusionType
since:
   1.6



ownedWindowList
transient Vector<WeakReference<Window>> ownedWindowList(Code)
A vector containing all the windows this window currently owns.
since:
   1.2
See Also:   Window.getOwnedWindows



showWithParent
transient boolean showWithParent(Code)



state
int state(Code)
An Integer value representing the Window State.
since:
   1.2
See Also:   Window.show



syncLWRequests
boolean syncLWRequests(Code)



systemSyncLWRequests
static boolean systemSyncLWRequests(Code)



warningString
String warningString(Code)
This represents the warning message that is to be displayed in a non secure window. ie : a window that has a security manager installed for which calling SecurityManager.checkTopLevelWindow() is false. This message can be displayed anywhere in the window.
See Also:   Window.getWarningString



windowFocusListener
transient WindowFocusListener windowFocusListener(Code)



windowListener
transient WindowListener windowListener(Code)



windowStateListener
transient WindowStateListener windowStateListener(Code)




Constructor Detail
Window
Window(GraphicsConfiguration gc)(Code)
Constructs a new, initially invisible window in default size with the specified GraphicsConfiguration.

If there is a security manager, this method first calls the security manager's checkTopLevelWindow method with this as its argument to determine whether or not the window must be displayed with a warning banner.
Parameters:
  gc - the GraphicsConfiguration of the target screendevice. If gc is null, the system defaultGraphicsConfiguration is assumed
exception:
  IllegalArgumentException - if gcis not from a screen device
exception:
  HeadlessException - whenGraphicsEnvironment.isHeadless() returns true
See Also:   java.awt.GraphicsEnvironment.isHeadless
See Also:   java.lang.SecurityManager.checkTopLevelWindow
See Also:   




Window
Window() throws HeadlessException(Code)
Constructs a new, initially invisible window in the default size.

First, if there is a security manager, its checkTopLevelWindow method is called with this as its argument to see if it's ok to display the window without a warning banner. If the default implementation of checkTopLevelWindow is used (that is, that method is not overriden), then this results in a call to the security manager's checkPermission method with an AWTPermission("showWindowWithoutWarningBanner") permission. It that method raises a SecurityException, checkTopLevelWindow returns false, otherwise it returns true. If it returns false, a warning banner is created.
exception:
  HeadlessException - whenGraphicsEnvironment.isHeadless() returns true
See Also:   java.awt.GraphicsEnvironment.isHeadless
See Also:   java.lang.SecurityManager.checkTopLevelWindow




Window
public Window(Frame owner)(Code)
Constructs a new, initially invisible window with the specified Frame as its owner. The window will not be focusable unless its owner is showing on the screen.

If there is a security manager, this method first calls the security manager's checkTopLevelWindow method with this as its argument to determine whether or not the window must be displayed with a warning banner.
Parameters:
  owner - the Frame to act as owner or nullif this window has no owner
exception:
  IllegalArgumentException - if the owner'sGraphicsConfiguration is not from a screen device
exception:
  HeadlessException - whenGraphicsEnvironment.isHeadless returns true
See Also:   java.awt.GraphicsEnvironment.isHeadless
See Also:   java.lang.SecurityManager.checkTopLevelWindow
See Also:   Window.isShowing




Window
public Window(Window owner)(Code)
Constructs a new, initially invisible window with the specified Window as its owner. This window will not be focusable unless its nearest owning Frame or Dialog is showing on the screen.

If there is a security manager, this method first calls the security manager's checkTopLevelWindow method with this as its argument to determine whether or not the window must be displayed with a warning banner.
Parameters:
  owner - the Window to act as owner ornull if this window has no owner
exception:
  IllegalArgumentException - if the owner'sGraphicsConfiguration is not from a screen device
exception:
  HeadlessException - whenGraphicsEnvironment.isHeadless() returnstrue
See Also:   java.awt.GraphicsEnvironment.isHeadless
See Also:   java.lang.SecurityManager.checkTopLevelWindow
See Also:   Window.isShowing
since:
   1.2




Window
public Window(Window owner, GraphicsConfiguration gc)(Code)
Constructs a new, initially invisible window with the specified owner Window and a GraphicsConfiguration of a screen device. The Window will not be focusable unless its nearest owning Frame or Dialog is showing on the screen.

If there is a security manager, this method first calls the security manager's checkTopLevelWindow method with this as its argument to determine whether or not the window must be displayed with a warning banner.
Parameters:
  owner - the window to act as owner or nullif this window has no owner
Parameters:
  gc - the GraphicsConfiguration of the targetscreen device; if gc is null,the system default GraphicsConfiguration is assumed
exception:
  IllegalArgumentException - if gcis not from a screen device
exception:
  HeadlessException - whenGraphicsEnvironment.isHeadless() returnstrue
See Also:   java.awt.GraphicsEnvironment.isHeadless
See Also:   java.lang.SecurityManager.checkTopLevelWindow
See Also:   GraphicsConfiguration.getBounds
See Also:   Window.isShowing
since:
   1.3





Method Detail
addNotify
public void addNotify()(Code)
Makes this Window displayable by creating the connection to its native screen resource. This method is called internally by the toolkit and should not be called directly by programs.
See Also:   Component.isDisplayable
See Also:   Container.removeNotify
since:
   JDK1.0



addOwnedWindow
void addOwnedWindow(WeakReference weakWindow)(Code)



addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)
Adds a PropertyChangeListener to the listener list. The listener is registered for all bound properties of this class, including the following:
  • this Window's font ("font")
  • this Window's background color ("background")
  • this Window's foreground color ("foreground")
  • this Window's focusability ("focusable")
  • this Window's focus traversal keys enabled state ("focusTraversalKeysEnabled")
  • this Window's Set of FORWARD_TRAVERSAL_KEYS ("forwardFocusTraversalKeys")
  • this Window's Set of BACKWARD_TRAVERSAL_KEYS ("backwardFocusTraversalKeys")
  • this Window's Set of UP_CYCLE_TRAVERSAL_KEYS ("upCycleFocusTraversalKeys")
  • this Window's Set of DOWN_CYCLE_TRAVERSAL_KEYS ("downCycleFocusTraversalKeys")
  • this Window's focus traversal policy ("focusTraversalPolicy")
  • this Window's focusable Window state ("focusableWindowState")
  • this Window's always-on-top state("alwaysOnTop")
Note that if this Window is inheriting a bound property, then no event will be fired in response to a change in the inherited property.

If listener is null, no exception is thrown and no action is performed.
Parameters:
  listener - the PropertyChangeListener to be added
See Also:   Component.removePropertyChangeListener
See Also:   Window.addPropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)




addPropertyChangeListener
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)
Adds a PropertyChangeListener to the listener list for a specific property. The specified property may be user-defined, or one of the following:
  • this Window's font ("font")
  • this Window's background color ("background")
  • this Window's foreground color ("foreground")
  • this Window's focusability ("focusable")
  • this Window's focus traversal keys enabled state ("focusTraversalKeysEnabled")
  • this Window's Set of FORWARD_TRAVERSAL_KEYS ("forwardFocusTraversalKeys")
  • this Window's Set of BACKWARD_TRAVERSAL_KEYS ("backwardFocusTraversalKeys")
  • this Window's Set of UP_CYCLE_TRAVERSAL_KEYS ("upCycleFocusTraversalKeys")
  • this Window's Set of DOWN_CYCLE_TRAVERSAL_KEYS ("downCycleFocusTraversalKeys")
  • this Window's focus traversal policy ("focusTraversalPolicy")
  • this Window's focusable Window state ("focusableWindowState")
  • this Window's always-on-top state("alwaysOnTop")
Note that if this Window is inheriting a bound property, then no event will be fired in response to a change in the inherited property.

If listener is null, no exception is thrown and no action is performed.
Parameters:
  propertyName - one of the property names listed above
Parameters:
  listener - the PropertyChangeListener to be added
See Also:   Window.addPropertyChangeListener(java.beans.PropertyChangeListener)
See Also:   Component.removePropertyChangeListener




addWindowFocusListener
public synchronized void addWindowFocusListener(WindowFocusListener l)(Code)
Adds the specified window focus listener to receive window events from this window. If l is null, no exception is thrown and no action is performed.

Refer to AWT Threading Issues for details on AWT's threading model.
Parameters:
  l - the window focus listener
See Also:   Window.removeWindowFocusListener
See Also:   Window.getWindowFocusListeners
since:
   1.4




addWindowListener
public synchronized void addWindowListener(WindowListener l)(Code)
Adds the specified window listener to receive window events from this window. If l is null, no exception is thrown and no action is performed.

Refer to AWT Threading Issues for details on AWT's threading model.
Parameters:
  l - the window listener
See Also:   Window.removeWindowListener
See Also:   Window.getWindowListeners




addWindowStateListener
public synchronized void addWindowStateListener(WindowStateListener l)(Code)
Adds the specified window state listener to receive window events from this window. If l is null, no exception is thrown and no action is performed.

Refer to AWT Threading Issues for details on AWT's threading model.
Parameters:
  l - the window state listener
See Also:   Window.removeWindowStateListener
See Also:   Window.getWindowStateListeners
since:
   1.4




adjustDecendantsOnParent
void adjustDecendantsOnParent(int num)(Code)



adjustListeningChildrenOnParent
void adjustListeningChildrenOnParent(long mask, int num)(Code)



applyResourceBundle
public void applyResourceBundle(ResourceBundle rb)(Code)
Component.applyComponentOrientation Component.applyComponentOrientation



applyResourceBundle
public void applyResourceBundle(String rbName)(Code)
Component.applyComponentOrientation Component.applyComponentOrientation



canContainFocusOwner
boolean canContainFocusOwner(Component focusOwnerCandidate)(Code)
Checks whether this window can contain focus owner. Verifies that it is focusable and as container it can container focus owner.
since:
   1.5



clearMostRecentFocusOwnerOnHide
final void clearMostRecentFocusOwnerOnHide()(Code)



closeSplashScreen
final static void closeSplashScreen()(Code)



connectOwnedWindow
void connectOwnedWindow(Window child)(Code)



constructComponentName
String constructComponentName()(Code)
Construct a name for this component. Called by getName() when the name is null.



createBufferStrategy
public void createBufferStrategy(int numBuffers)(Code)
Creates a new strategy for multi-buffering on this component. Multi-buffering is useful for rendering performance. This method attempts to create the best strategy available with the number of buffers supplied. It will always create a BufferStrategy with that number of buffers. A page-flipping strategy is attempted first, then a blitting strategy using accelerated buffers. Finally, an unaccelerated blitting strategy is used.

Each time this method is called, the existing buffer strategy for this component is discarded.
Parameters:
  numBuffers - number of buffers to create
exception:
  IllegalArgumentException - if numBuffers is less than 1.
exception:
  IllegalStateException - if the component is not displayable
See Also:   Window.isDisplayable
See Also:   Window.getBufferStrategy
since:
   1.4




createBufferStrategy
public void createBufferStrategy(int numBuffers, BufferCapabilities caps) throws AWTException(Code)
Creates a new strategy for multi-buffering on this component with the required buffer capabilities. This is useful, for example, if only accelerated memory or page flipping is desired (as specified by the buffer capabilities).

Each time this method is called, the existing buffer strategy for this component is discarded.
Parameters:
  numBuffers - number of buffers to create, including the front buffer
Parameters:
  caps - the required capabilities for creating the buffer strategy;cannot be null
exception:
  AWTException - if the capabilities supplied could not besupported or met; this may happen, for example, if there is not enoughaccelerated memory currently available, or if page flipping is specifiedbut not possible.
exception:
  IllegalArgumentException - if numBuffers is less than 1, or ifcaps is null
See Also:   Window.getBufferStrategy
since:
   1.4




deliverMouseWheelToAncestor
void deliverMouseWheelToAncestor(MouseWheelEvent e)(Code)
Overridden from Component. Top-level Windows should not propagate a MouseWheelEvent beyond themselves into their owning Windows.



dispatchEventImpl
void dispatchEventImpl(AWTEvent e)(Code)
Dispatches an event to this window or one of its sub components.
Parameters:
  e - the event



dispatchMouseWheelToAncestor
boolean dispatchMouseWheelToAncestor(MouseWheelEvent e)(Code)
Overridden from Component. Top-level Windows don't dispatch to ancestors



dispose
public void dispose()(Code)
Releases all of the native screen resources used by this Window, its subcomponents, and all of its owned children. That is, the resources for these Components will be destroyed, any memory they consume will be returned to the OS, and they will be marked as undisplayable.

The Window and its subcomponents can be made displayable again by rebuilding the native resources with a subsequent call to pack or show. The states of the recreated Window and its subcomponents will be identical to the states of these objects at the point where the Window was disposed (not accounting for additional modifications between those actions).

Note: When the last displayable window within the Java virtual machine (VM) is disposed of, the VM may terminate. See AWT Threading Issues for more information.
See Also:   Component.isDisplayable
See Also:   Window.pack
See Also:   Window.show




disposeImpl
void disposeImpl()(Code)



doDispose
void doDispose()(Code)



eventEnabled
boolean eventEnabled(AWTEvent e)(Code)



getAccessibleContext
public AccessibleContext getAccessibleContext()(Code)
Gets the AccessibleContext associated with this Window. For windows, the AccessibleContext takes the form of an AccessibleAWTWindow. A new AccessibleAWTWindow instance is created if necessary. an AccessibleAWTWindow that serves as the AccessibleContext of this Window
since:
   1.3



getAllUnblockedWindows
static IdentityArrayList<Window> getAllUnblockedWindows()(Code)



getAllWindows
static IdentityArrayList<Window> getAllWindows()(Code)



getBufferStrategy
public BufferStrategy getBufferStrategy()(Code)
Returns the BufferStrategy used by this component. This method will return null if a BufferStrategy has not yet been created or has been disposed. the buffer strategy used by this component
See Also:   Window.createBufferStrategy
since:
   1.4



getDocumentRoot
Window getDocumentRoot()(Code)



getFocusCycleRootAncestor
final public Container getFocusCycleRootAncestor()(Code)
Always returns null because Windows have no ancestors; they represent the top of the Component hierarchy. null
See Also:   Container.isFocusCycleRoot
since:
   1.4



getFocusOwner
public Component getFocusOwner()(Code)
Returns the child Component of this Window that has focus if this Window is focused; returns null otherwise. the child Component with focus, or null if this Window is notfocused
See Also:   Window.getMostRecentFocusOwner
See Also:   Window.isFocused



getFocusTraversalKeys
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)
Gets a focus traversal key for this Window. (See setFocusTraversalKeys for a full description of each key.)

If the traversal key has not been explicitly set for this Window, then this Window's parent's traversal key is returned. If the traversal key has not been explicitly set for any of this Window's ancestors, then the current KeyboardFocusManager's default traversal key is returned.
Parameters:
  id - one of KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, orKeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS the AWTKeyStroke for the specified key
See Also:   Container.setFocusTraversalKeys
See Also:   KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS
See Also:   KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS
See Also:   KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS
See Also:   KeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS
throws:
  IllegalArgumentException - if id is not one ofKeyboardFocusManager.FORWARD_TRAVERSAL_KEYS,KeyboardFocusManager.BACKWARD_TRAVERSAL_KEYS,KeyboardFocusManager.UP_CYCLE_TRAVERSAL_KEYS, orKeyboardFocusManager.DOWN_CYCLE_TRAVERSAL_KEYS
since:
   1.4




getFocusableWindowState
public boolean getFocusableWindowState()(Code)
Returns whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow. If this method returns false, then isFocusableWindow will return false as well. If this method returns true, then isFocusableWindow may return true or false depending upon the other requirements which must be met in order for a Window to be focusable.

By default, all Windows have a focusable Window state of true. whether this Window can be the focused Window
See Also:   Window.isFocusableWindow
See Also:   Window.setFocusableWindowState
See Also:   Window.isShowing
See Also:   Component.setFocusable
since:
   1.4




getGraphicsConfiguration
public GraphicsConfiguration getGraphicsConfiguration()(Code)
This method returns the GraphicsConfiguration used by this Window.
since:
   1.3



getIconImages
public java.util.List<Image> getIconImages()(Code)
Returns the sequence of images to be displayed as the icon for this window.

This method returns a copy of the internally stored list, so all operations on the returned object will not affect the window's behavior. the copy of icon images' list for this window, or empty list if this window doesn't have icon images.
See Also:   Window.setIconImages
See Also:   Window.setIconImage(Image)
since:
   1.6




getInputContext
public InputContext getInputContext()(Code)
Gets the input context for this window. A window always has an input context, which is shared by subcomponents unless they create and set their own.
See Also:   Component.getInputContext
since:
   1.2



getListeners
public T[] getListeners(Class<T> listenerType)(Code)
Returns an array of all the objects currently registered as FooListeners upon this Window. FooListeners are registered using the addFooListener method.

You can specify the listenerType argument with a class literal, such as FooListener.class. For example, you can query a Window w for its window listeners with the following code:

WindowListener[] wls = (WindowListener[])(w.getListeners(WindowListener.class));
If no such listeners exist, this method returns an empty array.
Parameters:
  listenerType - the type of listeners requested; this parametershould specify an interface that descends fromjava.util.EventListener an array of all objects registered asFooListeners on this window,or an empty array if no suchlisteners have been added
exception:
  ClassCastException - if listenerTypedoesn't specify a class or interface that implementsjava.util.EventListener
See Also:   Window.getWindowListeners
since:
   1.3



getLocale
public Locale getLocale()(Code)
Gets the Locale object that is associated with this window, if the locale has been set. If no locale has been set, then the default locale is returned. the locale that is set for this window.
See Also:   java.util.Locale
since:
   JDK1.1



getModalBlocker
Dialog getModalBlocker()(Code)



getModalExclusionType
public Dialog.ModalExclusionType getModalExclusionType()(Code)
Returns the modal exclusion type of this window. the modal exclusion type of this window
See Also:   java.awt.Dialog.ModalExclusionType
See Also:   java.awt.Window.setModalExclusionType
since:
   1.6



getMostRecentFocusOwner
public Component getMostRecentFocusOwner()(Code)
Returns the child Component of this Window that will receive the focus when this Window is focused. If this Window is currently focused, this method returns the same Component as getFocusOwner(). If this Window is not focused, then the child Component that most recently requested focus will be returned. If no child Component has ever requested focus, and this is a focusable Window, then this Window's initial focusable Component is returned. If no child Component has ever requested focus, and this is a non-focusable Window, null is returned. the child Component that will receive focus when this Window isfocused
See Also:   Window.getFocusOwner
See Also:   Window.isFocused
See Also:   Window.isFocusableWindow
since:
   1.4



getOwnedWindows
public Window[] getOwnedWindows()(Code)
Return an array containing all the windows this window currently owns.
since:
   1.2



getOwnedWindows_NoClientCode
final Window[] getOwnedWindows_NoClientCode()(Code)



getOwner
public Window getOwner()(Code)
Returns the owner of this window.
since:
   1.2



getOwner_NoClientCode
final Window getOwner_NoClientCode()(Code)



getOwnerlessWindows
public static Window[] getOwnerlessWindows()(Code)
Returns an array of all Window s created by this application that have no owner. They include Frame s and ownerless Dialog s and Window s. If called from an applet, the array includes only the Window s accessible by that applet.

Warning: this method may return system created windows, such as a print dialog. Applications should not assume the existence of these dialogs, nor should an application assume anything about these dialogs such as component positions, LayoutManagers or serialization.
See Also:   Frame.getFrames
See Also:   Window.getWindows
since:
   1.6




getTemporaryLostComponent
Component getTemporaryLostComponent()(Code)



getToolkit
public Toolkit getToolkit()(Code)
Returns the toolkit of this frame. the toolkit of this window.
See Also:   Toolkit
See Also:   Toolkit.getDefaultToolkit
See Also:   Component.getToolkit



getWarningString
final public String getWarningString()(Code)
Gets the warning string that is displayed with this window. If this window is insecure, the warning string is displayed somewhere in the visible area of the window. A window is insecure if there is a security manager, and the security manager's checkTopLevelWindow method returns false when this window is passed to it as an argument.

If the window is secure, then getWarningString returns null. If the window is insecure, this method checks for the system property awt.appletWarning and returns the string value of that property. the warning string for this window.
See Also:   java.lang.SecurityManager.checkTopLevelWindow(java.lang.Object)




getWindowFocusListeners
public synchronized WindowFocusListener[] getWindowFocusListeners()(Code)
Returns an array of all the window focus listeners registered on this window. all of this window's WindowFocusListenersor an empty array if no window focuslisteners are currently registered
See Also:   Window.addWindowFocusListener
See Also:   Window.removeWindowFocusListener
since:
   1.4



getWindowListeners
public synchronized WindowListener[] getWindowListeners()(Code)
Returns an array of all the window listeners registered on this window. all of this window's WindowListenersor an empty array if no windowlisteners are currently registered
See Also:   Window.addWindowListener
See Also:   Window.removeWindowListener
since:
   1.4



getWindowStateListeners
public synchronized WindowStateListener[] getWindowStateListeners()(Code)
Returns an array of all the window state listeners registered on this window. all of this window's WindowStateListenersor an empty array if no window statelisteners are currently registered
See Also:   Window.addWindowStateListener
See Also:   Window.removeWindowStateListener
since:
   1.4



getWindows
public static Window[] getWindows()(Code)
Returns an array of all Window s, both owned and ownerless, created by this application. If called from an applet, the array includes only the Window s accessible by that applet.

Warning: this method may return system created windows, such as a print dialog. Applications should not assume the existence of these dialogs, nor should an application assume anything about these dialogs such as component positions, LayoutManagers or serialization.
See Also:   Frame.getFrames
See Also:   Window.getOwnerlessWindows
since:
   1.6




hide
public void hide()(Code)
Hide this Window, its subcomponents, and all of its owned children. The Window and its subcomponents can be made visible again with a call to show .


See Also:   Window.show
See Also:   Window.disposeWindow.setVisible(boolean)



isActive
public boolean isActive()(Code)
Returns whether this Window is active. Only a Frame or a Dialog may be active. The native windowing system may denote the active Window or its children with special decorations, such as a highlighted title bar. The active Window is always either the focused Window, or the first Frame or Dialog that is an owner of the focused Window. whether this is the active Window.
See Also:   Window.isFocused
since:
   1.4



isAlwaysOnTop
final public boolean isAlwaysOnTop()(Code)
Returns whether this window is an always-on-top window. true, if the window is in always-on-top state, false otherwise
See Also:   Window.setAlwaysOnTop
since:
   1.5



isAlwaysOnTopSupported
public boolean isAlwaysOnTopSupported()(Code)
Returns whether the always-on-top mode is supported for this window. Some platforms may not support always-on-top windows, some may support only some kinds of top-level windows; for example, a platform may not support always-on-top modal dialogs. true, if the always-on-top mode issupported by the toolkit and for this window,false, if always-on-top mode is not supportedfor this window or toolkit doesn't support always-on-top windows.
See Also:   Window.setAlwaysOnTop(boolean)
See Also:   Toolkit.isAlwaysOnTopSupported
since:
   1.6



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

By default, the window has autoRequestFocus value of true . autoRequestFocus value
See Also:   Window.setAutoRequestFocus
since:
   1.7




isFocusCycleRoot
final public boolean isFocusCycleRoot()(Code)
Always returns true because all Windows must be roots of a focus traversal cycle. true
See Also:   Window.setFocusCycleRoot
See Also:   Container.setFocusTraversalPolicy
See Also:   Container.getFocusTraversalPolicy
since:
   1.4



isFocusableWindow
final public boolean isFocusableWindow()(Code)
Returns whether this Window can become the focused Window, that is, whether this Window or any of its subcomponents can become the focus owner. For a Frame or Dialog to be focusable, its focusable Window state must be set to true. For a Window which is not a Frame or Dialog to be focusable, its focusable Window state must be set to true, its nearest owning Frame or Dialog must be showing on the screen, and it must contain at least one Component in its focus traversal cycle. If any of these conditions is not met, then neither this Window nor any of its subcomponents can become the focus owner. true if this Window can be the focused Window;false otherwise
See Also:   Window.getFocusableWindowState
See Also:   Window.setFocusableWindowState
See Also:   Window.isShowing
See Also:   Component.isFocusable
since:
   1.4



isFocused
public boolean isFocused()(Code)
Returns whether this Window is focused. If there exists a focus owner, the focused Window is the Window that is, or contains, that focus owner. If there is no focus owner, then no Window is focused.

If the focused Window is a Frame or a Dialog it is also the active Window. Otherwise, the active Window is the first Frame or Dialog that is an owner of the focused Window. whether this is the focused Window.
See Also:   Window.isActive
since:
   1.4




isLocationByPlatform
public boolean isLocationByPlatform()(Code)
Returns true if this Window will appear at the default location for the native windowing system the next time this Window is made visible. This method always returns false if the Window is showing on the screen. whether this Window will appear at the default location
See Also:   Window.setLocationByPlatform
See Also:   Window.isShowing
since:
   1.5



isModalBlocked
boolean isModalBlocked()(Code)



isModalExcluded
boolean isModalExcluded(Dialog.ModalExclusionType exclusionType)(Code)



isRecursivelyVisible
boolean isRecursivelyVisible()(Code)
Determines whether this component will be displayed on the screen. true if the component and all of its ancestorsuntil a toplevel window are visible, false otherwise



isShowing
public boolean isShowing()(Code)
Checks if this Window is showing on screen.
See Also:   Component.setVisible



pack
public void pack()(Code)
Causes this Window to be sized to fit the preferred size and layouts of its subcomponents. The resulting width and height of the window are automatically enlarged if either of dimensions is less than the minimum size as specified by the previous call to the setMinimumSize method.

If the window and/or its owner are not displayable yet, both of them are made displayable before calculating the preferred size. The Window is validated after its size is being calculated.
See Also:   Component.isDisplayable
See Also:   Window.setMinimumSize




postEvent
public boolean postEvent(Event e)(Code)



postProcessKeyEvent
void postProcessKeyEvent(KeyEvent e)(Code)



postWindowEvent
synchronized void postWindowEvent(int id)(Code)



preProcessKeyEvent
void preProcessKeyEvent(KeyEvent e)(Code)
Implements a debugging hook -- checks to see if the user has typed control-shift-F1. If so, the list of child windows is dumped to System.out.
Parameters:
  e - the keyboard event



processEvent
protected void processEvent(AWTEvent e)(Code)
Processes events on this window. If the event is an WindowEvent, it invokes the processWindowEvent method, else it invokes its superclass's processEvent.

Note that if the event parameter is null the behavior is unspecified and may result in an exception.
Parameters:
  e - the event




processWindowEvent
protected void processWindowEvent(WindowEvent e)(Code)
Processes window events occurring on this window by dispatching them to any registered WindowListener objects. NOTE: This method will not be called unless window events are enabled for this component; this happens when one of the following occurs:
  • A WindowListener object is registered via addWindowListener
  • Window events are enabled via enableEvents

Note that if the event parameter is null the behavior is unspecified and may result in an exception.
Parameters:
  e - the window event
See Also:   Component.enableEvents




processWindowFocusEvent
protected void processWindowFocusEvent(WindowEvent e)(Code)
Processes window focus event occuring on this window by dispatching them to any registered WindowFocusListener objects. NOTE: this method will not be called unless window focus events are enabled for this window. This happens when one of the following occurs:
  • a WindowFocusListener is registered via addWindowFocusListener
  • Window focus events are enabled via enableEvents

Note that if the event parameter is null the behavior is unspecified and may result in an exception.
Parameters:
  e - the window focus event
See Also:   Component.enableEvents
since:
   1.4




processWindowStateEvent
protected void processWindowStateEvent(WindowEvent e)(Code)
Processes window state event occuring on this window by dispatching them to any registered WindowStateListener objects. NOTE: this method will not be called unless window state events are enabled for this window. This happens when one of the following occurs:
  • a WindowStateListener is registered via addWindowStateListener
  • window state events are enabled via enableEvents

Note that if the event parameter is null the behavior is unspecified and may result in an exception.
Parameters:
  e - the window state event
See Also:   java.awt.Component.enableEvents
since:
   1.4




removeNotify
public void removeNotify()(Code)



removeOwnedWindow
void removeOwnedWindow(WeakReference weakWindow)(Code)



removeWindowFocusListener
public synchronized void removeWindowFocusListener(WindowFocusListener l)(Code)
Removes the specified window focus listener so that it no longer receives window events from this window. If l is null, no exception is thrown and no action is performed.

Refer to AWT Threading Issues for details on AWT's threading model.
Parameters:
  l - the window focus listener
See Also:   Window.addWindowFocusListener
See Also:   Window.getWindowFocusListeners
since:
   1.4




removeWindowListener
public synchronized void removeWindowListener(WindowListener l)(Code)
Removes the specified window listener so that it no longer receives window events from this window. If l is null, no exception is thrown and no action is performed.

Refer to AWT Threading Issues for details on AWT's threading model.
Parameters:
  l - the window listener
See Also:   Window.addWindowListener
See Also:   Window.getWindowListeners




removeWindowStateListener
public synchronized void removeWindowStateListener(WindowStateListener l)(Code)
Removes the specified window state listener so that it no longer receives window events from this window. If l is null, no exception is thrown and no action is performed.

Refer to AWT Threading Issues for details on AWT's threading model.
Parameters:
  l - the window state listener
See Also:   Window.addWindowStateListener
See Also:   Window.getWindowStateListeners
since:
   1.4




resetGC
void resetGC()(Code)
Reset this Window's GraphicsConfiguration to match its peer.



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



setAlwaysOnTop
final public void setAlwaysOnTop(boolean alwaysOnTop) throws SecurityException(Code)
Sets whether this window should always be above other windows. If there are multiple always-on-top windows, their relative order is unspecified and platform dependent.

If some other window is already always-on-top then the relative order between these windows is unspecified (depends on platform). No window can be brought to be over the always-on-top window except maybe another always-on-top window.

All windows owned by an always-on-top window inherit this state and automatically become always-on-top. If a window ceases to be always-on-top, the windows that it owns will no longer be always-on-top. When an always-on-top window is sent Window.toBacktoBack , its always-on-top state is set to false.

When this method is called on a window with a value of true, and the window is visible and the platform supports always-on-top for this window, the window is immediately brought forward, "sticking" it in the top-most position. If the window isn`t currently visible, this method sets the always-on-top state to true but does not bring the window forward. When the window is later shown, it will be always-on-top.

When this method is called on a window with a value of false the always-on-top state is set to normal. The window remains in the top-most position but it`s z-order can be changed as for any other window. Calling this method with a value of false on a window that has a normal state has no effect. Setting the always-on-top state to false has no effect on the relative z-order of the windows if there are no other always-on-top windows.

Note: some platforms might not support always-on-top windows. To detect if always-on-top windows are supported by the current platform, use Toolkit.isAlwaysOnTopSupported and Window.isAlwaysOnTopSupported . If always-on-top mode isn't supported by the toolkit or for this window, calling this method has no effect.

If a SecurityManager is installed, the calling thread must be granted the AWTPermission "setWindowAlwaysOnTop" in order to set the value of this property. If this permission is not granted, this method will throw a SecurityException, and the current value of the property will be left unchanged.
Parameters:
  alwaysOnTop - true if the window should always be above otherwindows
throws:
  SecurityException - if the calling thread does not havepermission to set the value of always-on-top property
See Also:   Window.isAlwaysOnTop
See Also:   Window.toFront
See Also:   Window.toBack
See Also:   AWTPermission
See Also:   Window.isAlwaysOnTopSupported
See Also:   Toolkit.isAlwaysOnTopSupported
since:
   1.5




setAutoRequestFocus
public void setAutoRequestFocus(boolean autoRequestFocus)(Code)
Sets whether this window should receive focus on subsequently being shown (with a call to Window.setVisible setVisible(true) ), or being moved to the front (with a call to Window.toFront ).

Note that Window.setVisible setVisible(true) may be called indirectly (e.g. when showing an owner of the window makes the window to be shown). Window.toFront may also be called indirectly (e.g. when Window.setVisible setVisible(true) is called on already visible window). In all such cases this property takes effect as well.

The value of the property is not inherited by owned windows.
Parameters:
  autoRequestFocus - whether this window should be focused onsubsequently being shown or being moved to the front
See Also:   Window.isAutoRequestFocus
See Also:   Window.isFocusableWindow
See Also:   Window.setVisible
See Also:   Window.toFront
since:
   1.7




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

The width or height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .
See Also:   Window.getBounds
See Also:   Window.setLocation(int,int)
See Also:   Window.setLocation(Point)
See Also:   Window.setSize(int,int)
See Also:   Window.setSize(Dimension)
See Also:   Window.setMinimumSize
See Also:   Window.setLocationByPlatform
See Also:   Window.isLocationByPlatform
since:
   1.6




setBounds
public void setBounds(Rectangle r)(Code)

The r.width or r.height values will be automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .
See Also:   Window.getBounds
See Also:   Window.setLocation(int,int)
See Also:   Window.setLocation(Point)
See Also:   Window.setSize(int,int)
See Also:   Window.setSize(Dimension)
See Also:   Window.setMinimumSize
See Also:   Window.setLocationByPlatform
See Also:   Window.isLocationByPlatform
since:
   1.6




setClientSize
void setClientSize(int w, int h)(Code)



setCursor
public void setCursor(Cursor cursor)(Code)
Set the cursor image to a specified cursor.

The method may have no visual effect if the Java platform implementation and/or the native system do not support changing the mouse cursor shape.
Parameters:
  cursor - One of the constants definedby the Cursor class. If this parameter is nullthen the cursor for this window will be set to the typeCursor.DEFAULT_CURSOR.
See Also:   Component.getCursor
See Also:   Cursor
since:
   JDK1.1




setFocusCycleRoot
final public void setFocusCycleRoot(boolean focusCycleRoot)(Code)
Does nothing because Windows must always be roots of a focus traversal cycle. The passed-in value is ignored.
Parameters:
  focusCycleRoot - this value is ignored
See Also:   Window.isFocusCycleRoot
See Also:   Container.setFocusTraversalPolicy
See Also:   Container.getFocusTraversalPolicy
since:
   1.4



setFocusableWindowState
public void setFocusableWindowState(boolean focusableWindowState)(Code)
Sets whether this Window can become the focused Window if it meets the other requirements outlined in isFocusableWindow. If this Window's focusable Window state is set to false, then isFocusableWindow will return false. If this Window's focusable Window state is set to true, then isFocusableWindow may return true or false depending upon the other requirements which must be met in order for a Window to be focusable.

Setting a Window's focusability state to false is the standard mechanism for an application to identify to the AWT a Window which will be used as a floating palette or toolbar, and thus should be a non-focusable Window. Setting the focusability state on a visible Window can have a delayed effect on some platforms — the actual change may happen only when the Window becomes hidden and then visible again. To ensure consistent behavior across platforms, set the Window's focusable state when the Window is invisible and then show it.
Parameters:
  focusableWindowState - whether this Window can be the focusedWindow
See Also:   Window.isFocusableWindow
See Also:   Window.getFocusableWindowState
See Also:   Window.isShowing
See Also:   Component.setFocusable
since:
   1.4




setIconImage
public void setIconImage(Image image)(Code)
Sets the image to be displayed as the icon for this window.

This method can be used instead of Window.setIconImages setIconImages() to specify a single image as a window's icon.

The following statement:

 setIconImage(image);
 
is equivalent to:
 ArrayList<Image> imageList = new ArrayList<Image>();
 imageList.add(image);
 setIconImages(imageList);
 

Note : Native windowing systems may use different images of differing dimensions to represent a window, depending on the context (e.g. window decoration, window list, taskbar, etc.). They could also use just a single image for all contexts or no image at all.
Parameters:
  image - the icon image to be displayed.
See Also:   Window.setIconImages
See Also:   Window.getIconImages()
since:
   1.6




setIconImages
public synchronized void setIconImages(java.util.List<? extends Image> icons)(Code)
Sets the sequence of images to be displayed as the icon for this window. Subsequent calls to getIconImages will always return a copy of the icons list.

Depending on the platform capabilities one or several images of different dimensions will be used as the window's icon.

The icons list is scanned for the images of most appropriate dimensions from the beginning. If the list contains several images of the same size, the first will be used.

Ownerless windows with no icon specified use platfrom-default icon. The icon of an owned window may be inherited from the owner unless explicitly overridden. Setting the icon to null or empty list restores the default behavior.

Note : Native windowing systems may use different images of differing dimensions to represent a window, depending on the context (e.g. window decoration, window list, taskbar, etc.). They could also use just a single image for all contexts or no image at all.
Parameters:
  icons - the list of icon images to be displayed.
See Also:   Window.getIconImages()
See Also:   Window.setIconImage(Image)
since:
   1.6




setLocationByPlatform
public void setLocationByPlatform(boolean locationByPlatform)(Code)
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. This behavior resembles a native window shown without programmatically setting its location. Most windowing systems cascade windows if their locations are not explicitly set. The actual location is determined once the window is shown on the screen.

This behavior can also be enabled by setting the System Property "java.awt.Window.locationByPlatform" to "true", though calls to this method take precedence.

Calls to setVisible, setLocation and setBounds after calling setLocationByPlatform clear this property of the Window.

For example, after the following code is executed:

setLocationByPlatform(true); setVisible(true); boolean flag = isLocationByPlatform();
The window will be shown at platform's default location and flag will be false.

In the following sample:

setLocationByPlatform(true); setLocation(10, 10); boolean flag = isLocationByPlatform(); setVisible(true);
The window will be shown at (10, 10) and flag will be false.
Parameters:
  locationByPlatform - true if this Window should appearat the default location, false if at the current location IllegalComponentStateException if the windowis showing on screen and locationByPlatform is true.
See Also:   Window.setLocation
See Also:   Window.isShowing
See Also:   Window.setVisible
See Also:   Window.isLocationByPlatform
See Also:   java.lang.System.getProperty(String)
since:
   1.5



setLocationRelativeTo
public void setLocationRelativeTo(Component c)(Code)
Sets the location of the window relative to the specified component.

If the component is not currently showing, or c is null, the window is placed at the center of the screen. The center point can be determined with GraphicsEnvironment.getCenterPoint GraphicsEnvironment.getCenterPoint

If the bottom of the component is offscreen, the window is placed to the side of the Component that is closest to the center of the screen. So if the Component is on the right part of the screen, the Window is placed to its left, and vice versa.
Parameters:
  c - the component in relation to which the window's locationis determined
See Also:   java.awt.GraphicsEnvironment.getCenterPoint
since:
   1.4




setMinimumSize
public void setMinimumSize(Dimension minimumSize)(Code)
Sets the minimum size of this window to a constant value. Subsequent calls to getMinimumSize will always return this value. If current window's size is less than minimumSize the size of the window is automatically enlarged to honor the minimum size.

If the setSize or setBounds methods are called afterwards with a width or height less than that was specified by the setMinimumSize method the window is automatically enlarged to meet the minimumSize value. The minimumSize value also affects the behaviour of the pack method.

The default behavior is restored by setting the minimum size parameter to the null value.

Resizing operation may be restricted if the user tries to resize window below the minimumSize value. This behaviour is platform-dependent.
Parameters:
  minimumSize - the new minimum size of this window
See Also:   Component.setMinimumSize
See Also:   Window.getMinimumSize
See Also:   Window.isMinimumSizeSet
See Also:   Window.setSize(Dimension)
See Also:   Window.pack
since:
   1.6




setModalBlocked
void setModalBlocked(Dialog blocker, boolean blocked, boolean peerCall)(Code)



setModalExclusionType
public void setModalExclusionType(Dialog.ModalExclusionType exclusionType)(Code)
Specifies the modal exclusion type for this window. If a window is modal excluded, it is not blocked by some modal dialogs. See java.awt.Dialog.ModalExclusionType Dialog.ModalExclusionType for possible modal exclusion types.

If the given type is not supported, NO_EXCLUDE is used.

Note: changing the modal exclusion type for a visible window may have no effect until it is hidden and then shown again.
Parameters:
  exclusionType - the modal exclusion type for this window; a nullvalue is equivivalent to Dialog.ModalExclusionType.NO_EXCLUDENO_EXCLUDE
throws:
  SecurityException - if the calling thread does not have permissionto set the modal exclusion property to the window with the givenexclusionType
See Also:   java.awt.Dialog.ModalExclusionType
See Also:   java.awt.Window.getModalExclusionType
See Also:   java.awt.Toolkit.isModalExclusionTypeSupported
since:
   1.6




setSize
public void setSize(Dimension d)(Code)

The d.width and d.height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .
See Also:   Window.getSize
See Also:   Window.setBounds
See Also:   Window.setMinimumSize
since:
   1.6




setSize
public void setSize(int width, int height)(Code)

The width and height values are automatically enlarged if either is less than the minimum size as specified by previous call to setMinimumSize .
See Also:   Window.getSize
See Also:   Window.setBounds
See Also:   Window.setMinimumSize
since:
   1.6




setTemporaryLostComponent
Component setTemporaryLostComponent(Component component)(Code)



setVisible
public void setVisible(boolean b)(Code)
Shows or hides this Window depending on the value of parameter b .

If the method shows the window then the window is also made focused under the following conditions:

  • The Window meets the requirements outlined in the Window.isFocusableWindow method.
  • The Window 's autoRequestFocus property is of the true value.
  • Native windowing system allows the Window to get focused.
There is an exception for the second condition (the value of the autoRequestFocus property). The property is not taken into account if the window is a modal dialog, which blocks the currently focused window.

Developers must never assume that the window is the focused or active window until it receives a WINDOW_GAINED_FOCUS or WINDOW_ACTIVATED event.
Parameters:
  b - if true , makes the Window visible, otherwise hides the Window .If the Window and/or its ownerare 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 allof its owned children. The Window and its subcomponents can be made visible againwith a call to #setVisible(true) .
See Also:   java.awt.Component.isDisplayable
See Also:   java.awt.Component.setVisible
See Also:   java.awt.Window.toFront
See Also:   java.awt.Window.dispose
See Also:   java.awt.Window.setAutoRequestFocus
See Also:   java.awt.Window.isFocusableWindow




show
public void show()(Code)
Makes the Window visible. 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.
See Also:   Component.isDisplayable
See Also:   Window.toFrontWindow.setVisible(boolean)



toBack
public void toBack()(Code)
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.

Places this Window at the bottom of the stacking order and shows it behind any other Windows in this VM. No action will take place is this Window is not visible. Some platforms do not allow Windows which are owned by other Windows to appear below their owners. Every attempt will be made to move this Window as low as possible in the stacking order; however, developers should not assume that this method will move this Window below all other windows in every situation.

Because of variations in native windowing systems, no guarantees about changes to the focused and active Windows can be made. Developers must never assume that this Window is no longer the focused or active Window until this Window receives a WINDOW_LOST_FOCUS or WINDOW_DEACTIVATED event. On platforms where the top-most window is the focused window, this method will probably cause this Window to lose focus. In that case, the next highest, focusable Window in this VM will receive focus. On platforms where the stacking order does not typically affect the focused window, this method will probably leave the focused and active Windows unchanged.
See Also:   Window.toFront




toBack_NoClientCode
final void toBack_NoClientCode()(Code)



toFront
public void toFront()(Code)
If this Window is visible, brings this Window to the front and may make it the focused Window.

Places this Window at the top of the stacking order and shows it in front of any other Windows in this VM. No action will take place if this Window is not visible. Some platforms do not allow Windows which own other Windows to appear on top of those owned Windows. Some platforms may not permit this VM to place its Windows above windows of native applications, or Windows of other VMs. This permission may depend on whether a Window in this VM is already focused. Every attempt will be made to move this Window as high as possible in the stacking order; however, developers should not assume that this method will move this Window above all other windows in every situation.

Developers must never assume that this Window is the focused or active Window until this Window receives a WINDOW_GAINED_FOCUS or WINDOW_ACTIVATED event. On platforms where the top-most window is the focused window, this method will probably focus this Window (if it is not already focused) under the following conditions:

  • The window meets the requirements outlined in the Window.isFocusableWindow method.
  • The window's property autoRequestFocus is of the true value.
  • Native windowing system allows the window to get focused.
On platforms where the stacking order does not typically affect the focused window, this method will probably leave the focused and active Windows unchanged.

If this method causes this Window to be focused, and this Window is a Frame or a Dialog, it will also become activated. If this Window is focused, but it is not a Frame or a Dialog, then the first Frame or Dialog that is an owner of this Window will be activated.

If this window is blocked by modal dialog, then the blocking dialog is brought to the front and remains above the blocked window.
See Also:   Window.toBack
See Also:   Window.setAutoRequestFocus
See Also:   Window.isFocusableWindow




toFront_NoClientCode
final void toFront_NoClientCode()(Code)



updateChildFocusableWindowState
static void updateChildFocusableWindowState(Window w)(Code)



updateChildrenBlocking
void updateChildrenBlocking()(Code)



Fields inherited from java.awt.Container
final static boolean INCLUDE_SELF(Code)(Java Doc)
final static boolean SEARCH_HEAVYWEIGHTS(Code)(Java Doc)
Component component(Code)(Java Doc)
transient ContainerListener containerListener(Code)(Java Doc)
transient int descendantsCount(Code)(Java Doc)
LayoutManager layoutMgr(Code)(Java Doc)
transient int listeningBoundsChildren(Code)(Java Doc)
transient int listeningChildren(Code)(Java Doc)
transient AppContext modalAppContext(Code)(Java Doc)
transient Component modalComp(Code)(Java Doc)
int ncomponents(Code)(Java Doc)

Methods inherited from java.awt.Container
public Component add(Component comp)(Code)(Java Doc)
public Component add(String name, Component comp)(Code)(Java Doc)
public Component add(Component comp, int index)(Code)(Java Doc)
public void add(Component comp, Object constraints)(Code)(Java Doc)
public void add(Component comp, Object constraints, int index)(Code)(Java Doc)
public synchronized void addContainerListener(ContainerListener l)(Code)(Java Doc)
protected void addImpl(Component comp, Object constraints, int index)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
void adjustDecendantsOnParent(int num)(Code)(Java Doc)
void adjustDescendants(int num)(Code)(Java Doc)
void adjustListeningChildren(long mask, int num)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
boolean canContainFocusOwner(Component focusOwnerCandidate)(Code)(Java Doc)
void checkGD(String stringID)(Code)(Java Doc)
void checkTreeLock()(Code)(Java Doc)
void clearCurrentFocusCycleRootOnHide()(Code)(Java Doc)
void clearMostRecentFocusOwnerOnHide()(Code)(Java Doc)
final boolean containsFocus()(Code)(Java Doc)
public int countComponents()(Code)(Java Doc)
int countHierarchyMembers()(Code)(Java Doc)
final void createChildHierarchyEvents(int id, long changeFlags, boolean enabledOnToolkit)(Code)(Java Doc)
final int createHierarchyEvents(int id, Component changed, Container changedParent, long changeFlags, boolean enabledOnToolkit)(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
void dispatchEventImpl(AWTEvent e)(Code)(Java Doc)
void dispatchEventToSelf(AWTEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
boolean eventEnabled(AWTEvent e)(Code)(Java Doc)
public Component findComponentAt(int x, int y)(Code)(Java Doc)
final Component findComponentAt(int x, int y, boolean ignoreEnabled)(Code)(Java Doc)
public Component findComponentAt(Point p)(Code)(Java Doc)
final Component findComponentAtImpl(int x, int y, boolean ignoreEnabled)(Code)(Java Doc)
Accessible getAccessibleAt(Point p)(Code)(Java Doc)
Accessible getAccessibleChild(int i)(Code)(Java Doc)
int getAccessibleChildrenCount()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
public Component getComponent(int n)(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public int getComponentCount()(Code)(Java Doc)
public int getComponentZOrder(Component comp)(Code)(Java Doc)
public Component[] getComponents()(Code)(Java Doc)
final Component[] getComponents_NoClientCode()(Code)(Java Doc)
public synchronized ContainerListener[] getContainerListeners()(Code)(Java Doc)
Component getDropTargetEventTarget(int x, int y, boolean includeSelf)(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public FocusTraversalPolicy getFocusTraversalPolicy()(Code)(Java Doc)
Container getHeavyweightContainer()(Code)(Java Doc)
public Insets getInsets()(Code)(Java Doc)
public LayoutManager getLayout()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
Component getMouseEventTarget(int x, int y, boolean includeSelf)(Code)(Java Doc)
public Point getMousePosition(boolean allowChildren) throws HeadlessException(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
final Container getTraversalRoot()(Code)(Java Doc)
void initializeFocusTraversalKeys()(Code)(Java Doc)
public Insets insets()(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
void invalidateTree()(Code)(Java Doc)
public boolean isAncestorOf(Component c)(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusCycleRoot()(Code)(Java Doc)
final public boolean isFocusTraversalPolicyProvider()(Code)(Java Doc)
public boolean isFocusTraversalPolicySet()(Code)(Java Doc)
boolean isSameOrAncestorOf(Component comp, boolean allowChildren)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
void lightweightPaint(Graphics g)(Code)(Java Doc)
void lightweightPrint(Graphics g)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
int numListening(long mask)(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintComponents(Graphics g)(Code)(Java Doc)
void paintHeavyweightComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
void postProcessKeyEvent(KeyEvent e)(Code)(Java Doc)
boolean postsOldMouseEvents()(Code)(Java Doc)
void preProcessKeyEvent(KeyEvent e)(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printComponents(Graphics g)(Code)(Java Doc)
void printHeavyweightComponents(Graphics g)(Code)(Java Doc)
protected void processContainerEvent(ContainerEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
void proxyEnableEvents(long events)(Code)(Java Doc)
public void remove(int index)(Code)(Java Doc)
public void remove(Component comp)(Code)(Java Doc)
public void removeAll()(Code)(Java Doc)
public synchronized void removeContainerListener(ContainerListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public void setComponentZOrder(Component comp, int index)(Code)(Java Doc)
public void setFocusCycleRoot(boolean focusCycleRoot)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalPolicy(FocusTraversalPolicy policy)(Code)(Java Doc)
final public void setFocusTraversalPolicyProvider(boolean provider)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setLayout(LayoutManager mgr)(Code)(Java Doc)
public void transferFocusDownCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
public void validate()(Code)(Java Doc)
protected void validateTree()(Code)(Java Doc)

Fields inherited from java.awt.Component
final public static float BOTTOM_ALIGNMENT(Code)(Java Doc)
final public static float CENTER_ALIGNMENT(Code)(Java Doc)
final public static float LEFT_ALIGNMENT(Code)(Java Doc)
final static Object LOCK(Code)(Java Doc)
final public static float RIGHT_ALIGNMENT(Code)(Java Doc)
final public static float TOP_ALIGNMENT(Code)(Java Doc)
AccessibleContext accessibleContext(Code)(Java Doc)
final static String actionListenerK(Code)(Java Doc)
final static String adjustmentListenerK(Code)(Java Doc)
transient AppContext appContext(Code)(Java Doc)
Color background(Code)(Java Doc)
transient BufferStrategy bufferStrategy(Code)(Java Doc)
transient ComponentListener componentListener(Code)(Java Doc)
final static String componentListenerK(Code)(Java Doc)
transient ComponentOrientation componentOrientation(Code)(Java Doc)
final static String containerListenerK(Code)(Java Doc)
Cursor cursor(Code)(Java Doc)
DropTarget dropTarget(Code)(Java Doc)
boolean enabled(Code)(Java Doc)
transient EventQueueItem[] eventCache(Code)(Java Doc)
long eventMask(Code)(Java Doc)
transient FocusListener focusListener(Code)(Java Doc)
final static String focusListenerK(Code)(Java Doc)
Set[] focusTraversalKeys(Code)(Java Doc)
Font font(Code)(Java Doc)
Color foreground(Code)(Java Doc)
transient GraphicsConfiguration graphicsConfig(Code)(Java Doc)
int height(Code)(Java Doc)
transient HierarchyBoundsListener hierarchyBoundsListener(Code)(Java Doc)
final static String hierarchyBoundsListenerK(Code)(Java Doc)
transient HierarchyListener hierarchyListener(Code)(Java Doc)
final static String hierarchyListenerK(Code)(Java Doc)
boolean ignoreRepaint(Code)(Java Doc)
static int incRate(Code)(Java Doc)
transient InputMethodListener inputMethodListener(Code)(Java Doc)
final static String inputMethodListenerK(Code)(Java Doc)
static boolean isInc(Code)(Java Doc)
boolean isPacked(Code)(Java Doc)
final static String itemListenerK(Code)(Java Doc)
transient KeyListener keyListener(Code)(Java Doc)
final static String keyListenerK(Code)(Java Doc)
Locale locale(Code)(Java Doc)
Dimension maxSize(Code)(Java Doc)
boolean maxSizeSet(Code)(Java Doc)
Dimension minSize(Code)(Java Doc)
boolean minSizeSet(Code)(Java Doc)
transient MouseListener mouseListener(Code)(Java Doc)
final static String mouseListenerK(Code)(Java Doc)
transient MouseMotionListener mouseMotionListener(Code)(Java Doc)
final static String mouseMotionListenerK(Code)(Java Doc)
transient MouseWheelListener mouseWheelListener(Code)(Java Doc)
final static String mouseWheelListenerK(Code)(Java Doc)
transient NativeInLightFixer nativeInLightFixer(Code)(Java Doc)
boolean newEventsOnly(Code)(Java Doc)
final static String ownedWindowK(Code)(Java Doc)
transient Container parent(Code)(Java Doc)
transient ComponentPeer peer(Code)(Java Doc)
Font peerFont(Code)(Java Doc)
Vector popups(Code)(Java Doc)
Dimension prefSize(Code)(Java Doc)
boolean prefSizeSet(Code)(Java Doc)
final static String textListenerK(Code)(Java Doc)
volatile boolean valid(Code)(Java Doc)
boolean visible(Code)(Java Doc)
int width(Code)(Java Doc)
transient RuntimeException windowClosingException(Code)(Java Doc)
final static String windowFocusListenerK(Code)(Java Doc)
final static String windowListenerK(Code)(Java Doc)
final static String windowStateListenerK(Code)(Java Doc)
int x(Code)(Java Doc)
int y(Code)(Java Doc)

Methods inherited from java.awt.Component
public boolean action(Event evt, Object what)(Code)(Java Doc)
public void add(PopupMenu popup)(Code)(Java Doc)
public synchronized void addComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void addFocusListener(FocusListener l)(Code)(Java Doc)
public void addHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void addHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void addInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void addKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void addMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void addMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void addMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void addNotify()(Code)(Java Doc)
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
void adjustListeningChildrenOnParent(long mask, int num)(Code)(Java Doc)
public void applyComponentOrientation(ComponentOrientation orientation)(Code)(Java Doc)
public boolean areFocusTraversalKeysSet(int id)(Code)(Java Doc)
boolean areInputMethodsEnabled()(Code)(Java Doc)
void autoProcessMouseWheel(MouseWheelEvent e)(Code)(Java Doc)
public Rectangle bounds()(Code)(Java Doc)
final boolean canBeFocusOwner()(Code)(Java Doc)
void checkGD(String stringID)(Code)(Java Doc)
public int checkImage(Image image, ImageObserver observer)(Code)(Java Doc)
public int checkImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
boolean checkWindowClosingException()(Code)(Java Doc)
void clearCurrentFocusCycleRootOnHide()(Code)(Java Doc)
void clearMostRecentFocusOwnerOnHide()(Code)(Java Doc)
protected AWTEvent coalesceEvents(AWTEvent existingEvent, AWTEvent newEvent)(Code)(Java Doc)
String constructComponentName()(Code)(Java Doc)
public boolean contains(int x, int y)(Code)(Java Doc)
public boolean contains(Point p)(Code)(Java Doc)
boolean containsFocus()(Code)(Java Doc)
int countHierarchyMembers()(Code)(Java Doc)
void createBufferStrategy(int numBuffers)(Code)(Java Doc)
void createBufferStrategy(int numBuffers, BufferCapabilities caps) throws AWTException(Code)(Java Doc)
int createHierarchyEvents(int id, Component changed, Container changedParent, long changeFlags, boolean enabledOnToolkit)(Code)(Java Doc)
public Image createImage(ImageProducer producer)(Code)(Java Doc)
public Image createImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height)(Code)(Java Doc)
public VolatileImage createVolatileImage(int width, int height, ImageCapabilities caps) throws AWTException(Code)(Java Doc)
public void deliverEvent(Event e)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
final protected void disableEvents(long eventsToDisable)(Code)(Java Doc)
final public void dispatchEvent(AWTEvent e)(Code)(Java Doc)
void dispatchEventImpl(AWTEvent e)(Code)(Java Doc)
boolean dispatchMouseWheelToAncestor(MouseWheelEvent e)(Code)(Java Doc)
public void doLayout()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
public void enable(boolean b)(Code)(Java Doc)
final protected void enableEvents(long eventsToEnable)(Code)(Java Doc)
public void enableInputMethods(boolean enable)(Code)(Java Doc)
boolean eventEnabled(AWTEvent e)(Code)(Java Doc)
boolean eventTypeEnabled(int type)(Code)(Java Doc)
Component findUnderMouseInWindow(PointerInfo pi)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, boolean oldValue, boolean newValue)(Code)(Java Doc)
protected void firePropertyChange(String propertyName, int oldValue, int newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, byte oldValue, byte newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, char oldValue, char newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, short oldValue, short newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, long oldValue, long newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, float oldValue, float newValue)(Code)(Java Doc)
public void firePropertyChange(String propertyName, double oldValue, double newValue)(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
int getAccessibleIndexInParent()(Code)(Java Doc)
AccessibleStateSet getAccessibleStateSet()(Code)(Java Doc)
public float getAlignmentX()(Code)(Java Doc)
public float getAlignmentY()(Code)(Java Doc)
Image getBackBuffer()(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public int getBaseline(int width, int height)(Code)(Java Doc)
public BaselineResizeBehavior getBaselineResizeBehavior()(Code)(Java Doc)
public Rectangle getBounds()(Code)(Java Doc)
public Rectangle getBounds(Rectangle rv)(Code)(Java Doc)
int getBoundsOp()(Code)(Java Doc)
BufferStrategy getBufferStrategy()(Code)(Java Doc)
public ColorModel getColorModel()(Code)(Java Doc)
public Component getComponentAt(int x, int y)(Code)(Java Doc)
public Component getComponentAt(Point p)(Code)(Java Doc)
public synchronized ComponentListener[] getComponentListeners()(Code)(Java Doc)
public ComponentOrientation getComponentOrientation()(Code)(Java Doc)
Window getContainingWindow()(Code)(Java Doc)
static Window getContainingWindow(Component comp)(Code)(Java Doc)
public Cursor getCursor()(Code)(Java Doc)
final Cursor getCursor_NoClientCode()(Code)(Java Doc)
public synchronized DropTarget getDropTarget()(Code)(Java Doc)
public Container getFocusCycleRootAncestor()(Code)(Java Doc)
public synchronized FocusListener[] getFocusListeners()(Code)(Java Doc)
public Set<AWTKeyStroke> getFocusTraversalKeys(int id)(Code)(Java Doc)
public boolean getFocusTraversalKeysEnabled()(Code)(Java Doc)
final Set getFocusTraversalKeys_NoIDCheck(int id)(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics(Font font)(Code)(Java Doc)
final Font getFont_NoClientCode()(Code)(Java Doc)
public Color getForeground()(Code)(Java Doc)
public Graphics getGraphics()(Code)(Java Doc)
public GraphicsConfiguration getGraphicsConfiguration()(Code)(Java Doc)
final GraphicsConfiguration getGraphicsConfiguration_NoClientCode()(Code)(Java Doc)
final Graphics getGraphics_NoClientCode()(Code)(Java Doc)
public int getHeight()(Code)(Java Doc)
public synchronized HierarchyBoundsListener[] getHierarchyBoundsListeners()(Code)(Java Doc)
public synchronized HierarchyListener[] getHierarchyListeners()(Code)(Java Doc)
public boolean getIgnoreRepaint()(Code)(Java Doc)
public InputContext getInputContext()(Code)(Java Doc)
public synchronized InputMethodListener[] getInputMethodListeners()(Code)(Java Doc)
public InputMethodRequests getInputMethodRequests()(Code)(Java Doc)
public synchronized KeyListener[] getKeyListeners()(Code)(Java Doc)
public T[] getListeners(Class<T> listenerType)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Point getLocation()(Code)(Java Doc)
public Point getLocation(Point rv)(Code)(Java Doc)
public Point getLocationOnScreen()(Code)(Java Doc)
final Point getLocationOnScreen_NoTreeLock()(Code)(Java Doc)
public Dimension getMaximumSize()(Code)(Java Doc)
public Dimension getMinimumSize()(Code)(Java Doc)
public synchronized MouseListener[] getMouseListeners()(Code)(Java Doc)
public synchronized MouseMotionListener[] getMouseMotionListeners()(Code)(Java Doc)
public Point getMousePosition() throws HeadlessException(Code)(Java Doc)
public synchronized MouseWheelListener[] getMouseWheelListeners()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
Container getNativeContainer()(Code)(Java Doc)
public Container getParent()(Code)(Java Doc)
final Container getParent_NoClientCode()(Code)(Java Doc)
public ComponentPeer getPeer()(Code)(Java Doc)
public Dimension getPreferredSize()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners()(Code)(Java Doc)
public synchronized PropertyChangeListener[] getPropertyChangeListeners(String propertyName)(Code)(Java Doc)
public Dimension getSize()(Code)(Java Doc)
public Dimension getSize(Dimension rv)(Code)(Java Doc)
public Toolkit getToolkit()(Code)(Java Doc)
final Toolkit getToolkitImpl()(Code)(Java Doc)
Container getTraversalRoot()(Code)(Java Doc)
final public Object getTreeLock()(Code)(Java Doc)
public int getWidth()(Code)(Java Doc)
public int getX()(Code)(Java Doc)
public int getY()(Code)(Java Doc)
public boolean gotFocus(Event evt, Object what)(Code)(Java Doc)
public boolean handleEvent(Event evt)(Code)(Java Doc)
public boolean hasFocus()(Code)(Java Doc)
public void hide()(Code)(Java Doc)
public boolean imageUpdate(Image img, int infoflags, int x, int y, int w, int h)(Code)(Java Doc)
void initializeFocusTraversalKeys()(Code)(Java Doc)
public boolean inside(int x, int y)(Code)(Java Doc)
public void invalidate()(Code)(Java Doc)
public boolean isBackgroundSet()(Code)(Java Doc)
final boolean isCoalescingEnabled()(Code)(Java Doc)
public boolean isCursorSet()(Code)(Java Doc)
public boolean isDisplayable()(Code)(Java Doc)
public boolean isDoubleBuffered()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
final boolean isEnabledImpl()(Code)(Java Doc)
public boolean isFocusCycleRoot(Container container)(Code)(Java Doc)
public boolean isFocusOwner()(Code)(Java Doc)
public boolean isFocusTraversable()(Code)(Java Doc)
final boolean isFocusTraversableOverridden()(Code)(Java Doc)
public boolean isFocusable()(Code)(Java Doc)
public boolean isFontSet()(Code)(Java Doc)
public boolean isForegroundSet()(Code)(Java Doc)
static boolean isInstanceOf(Object obj, String className)(Code)(Java Doc)
public boolean isLightweight()(Code)(Java Doc)
public boolean isMaximumSizeSet()(Code)(Java Doc)
public boolean isMinimumSizeSet()(Code)(Java Doc)
public boolean isOpaque()(Code)(Java Doc)
public boolean isPreferredSizeSet()(Code)(Java Doc)
boolean isRecursivelyVisible()(Code)(Java Doc)
boolean isSameOrAncestorOf(Component comp, boolean allowChildren)(Code)(Java Doc)
public boolean isShowing()(Code)(Java Doc)
public boolean isValid()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
final boolean isVisible_NoClientCode()(Code)(Java Doc)
public boolean keyDown(Event evt, int key)(Code)(Java Doc)
public boolean keyUp(Event evt, int key)(Code)(Java Doc)
public void layout()(Code)(Java Doc)
void lightweightPaint(Graphics g)(Code)(Java Doc)
void lightweightPrint(Graphics g)(Code)(Java Doc)
public void list()(Code)(Java Doc)
public void list(PrintStream out)(Code)(Java Doc)
public void list(PrintStream out, int indent)(Code)(Java Doc)
public void list(PrintWriter out)(Code)(Java Doc)
public void list(PrintWriter out, int indent)(Code)(Java Doc)
public Component locate(int x, int y)(Code)(Java Doc)
public Point location()(Code)(Java Doc)
public boolean lostFocus(Event evt, Object what)(Code)(Java Doc)
public Dimension minimumSize()(Code)(Java Doc)
public boolean mouseDown(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseDrag(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseEnter(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseExit(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseMove(Event evt, int x, int y)(Code)(Java Doc)
public boolean mouseUp(Event evt, int x, int y)(Code)(Java Doc)
public void move(int x, int y)(Code)(Java Doc)
public void nextFocus()(Code)(Java Doc)
int numListening(long mask)(Code)(Java Doc)
public void paint(Graphics g)(Code)(Java Doc)
public void paintAll(Graphics g)(Code)(Java Doc)
void paintHeavyweightComponents(Graphics g)(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
Point pointRelativeToComponent(Point absolute)(Code)(Java Doc)
public boolean postEvent(Event e)(Code)(Java Doc)
static boolean postNextFocusHelper(Component toFocus, CausedFocusEvent.Cause cause)(Code)(Java Doc)
boolean postsOldMouseEvents()(Code)(Java Doc)
final Component preNextFocusHelper()(Code)(Java Doc)
public Dimension preferredSize()(Code)(Java Doc)
public boolean prepareImage(Image image, ImageObserver observer)(Code)(Java Doc)
public boolean prepareImage(Image image, int width, int height, ImageObserver observer)(Code)(Java Doc)
public void print(Graphics g)(Code)(Java Doc)
public void printAll(Graphics g)(Code)(Java Doc)
void printHeavyweightComponents(Graphics g)(Code)(Java Doc)
protected void processComponentEvent(ComponentEvent e)(Code)(Java Doc)
protected void processEvent(AWTEvent e)(Code)(Java Doc)
protected void processFocusEvent(FocusEvent e)(Code)(Java Doc)
protected void processHierarchyBoundsEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processHierarchyEvent(HierarchyEvent e)(Code)(Java Doc)
protected void processInputMethodEvent(InputMethodEvent e)(Code)(Java Doc)
protected void processKeyEvent(KeyEvent e)(Code)(Java Doc)
protected void processMouseEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseMotionEvent(MouseEvent e)(Code)(Java Doc)
protected void processMouseWheelEvent(MouseWheelEvent e)(Code)(Java Doc)
public void remove(MenuComponent popup)(Code)(Java Doc)
public synchronized void removeComponentListener(ComponentListener l)(Code)(Java Doc)
public synchronized void removeFocusListener(FocusListener l)(Code)(Java Doc)
public void removeHierarchyBoundsListener(HierarchyBoundsListener l)(Code)(Java Doc)
public void removeHierarchyListener(HierarchyListener l)(Code)(Java Doc)
public synchronized void removeInputMethodListener(InputMethodListener l)(Code)(Java Doc)
public synchronized void removeKeyListener(KeyListener l)(Code)(Java Doc)
public synchronized void removeMouseListener(MouseListener l)(Code)(Java Doc)
public synchronized void removeMouseMotionListener(MouseMotionListener l)(Code)(Java Doc)
public synchronized void removeMouseWheelListener(MouseWheelListener l)(Code)(Java Doc)
public void removeNotify()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public synchronized void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)(Code)(Java Doc)
public void repaint()(Code)(Java Doc)
public void repaint(long tm)(Code)(Java Doc)
public void repaint(int x, int y, int width, int height)(Code)(Java Doc)
public void repaint(long tm, int x, int y, int width, int height)(Code)(Java Doc)
public void requestFocus()(Code)(Java Doc)
void requestFocus(CausedFocusEvent.Cause cause)(Code)(Java Doc)
protected boolean requestFocus(boolean temporary)(Code)(Java Doc)
boolean requestFocus(boolean temporary, CausedFocusEvent.Cause cause)(Code)(Java Doc)
final boolean requestFocusHelper(boolean temporary, boolean focusedWindowChangeAllowed)(Code)(Java Doc)
final boolean requestFocusHelper(boolean temporary, boolean focusedWindowChangeAllowed, CausedFocusEvent.Cause cause)(Code)(Java Doc)
public boolean requestFocusInWindow()(Code)(Java Doc)
boolean requestFocusInWindow(CausedFocusEvent.Cause cause)(Code)(Java Doc)
protected boolean requestFocusInWindow(boolean temporary)(Code)(Java Doc)
boolean requestFocusInWindow(boolean temporary, CausedFocusEvent.Cause cause)(Code)(Java Doc)
void resetGC()(Code)(Java Doc)
public void reshape(int x, int y, int width, int height)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
public void setBackground(Color c)(Code)(Java Doc)
public void setBounds(int x, int y, int width, int height)(Code)(Java Doc)
public void setBounds(Rectangle r)(Code)(Java Doc)
void setBoundsOp(int op)(Code)(Java Doc)
public void setComponentOrientation(ComponentOrientation o)(Code)(Java Doc)
public void setCursor(Cursor cursor)(Code)(Java Doc)
public synchronized void setDropTarget(DropTarget dt)(Code)(Java Doc)
public void setEnabled(boolean b)(Code)(Java Doc)
public void setFocusTraversalKeys(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusTraversalKeysEnabled(boolean focusTraversalKeysEnabled)(Code)(Java Doc)
final void setFocusTraversalKeys_NoIDCheck(int id, Set<? extends AWTKeyStroke> keystrokes)(Code)(Java Doc)
public void setFocusable(boolean focusable)(Code)(Java Doc)
public void setFont(Font f)(Code)(Java Doc)
public void setForeground(Color c)(Code)(Java Doc)
void setGCFromPeer()(Code)(Java Doc)
public void setIgnoreRepaint(boolean ignoreRepaint)(Code)(Java Doc)
public void setLocale(Locale l)(Code)(Java Doc)
public void setLocation(int x, int y)(Code)(Java Doc)
public void setLocation(Point p)(Code)(Java Doc)
public void setMaximumSize(Dimension maximumSize)(Code)(Java Doc)
public void setMinimumSize(Dimension minimumSize)(Code)(Java Doc)
public void setName(String name)(Code)(Java Doc)
public void setPreferredSize(Dimension preferredSize)(Code)(Java Doc)
static synchronized void setRequestFocusController(RequestFocusController requestController)(Code)(Java Doc)
public void setSize(int width, int height)(Code)(Java Doc)
public void setSize(Dimension d)(Code)(Java Doc)
public void setVisible(boolean b)(Code)(Java Doc)
public void show()(Code)(Java Doc)
public void show(boolean b)(Code)(Java Doc)
public Dimension size()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void transferFocus()(Code)(Java Doc)
public void transferFocusBackward()(Code)(Java Doc)
public void transferFocusUpCycle()(Code)(Java Doc)
public void update(Graphics g)(Code)(Java Doc)
final void updateCursorImmediately()(Code)(Java Doc)
public void validate()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.