public class AppearanceManager extends Object
Appearance (save/load config file, propagate changes to
Prefs and LookAndFeel).| Constructor and Description |
|---|
AppearanceManager() |
AppearanceManager(String configDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLafComponent(Component component)
Add components here that should be notified via
SwingUtilities.updateComponentTreeUI() when the Look-And-Feel is
changed. |
Appearance |
appearance() |
void |
fromPrefs()
Deprecated.
Prefs will be replaced eventually by directly using
Appearance in BDV |
void |
toPrefs()
Deprecated.
Prefs will be replaced eventually by directly using
Appearance in BDV |
void |
updateLookAndFeel() |
public AppearanceManager()
public AppearanceManager(String configDir)
public Appearance appearance()
public void addLafComponent(Component component)
SwingUtilities.updateComponentTreeUI() when the Look-And-Feel is
changed.
Note that all Windows will be notified anyway,
so most things do not need to be registered here (JFileChooser is
a notable exception.)
public void updateLookAndFeel()
@Deprecated public void toPrefs()
Appearance in BDV@Deprecated public void fromPrefs()
Appearance in BDVCopyright © 2012–2024 BigDataViewer. All rights reserved.