Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 217 (Maintenance Release)

Uses of Class
java.awt.Window

Packages that use Window
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components. 
 

Uses of Window in java.awt
 

Subclasses of Window in java.awt
 class Frame
          A Frame is a top-level window with a title and a border.
 

Methods in java.awt that return Window
 Window KeyboardFocusManager.getFocusedWindow()
          Returns the focused Window, if the focused Window is in the same context as the calling thread.
 Window KeyboardFocusManager.getActiveWindow()
          Returns the active Window, if the active Window is in the same context as the calling thread.
abstract  Window GraphicsDevice.getFullScreenWindow()
          Returns the Window object representing the full-screen window if the device is in full-screen mode and the Window is in the same context as the calling thread.
 

Methods in java.awt with parameters of type Window
abstract  void GraphicsDevice.setFullScreenWindow(Window w)
          Enter full-screen mode, or return to windowed mode.
 Component FocusTraversalPolicy.getInitialComponent(Window window)
          Returns the Component that should receive the focus when a Window is made visible for the first time.
 

Uses of Window in java.awt.event
 

Methods in java.awt.event that return Window
 Window WindowEvent.getWindow()
          Returns the originator of the event.
 Window WindowEvent.getOppositeWindow()
          Returns the other Window involved in this focus or activation change.
 

Constructors in java.awt.event with parameters of type Window
WindowEvent(Window source, int id, Window opposite)
          Constructs a WindowEvent object with the specified opposite Window.
WindowEvent(Window source, int id)
          Constructs a WindowEvent object.
 


JSR 217 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 217 specification.