Package mdlaf

Class MaterialLookAndFeel

  • All Implemented Interfaces:
    java.io.Serializable

    public class MaterialLookAndFeel
    extends javax.swing.plaf.metal.MetalLookAndFeel
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void call​(java.lang.String method)  
      static void changeTheme​(MaterialTheme theme)  
      javax.swing.UIDefaults getDefaults()  
      java.lang.String getDescription()  
      java.lang.String getID()  
      java.lang.String getName()  
      boolean getSupportsWindowDecorations()  
      MaterialTheme getTheme()  
      protected void initClassDefaults​(javax.swing.UIDefaults table)  
      protected void initComponentDefaults​(javax.swing.UIDefaults table)  
      boolean isNativeLookAndFeel()  
      boolean isSupportedLookAndFeel()  
      void setTheme​(MaterialTheme theme)  
      void uninitialize()  
      • 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
      • Methods inherited from class javax.swing.LookAndFeel

        getDesktopPropertyValue, installBorder, installColors, installColorsAndFont, installProperty, loadKeyBindings, makeComponentInputMap, makeIcon, makeInputMap, makeKeyBindings, toString, uninstallBorder
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • basicLookAndFeel

        protected javax.swing.plaf.basic.BasicLookAndFeel basicLookAndFeel
    • 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:
        getName in class javax.swing.plaf.metal.MetalLookAndFeel
      • getID

        public java.lang.String getID()
        Overrides:
        getID in class javax.swing.plaf.metal.MetalLookAndFeel
      • getDescription

        public java.lang.String getDescription()
        Overrides:
        getDescription in class javax.swing.plaf.metal.MetalLookAndFeel
      • isNativeLookAndFeel

        public boolean isNativeLookAndFeel()
        Overrides:
        isNativeLookAndFeel in class javax.swing.plaf.metal.MetalLookAndFeel
      • isSupportedLookAndFeel

        public boolean isSupportedLookAndFeel()
        Overrides:
        isSupportedLookAndFeel in class javax.swing.plaf.metal.MetalLookAndFeel
      • getSupportsWindowDecorations

        public boolean getSupportsWindowDecorations()
        Overrides:
        getSupportsWindowDecorations in class javax.swing.plaf.metal.MetalLookAndFeel
      • initClassDefaults

        protected void initClassDefaults​(javax.swing.UIDefaults table)
        Overrides:
        initClassDefaults in class javax.swing.plaf.metal.MetalLookAndFeel
      • initComponentDefaults

        protected void initComponentDefaults​(javax.swing.UIDefaults table)
        Overrides:
        initComponentDefaults in class javax.swing.plaf.metal.MetalLookAndFeel
      • getDefaults

        public javax.swing.UIDefaults getDefaults()
        Overrides:
        getDefaults in class javax.swing.plaf.metal.MetalLookAndFeel
      • uninitialize

        public void uninitialize()
        Overrides:
        uninitialize in class javax.swing.plaf.basic.BasicLookAndFeel
      • call

        protected void call​(java.lang.String method)