Uses of Class
org.autogui.swing.GuiSwingWindow
-
Uses of GuiSwingWindow in org.autogui.swing
Modifier and TypeFieldDescriptionprotected Function<Object,
GuiSwingWindow> AutoGuiShell.windowCreator
protected Function<Object,
GuiSwingWindow> AutoGuiShell.windowCreatorRelaxed
Modifier and TypeMethodDescriptionstatic GuiSwingWindow
GuiSwingWindow.createForObject
(Object o) static GuiSwingWindow
GuiSwingWindow.createForObjectRelaxed
(Object o) AutoGuiShell.createWindow
(Object o, boolean appRoot) if the current thread is the event dispatching thread, it will immediately create a window for o and return it.AutoGuiShell.createWindow
(Object o, boolean appRoot, Consumer<GuiSwingWindow> afterActionInEvent) if the current thread is the event dispatching thread, it will immediately create a window for o and return it.GuiSwingWindow.GuiSwingWindowCreator.createWindow
(Object o) protected GuiSwingWindow
AutoGuiShell.createWindowInEvent
(Object o) calling the creator, within the event-dispatching thread.AutoGuiShell.createWindowRelaxed
(Object o) shorthand forcreateWindowRelaxed(o, this::setLookAndFeel, null)
AutoGuiShell.createWindowRelaxed
(Object o, Runnable beforeActionInEvent, Consumer<GuiSwingWindow> afterActionInEvent) The method runs 1) thebeforeActionInEvent
, 2)AutoGuiShell.createWindowRelaxedInEvent(Object)
for o with setting the returned window to non application root, and 3) runsafterActionInEvent
.AutoGuiShell.createWindowRelaxed
(Object o, Consumer<GuiSwingWindow> afterActionInEvent) shorthand forcreateWindowRelaxed(o, this::setLookAndFeel, afterActionInEvent)
protected GuiSwingWindow
AutoGuiShell.createWindowRelaxedInEvent
(Object o) calling the relaxed-creator, within the event-dispatching thread The creator is set byAutoGuiShell.withWindowCreatorRelaxed(Function)
or the default creator bycreator()
withGuiSwingWindow.GuiSwingWindowCreator.withTypeBuilderRelaxed()
GuiSwingWindow.GuiSwingWindowCreator.createWindowWithContext
(GuiMappingContext context) static GuiSwingWindow
creates a window for o with relaxed type-binding, i.e.AutoGuiShell.showWindowLive
(Object o) called fromAutoGuiShell.showLive(Object)
, creating a new window byAutoGuiShell.createWindowRelaxed(Object)
and displaying it byAutoGuiShell.displayLiveWindow(JFrame)
.Modifier and TypeMethodDescriptionAutoGuiShell.createWindow
(Object o, boolean appRoot, Consumer<GuiSwingWindow> afterActionInEvent) if the current thread is the event dispatching thread, it will immediately create a window for o and return it.AutoGuiShell.createWindowRelaxed
(Object o, Runnable beforeActionInEvent, Consumer<GuiSwingWindow> afterActionInEvent) The method runs 1) thebeforeActionInEvent
, 2)AutoGuiShell.createWindowRelaxedInEvent(Object)
for o with setting the returned window to non application root, and 3) runsafterActionInEvent
.AutoGuiShell.createWindowRelaxed
(Object o, Consumer<GuiSwingWindow> afterActionInEvent) shorthand forcreateWindowRelaxed(o, this::setLookAndFeel, afterActionInEvent)
void
AutoGuiShell.showWindow
(Object o, Runnable beforeActionInEvent, Consumer<GuiSwingWindow> afterActionInEvent) create a window for the object o as the application root and display it.AutoGuiShell.withWindowCreator
(Function<Object, GuiSwingWindow> windowCreator) customizing the creator forAutoGuiShell.createWindowInEvent(Object)
.AutoGuiShell.withWindowCreatorRelaxed
(Function<Object, GuiSwingWindow> windowCreatorRelaxed) customizing the creator forAutoGuiShell.createWindowRelaxedInEvent(Object)