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 classa color well can be changed by a shared color-panelstatic classa window holder for the color chooser used bySettingsWindow.ColorButton.static classan action for changing the selected directory ofSettingsWindow.FileDialogManagerstatic classa shared dialog, can be obtained bygetFileDialogManager().static interfacethe callback interface forSettingsWindow.FileDialogManagerin order to save and load history of files to preferencesstatic classa list renderer for history of files ofSettingsWindow.FileDialogManagerstatic classan action for adding the selected file to history of files ofSettingsWindow.FileDialogManagerstatic classan action for clearing history of files ofSettingsWindow.FileDialogManagerstatic classa list-model for history files ofSettingsWindow.FileDialogManagerstatic classan action for removing an item in history of files ofSettingsWindow.FileDialogManagerstatic classa group of labelsstatic classstatic interfacethe callback interface forSettingsWindowin order to save and load preferences of the window -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static SettingsWindow.ColorWindowstatic booleanprotected static SettingsWindow.FileDialogManagerprotected static SettingsWindowprotected SettingsWindow.SettingSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()static SettingsWindowget()static SettingsWindow.ColorWindowvoidshow()voidshow(String title, JComponent sender, JComponent contentPane) voidshow(String title, JComponent sender, JComponent contentPane, SettingsWindow.SettingSupport settingSupport) voidshow(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
-