- java.lang.Object
-
- bdv.ui.appearance.AppearanceManager
-
public class AppearanceManager extends Object
Manages theAppearance(save/load config file, propagate changes toPrefsand LookAndFeel).
-
-
Constructor Summary
Constructors Constructor Description AppearanceManager()AppearanceManager(String configDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddLafComponent(Component component)Add components here that should be notified viaSwingUtilities.updateComponentTreeUI()when the Look-And-Feel is changed.Appearanceappearance()voidfromPrefs()Deprecated.Prefs will be replaced eventually by directly usingAppearancein BDVvoidtoPrefs()Deprecated.Prefs will be replaced eventually by directly usingAppearancein BDVvoidupdateLookAndFeel()
-
-
-
Constructor Detail
-
AppearanceManager
public AppearanceManager()
-
AppearanceManager
public AppearanceManager(String configDir)
-
-
Method Detail
-
appearance
public Appearance appearance()
-
addLafComponent
public void addLafComponent(Component component)
Add components here that should be notified viaSwingUtilities.updateComponentTreeUI()when the Look-And-Feel is changed.Note that all
Windowswill be notified anyway, so most things do not need to be registered here (JFileChooseris a notable exception.)
-
updateLookAndFeel
public void updateLookAndFeel()
-
toPrefs
@Deprecated public void toPrefs()
Deprecated.Prefs will be replaced eventually by directly usingAppearancein BDV
-
fromPrefs
@Deprecated public void fromPrefs()
Deprecated.Prefs will be replaced eventually by directly usingAppearancein BDV
-
-