Uses of Class
vaadinx.awt.Window
Packages that use Window
Package
Description
-
Uses of Window in vaadinx
Modifier and TypeMethodDescriptionEHelper.getWindows()EveryWindowthis app instance has constructed and not yet let go of, in construction order — the source of truth behindWindow.getWindows(),Window.getOwnerlessWindows()andFrame.getFrames().Modifier and TypeMethodDescriptionstatic voidEHelper.onWindowCreated(Window w) static voidEHelper.onWindowDisplayable(Window w) TheaddNotify()->allWindows.add(this)edge.static voidEHelper.onWindowUndisplayable(Window w) TheremoveNotify()->allWindows.remove(this)edge, and the one place a Window stops being displayable — so also whereAutoShutdownlearns the app may be over. -
Uses of Window in vaadinx.awt
Subclasses of Window in vaadinx.awtModifier and TypeClassDescriptionclassEmulator forDialog, rendered bySFrame.classEmulator forFileDialog.classEmulator forFrame.Methods in vaadinx.awt that return WindowModifier and TypeMethodDescriptionKeyboardFocusManager.getActiveWindow()Same answer asKeyboardFocusManager.getFocusedWindow(): a browser tab has exactly one active window by construction, so the JDK's focused-vs-active distinction (which separates a focused owner-lessWindowfrom theFramethat activates with it) has nothing to distinguish here.KeyboardFocusManager.getFocusedWindow()TheWindowcontaining the focus owner — found by walking the emulator parent chain, so aJDialog,JWindoworJInternalFrameoverlay wins over the frame behind it.GraphicsDevice.getFullScreenWindow()protected WindowKeyboardFocusManager.getGlobalActiveWindow()protected WindowKeyboardFocusManager.getGlobalFocusedWindow()Window[]Window.getOwnedWindows()Window.getOwner()static Window[]Window.getOwnerlessWindows()static Window[]Window.getWindows()Methods in vaadinx.awt with parameters of type WindowModifier and TypeMethodDescriptionprotected voidWindow.fireWindowFocusEvent(int id, Window opposite) voidGraphicsDevice.setFullScreenWindow(Window w) Enters the JDK's windowed-mode emulation of full screen forw, or leaves it whenwisnull— restoring the bounds the window had on entry.protected voidKeyboardFocusManager.setGlobalActiveWindow(Window window) protected voidKeyboardFocusManager.setGlobalFocusedWindow(Window window) Constructors in vaadinx.awt with parameters of type WindowModifierConstructorDescriptionprotectedDialog(com.vaadin.flow.component.Component peer, Window owner, String title, Dialog.ModalityType modalityType) The JDK'sDialog(Window, String, ModalityType)body over a given peer:JDialogthreads itsSJDialogthrough here (D_peer_ctor_injection), since the public ctors hardcodeSFrame.protected <P extends com.vaadin.flow.component.Component>Dialog(Class<P> peerType, Supplier<? extends P> peerFactory, Window owner, String title, Dialog.ModalityType modalityType) Dialog(Window owner, String title, Dialog.ModalityType modalityType) Dialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc) Dialog(Window owner, Dialog.ModalityType modalityType) protectedOwner-aware peer-injection seam, mirroringDialog(com.vaadin.flow.component.Component, Window, String, Dialog.ModalityType).protected <P extends com.vaadin.flow.component.Component>The lazy form ofWindow(com.vaadin.flow.component.Component, Window): seeComponent(Class, Supplier).Window(Window arg0, GraphicsConfiguration arg1) -
Uses of Window in vaadinx.awt.event
Methods in vaadinx.awt.event that return WindowConstructors in vaadinx.awt.event with parameters of type WindowModifierConstructorDescriptionWindowEvent(Window source, int id) WindowEvent(Window source, int id, int oldState, int newState) WindowEvent(Window source, int id, Window opposite) WindowEvent(Window source, int id, Window opposite, int oldState, int newState) -
Uses of Window in vaadinx.swing
Subclasses of Window in vaadinx.swingModifier and TypeClassDescriptionclassEmulator forJDialog.classEmulator forJFrame.classEmulator forJWindow.Methods in vaadinx.swing that return WindowModifier and TypeMethodDescriptionstatic WindowSwingUtilities.getWindowAncestor(Component c) Walksc's emulator parent chain and returns the firstWindowancestor (excludingcitself), ornullif none.static WindowSwingUtilities.windowForComponent(Component c) Alias forSwingUtilities.getWindowAncestor(Component)— same JDK contract.Constructors in vaadinx.swing with parameters of type WindowModifierConstructorDescriptionJDialog(Window owner, String title, Dialog.ModalityType modalityType) JDialog(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc) JDialog(Window owner, Dialog.ModalityType modalityType) JWindow(Window owner, GraphicsConfiguration gc)