public abstract class DelegatingLookAndFeel
extends javax.swing.plaf.basic.BasicLookAndFeel
LookAndFeel.getName()
,
LookAndFeel.getID()
, LookAndFeel.getDescription()
). They should also probably
supply novel defaults (initialize()
, getDefaults()
).Modifier and Type | Field and Description |
---|---|
protected javax.swing.LookAndFeel |
systemLookAndFeel |
Constructor and Description |
---|
DelegatingLookAndFeel() |
Modifier and Type | Method and Description |
---|---|
javax.swing.UIDefaults |
getDefaults() |
javax.swing.Icon |
getDisabledIcon(javax.swing.JComponent component,
javax.swing.Icon icon) |
javax.swing.Icon |
getDisabledSelectedIcon(javax.swing.JComponent component,
javax.swing.Icon icon) |
protected static javax.swing.ImageIcon |
getIcon(java.lang.String iconName)
Load icon from classpath.
|
javax.swing.LayoutStyle |
getLayoutStyle() |
boolean |
getSupportsWindowDecorations() |
void |
initialize() |
boolean |
isNativeLookAndFeel() |
boolean |
isSupportedLookAndFeel() |
void |
provideErrorFeedback(java.awt.Component component) |
void |
uninitialize() |
createAudioAction, getAudioActionMap, initClassDefaults, initComponentDefaults, initSystemColorDefaults, loadSystemColors, playSound
public DelegatingLookAndFeel() throws java.lang.Exception
java.lang.Exception
protected static javax.swing.ImageIcon getIcon(java.lang.String iconName)
iconName
- icon file namepublic boolean isNativeLookAndFeel()
isNativeLookAndFeel
in class javax.swing.LookAndFeel
public boolean isSupportedLookAndFeel()
isSupportedLookAndFeel
in class javax.swing.LookAndFeel
public javax.swing.LayoutStyle getLayoutStyle()
getLayoutStyle
in class javax.swing.LookAndFeel
public javax.swing.Icon getDisabledIcon(javax.swing.JComponent component, javax.swing.Icon icon)
getDisabledIcon
in class javax.swing.LookAndFeel
public javax.swing.Icon getDisabledSelectedIcon(javax.swing.JComponent component, javax.swing.Icon icon)
getDisabledSelectedIcon
in class javax.swing.LookAndFeel
public boolean getSupportsWindowDecorations()
getSupportsWindowDecorations
in class javax.swing.LookAndFeel
public void provideErrorFeedback(java.awt.Component component)
provideErrorFeedback
in class javax.swing.LookAndFeel
public void initialize()
initialize
in class javax.swing.plaf.basic.BasicLookAndFeel
public void uninitialize()
uninitialize
in class javax.swing.plaf.basic.BasicLookAndFeel
public javax.swing.UIDefaults getDefaults()
getDefaults
in class javax.swing.plaf.basic.BasicLookAndFeel