public class UserPreferences extends Object
| Constructor and Description |
|---|
UserPreferences() |
| Modifier and Type | Method and Description |
|---|---|
static JFileChooser |
getDefaultDirectoryChooser()
Gets the default directory chooser.
|
static JFileChooser |
getDefaultFileChooser()
Gets the default file chooser.
|
static JFileChooser |
getDirectoryChooser(String id)
Gets the directory chooser with the given id.
|
static JFileChooser |
getFileChooser(String id)
Gets the file chooser with the given id.
|
static void |
track(JRadioButton button) |
static void |
track(JSplitPane split) |
static void |
track(JTable table) |
static void |
track(JTextComponent text)
Restores the text.
|
static void |
track(Window window)
Restores the window size, position and state if possible.
|
public static JFileChooser getDefaultFileChooser()
public static JFileChooser getDefaultDirectoryChooser()
public static JFileChooser getFileChooser(String id)
id - public static JFileChooser getDirectoryChooser(String id)
id - public static void track(JRadioButton button)
public static void track(Window window)
window - public static void track(JTable table)
public static void track(JTextComponent text)
text - public static void track(JSplitPane split)
Copyright © 2015. All rights reserved.