Package mdlaf
Class MaterialLookAndFeel
- java.lang.Object
-
- javax.swing.LookAndFeel
-
- javax.swing.plaf.basic.BasicLookAndFeel
-
- javax.swing.plaf.metal.MetalLookAndFeel
-
- mdlaf.MaterialLookAndFeel
-
- All Implemented Interfaces:
java.io.Serializable
public class MaterialLookAndFeel extends javax.swing.plaf.metal.MetalLookAndFeel- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.plaf.basic.BasicLookAndFeelbasicLookAndFeelprotected MaterialThemetheme
-
Constructor Summary
Constructors Constructor Description MaterialLookAndFeel()MaterialLookAndFeel(MaterialTheme theme)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcall(java.lang.String method)static voidchangeTheme(MaterialTheme theme)javax.swing.UIDefaultsgetDefaults()java.lang.StringgetDescription()java.lang.StringgetID()java.lang.StringgetName()booleangetSupportsWindowDecorations()MaterialThemegetTheme()protected voidinitClassDefaults(javax.swing.UIDefaults table)protected voidinitComponentDefaults(javax.swing.UIDefaults table)booleanisNativeLookAndFeel()booleanisSupportedLookAndFeel()voidsetTheme(MaterialTheme theme)voiduninitialize()-
Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel
createDefaultTheme, getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, getHighlightedTextColor, getInactiveControlTextColor, getInactiveSystemTextColor, getLayoutStyle, getMenuBackground, getMenuDisabledForeground, getMenuForeground, getMenuSelectedBackground, getMenuSelectedForeground, getMenuTextFont, getPrimaryControl, getPrimaryControlDarkShadow, getPrimaryControlHighlight, getPrimaryControlInfo, getPrimaryControlShadow, getSeparatorBackground, getSeparatorForeground, getSubTextFont, getSystemTextColor, getSystemTextFont, getTextHighlightColor, getUserTextColor, getUserTextFont, getWhite, getWindowBackground, getWindowTitleBackground, getWindowTitleFont, getWindowTitleForeground, getWindowTitleInactiveBackground, getWindowTitleInactiveForeground, initSystemColorDefaults, provideErrorFeedback, setCurrentTheme
-
Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel
createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound
-
-
-
-
Field Detail
-
basicLookAndFeel
protected javax.swing.plaf.basic.BasicLookAndFeel basicLookAndFeel
-
theme
protected MaterialTheme theme
-
-
Constructor Detail
-
MaterialLookAndFeel
public MaterialLookAndFeel()
-
MaterialLookAndFeel
public MaterialLookAndFeel(MaterialTheme theme)
-
-
Method Detail
-
changeTheme
public static void changeTheme(MaterialTheme theme)
-
getName
public java.lang.String getName()
- Overrides:
getNamein classjavax.swing.plaf.metal.MetalLookAndFeel
-
getID
public java.lang.String getID()
- Overrides:
getIDin classjavax.swing.plaf.metal.MetalLookAndFeel
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescriptionin classjavax.swing.plaf.metal.MetalLookAndFeel
-
isNativeLookAndFeel
public boolean isNativeLookAndFeel()
- Overrides:
isNativeLookAndFeelin classjavax.swing.plaf.metal.MetalLookAndFeel
-
isSupportedLookAndFeel
public boolean isSupportedLookAndFeel()
- Overrides:
isSupportedLookAndFeelin classjavax.swing.plaf.metal.MetalLookAndFeel
-
getSupportsWindowDecorations
public boolean getSupportsWindowDecorations()
- Overrides:
getSupportsWindowDecorationsin classjavax.swing.plaf.metal.MetalLookAndFeel
-
initClassDefaults
protected void initClassDefaults(javax.swing.UIDefaults table)
- Overrides:
initClassDefaultsin classjavax.swing.plaf.metal.MetalLookAndFeel
-
initComponentDefaults
protected void initComponentDefaults(javax.swing.UIDefaults table)
- Overrides:
initComponentDefaultsin classjavax.swing.plaf.metal.MetalLookAndFeel
-
getDefaults
public javax.swing.UIDefaults getDefaults()
- Overrides:
getDefaultsin classjavax.swing.plaf.metal.MetalLookAndFeel
-
uninitialize
public void uninitialize()
- Overrides:
uninitializein classjavax.swing.plaf.basic.BasicLookAndFeel
-
getTheme
public MaterialTheme getTheme()
-
setTheme
public void setTheme(MaterialTheme theme)
-
call
protected void call(java.lang.String method)
-
-