java.lang.Object
org.autogui.swing.GuiSwingRootPane.GuiSwingRootPaneCreator
org.autogui.swing.GuiSwingWindow.GuiSwingWindowCreator
- All Implemented Interfaces:
Function<Object,GuiSwingWindow>
- Enclosing class:
GuiSwingWindow
public static class GuiSwingWindow.GuiSwingWindowCreator
extends GuiSwingRootPane.GuiSwingRootPaneCreator
implements Function<Object,GuiSwingWindow>
-
Field Summary
Fields inherited from class org.autogui.swing.GuiSwingRootPane.GuiSwingRootPaneCreator
keyBinding, logStatus, prefsApplyOptions, prefsCreator, settingsWindow, typeBuilder, view -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateWindowWithContext(GuiMappingContext context) withKeyBinding(GuiSwingKeyBinding keyBinding) set aGuiSwingKeyBindingwithout automatic bindings created fromGuiSwingKeyBinding.createWithoutAutomaticBindings().withLogStatus(boolean enableLog) disable overwriting log-manager and no-insertion of status-bar for displaying logswithPreferences(Function<GuiMappingContext, GuiPreferences> prefsCreator) set preferences setting function to storing values on memory byGuiPreferences.GuiValueStoreOnMemorywithPrefsApplyOptions(GuiSwingPrefsApplyOptions prefsApplyOptions) withSettingWindow(SettingsWindow settingsWindow) withTypeBuilder(GuiTypeBuilder typeBuilder) set a type builder ofGuiTypeBuilder.GuiTypeBuilderRelaxedwithView(GuiSwingView view) Methods inherited from class org.autogui.swing.GuiSwingRootPane.GuiSwingRootPaneCreator
create, createWithContext, getKeyBinding, getPrefsApplyOptions, getPrefsCreator, getSettingsWindow, getTypeBuilder, getView, isLogStatus
-
Constructor Details
-
GuiSwingWindowCreator
public GuiSwingWindowCreator()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<Object,GuiSwingWindow>
-
createWindow
-
createWindowWithContext
-
withKeyBindingWithoutAutomaticBindings
Description copied from class:GuiSwingRootPane.GuiSwingRootPaneCreatorset aGuiSwingKeyBindingwithout automatic bindings created fromGuiSwingKeyBinding.createWithoutAutomaticBindings(). This means that it does not traverse created panes for searching default key-bindings.It can manually set key-bindings by
GuiSwingKeyBindingmethods such asGuiSwingKeyBinding.putTraverseHighPrecedence(Class, Predicate, KeyStroke, Consumer),GuiSwingKeyBinding.putTraverseHighPrecedenceAction(Class, Predicate, KeyStroke, Action), andGuiSwingKeyBinding.putTraverseHighPrecedencePaneFocus(Class, Predicate, KeyStroke).- Overrides:
withKeyBindingWithoutAutomaticBindingsin classGuiSwingRootPane.GuiSwingRootPaneCreator- Returns:
- this
-
withKeyBinding
- Overrides:
withKeyBindingin classGuiSwingRootPane.GuiSwingRootPaneCreator
-
withTypeBuilderRelaxed
Description copied from class:GuiSwingRootPane.GuiSwingRootPaneCreatorset a type builder ofGuiTypeBuilder.GuiTypeBuilderRelaxed- Overrides:
withTypeBuilderRelaxedin classGuiSwingRootPane.GuiSwingRootPaneCreator- Returns:
- this
-
withTypeBuilder
- Overrides:
withTypeBuilderin classGuiSwingRootPane.GuiSwingRootPaneCreator
-
withLogStatusDisabled
Description copied from class:GuiSwingRootPane.GuiSwingRootPaneCreatordisable overwriting log-manager and no-insertion of status-bar for displaying logs- Overrides:
withLogStatusDisabledin classGuiSwingRootPane.GuiSwingRootPaneCreator- Returns:
- this
-
withLogStatus
- Overrides:
withLogStatusin classGuiSwingRootPane.GuiSwingRootPaneCreator
-
withPreferencesOnMemory
Description copied from class:GuiSwingRootPane.GuiSwingRootPaneCreatorset preferences setting function to storing values on memory byGuiPreferences.GuiValueStoreOnMemory- Overrides:
withPreferencesOnMemoryin classGuiSwingRootPane.GuiSwingRootPaneCreator- Returns:
- this
-
withPreferences
public GuiSwingWindow.GuiSwingWindowCreator withPreferences(Function<GuiMappingContext, GuiPreferences> prefsCreator) - Overrides:
withPreferencesin classGuiSwingRootPane.GuiSwingRootPaneCreator
-
withSettingWindow
- Overrides:
withSettingWindowin classGuiSwingRootPane.GuiSwingRootPaneCreator
-
withView
- Overrides:
withViewin classGuiSwingRootPane.GuiSwingRootPaneCreator
-
withPrefsApplyOptions
public GuiSwingWindow.GuiSwingWindowCreator withPrefsApplyOptions(GuiSwingPrefsApplyOptions prefsApplyOptions) - Overrides:
withPrefsApplyOptionsin classGuiSwingRootPane.GuiSwingRootPaneCreator- Parameters:
prefsApplyOptions- options- Returns:
- this
-