public final class LafManagerImpl extends LafManager implements PersistentStateComponent<Element>, Disposable
LafManager.LafReferenceDisposable.Parent| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
WINDOW_ALPHA |
| Constructor and Description |
|---|
LafManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLafManagerListener(LafManagerListener listener) |
void |
addLafManagerListener(LafManagerListener listener,
Disposable disposable) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
javax.swing.UIManager.LookAndFeelInfo |
findLaf(LafManager.LafReference reference) |
javax.swing.UIManager.LookAndFeelInfo |
getCurrentLookAndFeel() |
LafManager.LafReference |
getCurrentLookAndFeelReference() |
javax.swing.UIManager.LookAndFeelInfo |
getDefaultLaf() |
javax.swing.UIManager.LookAndFeelInfo [] |
getInstalledLookAndFeels() |
CollectionComboBoxModel<LafManager.LafReference> |
getLafComboBoxModel() |
Element |
getState() |
static LafManagerImpl |
getTestInstance() |
static void |
initFontDefaults(javax.swing.UIDefaults defaults,
javax.swing.plaf.FontUIResource uiFont) |
void |
initializeComponent()
If class also is a component, then this method will be called after loading state (even if not state) but only once throughout the life cycle
|
static void |
initInputMapDefaults(javax.swing.UIDefaults defaults) |
static void |
installMacOSXFonts(javax.swing.UIDefaults defaults) |
void |
loadState(Element element)
This method is called when new component state is loaded.
|
void |
noStateLoaded()
This method is called when the component is initialized, but no state is persisted.
|
void |
removeLafManagerListener(LafManagerListener listener) |
void |
repaintUI()
Repaints all displayable window.
|
void |
setCurrentLookAndFeel(javax.swing.UIManager.LookAndFeelInfo lookAndFeelInfo,
boolean lockEditorScheme)
Sets current LAF.
|
static void |
updateForDarcula(boolean isDarcula)
Deprecated.
|
void |
updateUI()
Updates LAF of all windows.
|
void |
updateWizardLAF(boolean wasUnderDarcula) |
getInstance, setCurrentLookAndFeelpublic static final java.lang.String WINDOW_ALPHA
public void addLafManagerListener(LafManagerListener listener)
addLafManagerListener in class LafManagerpublic void addLafManagerListener(LafManagerListener listener, Disposable disposable)
addLafManagerListener in class LafManagerpublic void removeLafManagerListener(LafManagerListener listener)
removeLafManagerListener in class LafManagerpublic void initializeComponent()
PersistentStateComponentinitializeComponent in interface PersistentStateComponent<Element>public void updateWizardLAF(boolean wasUnderDarcula)
public void dispose()
Disposabledispose in interface Disposablepublic void loadState(Element element)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<Element>element - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public void noStateLoaded()
PersistentStateComponentnoStateLoaded in interface PersistentStateComponent<Element>public Element getState()
getState in interface PersistentStateComponent<Element>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic javax.swing.UIManager.LookAndFeelInfo [] getInstalledLookAndFeels()
getInstalledLookAndFeels in class LafManagerpublic CollectionComboBoxModel<LafManager.LafReference> getLafComboBoxModel()
getLafComboBoxModel in class LafManagerpublic javax.swing.UIManager.LookAndFeelInfo findLaf(LafManager.LafReference reference)
findLaf in class LafManagerpublic javax.swing.UIManager.LookAndFeelInfo getCurrentLookAndFeel()
getCurrentLookAndFeel in class LafManagerpublic LafManager.LafReference getCurrentLookAndFeelReference()
getCurrentLookAndFeelReference in class LafManagerpublic javax.swing.UIManager.LookAndFeelInfo getDefaultLaf()
public void setCurrentLookAndFeel(javax.swing.UIManager.LookAndFeelInfo lookAndFeelInfo,
boolean lockEditorScheme)
setCurrentLookAndFeel in class LafManager@Deprecated public static void updateForDarcula(boolean isDarcula)
AppUIUtil.updateForDarcula(boolean)public void updateUI()
UISettings.updateUI in class LafManagerpublic static void installMacOSXFonts(javax.swing.UIDefaults defaults)
public void repaintUI()
repaintUI in class LafManagerpublic static void initInputMapDefaults(javax.swing.UIDefaults defaults)
public static void initFontDefaults(javax.swing.UIDefaults defaults,
javax.swing.plaf.FontUIResource uiFont)
public static LafManagerImpl getTestInstance()