java.lang.Object
org.autogui.swing.util.SettingsWindow
a shared window manager for the setting panel.
it needs to explicitly dispose once the instance obtained
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
a color well can be changed by a shared color-panelstatic class
a window holder for the color chooser used bySettingsWindow.ColorButton
.static class
an action for changing the selected directory ofSettingsWindow.FileDialogManager
static class
a shared dialog, can be obtained bygetFileDialogManager()
.static interface
the callback interface forSettingsWindow.FileDialogManager
in order to save and load history of files to preferencesstatic class
a list renderer for history of files ofSettingsWindow.FileDialogManager
static class
an action for adding the selected file to history of files ofSettingsWindow.FileDialogManager
static class
an action for clearing history of files ofSettingsWindow.FileDialogManager
static class
a list-model for history files ofSettingsWindow.FileDialogManager
static class
an action for removing an item in history of files ofSettingsWindow.FileDialogManager
static class
a group of labelsstatic class
static interface
the callback interface forSettingsWindow
in order to save and load preferences of the window -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static SettingsWindow.ColorWindow
static boolean
protected static SettingsWindow.FileDialogManager
protected static SettingsWindow
protected SettingsWindow.SettingSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
static SettingsWindow
get()
static SettingsWindow.ColorWindow
void
show()
void
show
(String title, JComponent sender, JComponent contentPane) void
show
(String title, JComponent sender, JComponent contentPane, SettingsWindow.SettingSupport settingSupport) void
show
(JComponent sender)
-
Field Details
-
instance
-
window
-
settingSupport
-
debug
public static boolean debug -
colorWindow
-
fileDialogManager
-
-
Constructor Details
-
SettingsWindow
public SettingsWindow()
-
-
Method Details
-
get
-
getWindow
-
show
public void show() -
dispose
public void dispose() -
show
-
show
-
show
public void show(String title, JComponent sender, JComponent contentPane, SettingsWindow.SettingSupport settingSupport) -
getColorWindow
-
getFileDialogManager
-