JavaTM 2 Platform
Std. Ed. v1.4.2

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. 
java.awt.im.spi Provides interfaces that enable the development of input methods that can be used with any Java runtime environment. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look and feel. 
 

Uses of Window in java.awt
 

Subclasses of Window in java.awt
 class Dialog
          A Dialog is a top-level window with a title and a border that is typically used to take some form of input from the user.
 class FileDialog
          The FileDialog class displays a dialog window from which the user can select a file.
 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.
protected  Window KeyboardFocusManager.getGlobalFocusedWindow()
          Returns the focused Window, even if the calling thread is in a different context than the focused Window.
 Window KeyboardFocusManager.getActiveWindow()
          Returns the active Window, if the active Window is in the same context as the calling thread.
protected  Window KeyboardFocusManager.getGlobalActiveWindow()
          Returns the active Window, even if the calling thread is in a different context than the active Window.
 Window Window.getOwner()
          Returns the owner of this window.
 Window[] Window.getOwnedWindows()
          Return an array containing all the windows this window currently owns.
 Window GraphicsDevice.getFullScreenWindow()
          Returns the Window object representing the full-screen window if the device is in full-screen mode.
 

Methods in java.awt with parameters of type Window
protected  void KeyboardFocusManager.setGlobalFocusedWindow(Window focusedWindow)
          Sets the focused Window.
protected  void KeyboardFocusManager.setGlobalActiveWindow(Window activeWindow)
          Sets the active Window.
 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.
protected abstract  java.awt.peer.WindowPeer Toolkit.createWindow(Window target)
          Creates this toolkit's implementation of Window using the specified peer interface.
 

Constructors in java.awt with parameters of type Window
Window(Window owner)
          Constructs a new invisible window with the specified Window as its owner.
Window(Window owner, GraphicsConfiguration gc)
          Constructs a new invisible window with the specified window as its owner and a GraphicsConfiguration of a screen device.
 

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, int oldState, int newState)
          Constructs a WindowEvent object.
WindowEvent(Window source, int id, Window opposite)
          Constructs a WindowEvent object with the specified opposite Window.
WindowEvent(Window source, int id, int oldState, int newState)
          Constructs a WindowEvent object with the specified previous and new window states.
WindowEvent(Window source, int id)
          Constructs a WindowEvent object.
 

Uses of Window in java.awt.im.spi
 

Methods in java.awt.im.spi that return Window
 Window InputMethodContext.createInputMethodWindow(String title, boolean attachToInputContext)
          Creates a top-level window for use by the input method.
 

Uses of Window in javax.swing
 

Subclasses of Window in javax.swing
 class JDialog
          The main class for creating a dialog window.
 class JFrame
          An extended version of java.awt.Frame that adds support for the JFC/Swing component architecture.
 class JWindow
          A JWindow is a container that can be displayed anywhere on the user's desktop.
 

Methods in javax.swing that return Window
static Window SwingUtilities.getWindowAncestor(Component c)
           
static Window SwingUtilities.windowForComponent(Component aComponent)
          Return aComponent's window
 

Constructors in javax.swing with parameters of type Window
JWindow(Window owner)
          Creates a window with the specified owner window.
JWindow(Window owner, GraphicsConfiguration gc)
          Creates a window with the specified owner window and GraphicsConfiguration of a screen device.
 

Uses of Window in javax.swing.plaf.basic
 

Subclasses of Window in javax.swing.plaf.basic
protected  class BasicToolBarUI.DragWindow
           
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.