Uses of Class
java.awt.Window
Packages that use Window
Package
Description
Provides a collection of interfaces and classes that compose the Java Accessibility
Utilities.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides interfaces and classes for dealing with different types of events
fired by AWT components.
Provides interfaces that enable the development of input methods that can be
used with any Java runtime environment.
Package
javax.print.attribute.standard contains classes for specific
printing attributes.Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides user interface objects built according to the Basic look and feel.
-
Uses of Window in com.sun.java.accessibility.util
Methods in com.sun.java.accessibility.util that return WindowModifier and TypeMethodDescriptionstatic Window[]EventQueueMonitor.getTopLevelWindows()Return the list of top level Windows in use in the Java Virtual Machine.static WindowEventQueueMonitor.getTopLevelWindowWithFocus()Return the top levelWindowthat currently has keyboard focus.Methods in com.sun.java.accessibility.util with parameters of type WindowModifier and TypeMethodDescriptionvoidTopLevelWindowListener.topLevelWindowCreated(Window w) Invoked when a new top level window has been created.voidTopLevelWindowListener.topLevelWindowDestroyed(Window w) Invoked when a top level window has been destroyed. -
Uses of Window in java.awt
Modifier and TypeClassDescriptionclassA 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.classTheFileDialogclass displays a dialog window from which the user can select a file.classAFrameis a top-level window with a title and a border.Modifier and TypeMethodDescriptionKeyboardFocusManager.getActiveWindow()Returns the active Window, if the active Window is in the same context as the calling thread.KeyboardFocusManager.getFocusedWindow()Returns the focused Window, if the focused Window is in the same context as the calling thread.GraphicsDevice.getFullScreenWindow()Returns theWindowobject representing the full-screen window if the device is in full-screen mode.protected WindowKeyboardFocusManager.getGlobalActiveWindow()Returns the active Window, even if the calling thread is in a different context than the active Window.protected WindowKeyboardFocusManager.getGlobalFocusedWindow()Returns the focused Window, even if the calling thread is in a different context than the focused Window.Window[]Window.getOwnedWindows()Return an array containing all the windows this window currently owns.Window.getOwner()Returns the owner of this window.static Window[]Window.getOwnerlessWindows()Returns an array of allWindows created by this application that have no owner.static Window[]Window.getWindows()Returns an array of allWindows, both owned and ownerless, created by this application.Modifier and TypeMethodDescriptionFocusTraversalPolicy.getInitialComponent(Window window) Returns the Component that should receive the focus when a Window is made visible for the first time.voidTaskbar.requestWindowUserAttention(Window w) Requests user attention to the specified window.voidGraphicsDevice.setFullScreenWindow(Window w) Enter full-screen mode, or return to windowed mode.protected voidKeyboardFocusManager.setGlobalActiveWindow(Window activeWindow) Sets the active Window.protected voidKeyboardFocusManager.setGlobalFocusedWindow(Window focusedWindow) Sets the focused Window.voidTaskbar.setWindowIconBadge(Window w, Image badge) Affixes a small badge to this application's icon in the task area for the specified window.voidTaskbar.setWindowProgressState(Window w, Taskbar.State state) Sets a progress state for a specified window.voidTaskbar.setWindowProgressValue(Window w, int value) Displays a determinate progress bar in the task area for the specified window.ModifierConstructorDescriptionConstructs an initially invisible, modelessDialogwith the specified ownerWindowand an empty title.Dialog(Window owner, Dialog.ModalityType modalityType) Constructs an initially invisibleDialogwith the specified ownerWindowand modality and an empty title.Constructs an initially invisible, modelessDialogwith the specified ownerWindowand title.Dialog(Window owner, String title, Dialog.ModalityType modalityType) Constructs an initially invisibleDialogwith the specified ownerWindow, title and modality.Dialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc) Constructs an initially invisibleDialogwith the specified ownerWindow, title, modality andGraphicsConfiguration.Constructs a new, initially invisible window with the specifiedWindowas its owner.Window(Window owner, GraphicsConfiguration gc) Constructs a new, initially invisible window with the specified ownerWindowand aGraphicsConfigurationof a screen device. -
Uses of Window in java.awt.event
Methods in java.awt.event that return WindowModifier and TypeMethodDescriptionWindowEvent.getOppositeWindow()Returns the other Window involved in this focus or activation change.WindowEvent.getWindow()Returns the originator of the event.Constructors in java.awt.event with parameters of type WindowModifierConstructorDescriptionWindowEvent(Window source, int id) Constructs aWindowEventobject.WindowEvent(Window source, int id, int oldState, int newState) Constructs aWindowEventobject with the specified previous and new window states.WindowEvent(Window source, int id, Window opposite) Constructs aWindowEventobject with the specified oppositeWindow.WindowEvent(Window source, int id, Window opposite, int oldState, int newState) Constructs aWindowEventobject. -
Uses of Window in java.awt.im.spi
Methods in java.awt.im.spi that return WindowModifier and TypeMethodDescriptionInputMethodContext.createInputMethodWindow(String title, boolean attachToInputContext) Creates a top-level window for use by the input method. -
Uses of Window in javax.print.attribute.standard
Methods in javax.print.attribute.standard that return WindowModifier and TypeMethodDescriptionDialogOwner.getOwner()Returns aWindow owner, if one was specified, otherwisenull.Constructors in javax.print.attribute.standard with parameters of type WindowModifierConstructorDescriptionDialogOwner(Window owner) Constructs an instance which can be used to request that the specifiedWindowbe the owner of the dialog. -
Uses of Window in javax.swing
Subclasses of Window in javax.swingModifier and TypeClassDescriptionclassThe main class for creating a dialog window.classAn extended version ofjava.awt.Framethat adds support for the JFC/Swing component architecture.classAJWindowis a container that can be displayed anywhere on the user's desktop.Methods in javax.swing that return WindowModifier and TypeMethodDescriptionstatic WindowSwingUtilities.getWindowAncestor(Component c) Returns the firstWindowancestor ofc, ornullifcis not contained inside aWindow.static WindowSwingUtilities.windowForComponent(Component c) Returns the firstWindowancestor ofc, ornullifcis not contained inside aWindow.Methods in javax.swing with parameters of type WindowModifier and TypeMethodDescriptionvoidRepaintManager.addDirtyRegion(Window window, int x, int y, int w, int h) Addswindowto the list ofComponents that need to be repainted.Constructors in javax.swing with parameters of type WindowModifierConstructorDescriptionCreates a modeless dialog with the specifiedWindowas its owner and an empty title.JDialog(Window owner, Dialog.ModalityType modalityType) Creates a dialog with an empty title and the specified modality andWindowas its owner.Creates a modeless dialog with the specified title and ownerWindow.JDialog(Window owner, String title, Dialog.ModalityType modalityType) Creates a dialog with the specified title, ownerWindowand modality.JDialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc) Creates a dialog with the specified title, ownerWindow, modality andGraphicsConfiguration.Creates a window with the specified owner window.JWindow(Window owner, GraphicsConfiguration gc) Creates a window with the specified owner window andGraphicsConfigurationof a screen device. -
Uses of Window in javax.swing.plaf.basic
Subclasses of Window in javax.swing.plaf.basicModifier and TypeClassDescriptionprotected classThe window which appears during dragging theJToolBar.