Class DelegatingThemedLaf
- java.lang.Object
-
- javax.swing.LookAndFeel
-
- javax.swing.plaf.basic.BasicLookAndFeel
-
- com.github.weisj.darklaf.theme.laf.NoOpBasicLookAndFeel
-
- com.github.weisj.darklaf.theme.laf.ThemedLookAndFeel
-
- com.github.weisj.darklaf.theme.laf.DelegatingThemedLaf
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SynthesisedThemedLaf
public class DelegatingThemedLaf extends ThemedLookAndFeel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelegatingThemedLaf(Theme theme, ThemedLookAndFeel lafBase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UIDefaultsgetDefaults()StringgetDescription()IcongetDisabledIcon(JComponent component, Icon icon)IcongetDisabledSelectedIcon(JComponent component, Icon icon)StringgetID()LayoutStylegetLayoutStyle()StringgetName()ThemegetTheme()voidinitialize()booleanisNativeLookAndFeel()booleanisSupportedLookAndFeel()voidprovideErrorFeedback(Component component)protected voidsetTheme(Theme theme)voiduninitialize()-
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, initClassDefaults, initComponentDefaults, initSystemColorDefaults, loadSystemColors, playSound
-
Methods inherited from class javax.swing.LookAndFeel
getDesktopPropertyValue, getSupportsWindowDecorations, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder
-
-
-
-
Constructor Detail
-
DelegatingThemedLaf
public DelegatingThemedLaf(Theme theme, ThemedLookAndFeel lafBase)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein classLookAndFeel
-
getID
public String getID()
- Specified by:
getIDin classLookAndFeel
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin classLookAndFeel
-
isNativeLookAndFeel
public boolean isNativeLookAndFeel()
- Specified by:
isNativeLookAndFeelin classLookAndFeel
-
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()
- Specified by:
isSupportedLookAndFeelin classLookAndFeel
-
setTheme
protected void setTheme(Theme theme)
- Specified by:
setThemein classThemedLookAndFeel
-
getTheme
public Theme getTheme()
- Specified by:
getThemein classThemedLookAndFeel
-
getLayoutStyle
public LayoutStyle getLayoutStyle()
- Overrides:
getLayoutStylein classLookAndFeel
-
provideErrorFeedback
public void provideErrorFeedback(Component component)
- Overrides:
provideErrorFeedbackin classLookAndFeel
-
getDisabledIcon
public Icon getDisabledIcon(JComponent component, Icon icon)
- Overrides:
getDisabledIconin classLookAndFeel
-
getDisabledSelectedIcon
public Icon getDisabledSelectedIcon(JComponent component, Icon icon)
- Overrides:
getDisabledSelectedIconin classLookAndFeel
-
initialize
public void initialize()
- Specified by:
initializein classNoOpBasicLookAndFeel
-
uninitialize
public void uninitialize()
- Specified by:
uninitializein classNoOpBasicLookAndFeel
-
getDefaults
public UIDefaults getDefaults()
- Specified by:
getDefaultsin classNoOpBasicLookAndFeel
-
-