public class InfoNodeLookAndFeel
extends javax.swing.plaf.metal.MetalLookAndFeel
To set the look and feel use:
UIManager.setLookAndFeel(new InfoNodeLookAndFeel());Or, if you want to use a different theme, use:
InfoNodeLookAndFeelTheme theme = new InfoNodeLookAndFeelTheme(...); // Modify the theme colors, fonts etc. UIManager.setLookAndFeel(new InfoNodeLookAndFeel(theme));Do not modify the theme after it has been used in the look and feel!
| Modifier and Type | Field and Description |
|---|---|
static javax.swing.UIManager.LookAndFeelInfo |
LOOK_AND_FEEL_INFO |
| Constructor and Description |
|---|
InfoNodeLookAndFeel()
Constructor.
|
InfoNodeLookAndFeel(InfoNodeLookAndFeelTheme theme)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
InfoNodeLookAndFeelTheme |
getTheme()
Gets the active theme
|
protected void |
initClassDefaults(javax.swing.UIDefaults table) |
protected void |
initComponentDefaults(javax.swing.UIDefaults table) |
void |
initialize() |
static void |
install()
Installs this look and feel with the
UIManager, if it's not already installed. |
void |
uninitialize() |
createDefaultTheme, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDefaults, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, getHighlightedTextColor, getID, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSupportsWindowDecorations, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initSystemColorDefaults, isNativeLookAndFeel, isSupportedLookAndFeel, provideErrorFeedback, setCurrentThemecreateAudioAction, getAudioActionMap, loadSystemColors, playSoundpublic static final javax.swing.UIManager.LookAndFeelInfo LOOK_AND_FEEL_INFO
public InfoNodeLookAndFeel()
public InfoNodeLookAndFeel(InfoNodeLookAndFeelTheme theme)
theme - the theme to use. Do not modify the theme after this constructor has been called!public InfoNodeLookAndFeelTheme getTheme()
public void initialize()
initialize in class javax.swing.plaf.basic.BasicLookAndFeelpublic void uninitialize()
uninitialize in class javax.swing.plaf.basic.BasicLookAndFeelpublic java.lang.String getName()
getName in class javax.swing.plaf.metal.MetalLookAndFeelpublic java.lang.String getDescription()
getDescription in class javax.swing.plaf.metal.MetalLookAndFeelprotected void initClassDefaults(javax.swing.UIDefaults table)
initClassDefaults in class javax.swing.plaf.metal.MetalLookAndFeelprotected void initComponentDefaults(javax.swing.UIDefaults table)
initComponentDefaults in class javax.swing.plaf.metal.MetalLookAndFeelpublic static void install()
UIManager, if it's not already installed.