Class KopiLookAndFeel

  • All Implemented Interfaces:
    java.io.Serializable

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

      Constructors 
      Constructor Description
      KopiLookAndFeel()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void createDefaultTheme()  
      java.lang.String getDescription()  
      java.lang.String getID()  
      java.lang.String getName()  
      protected void initClassDefaults​(javax.swing.UIDefaults table)  
      protected void initComponentDefaults​(javax.swing.UIDefaults table)  
      protected void initSystemColorDefaults​(javax.swing.UIDefaults table)  
      boolean isNativeLookAndFeel()  
      boolean isSupportedLookAndFeel()  
      protected void putDefault​(javax.swing.UIDefaults table, java.lang.String uiKey)  
      static void setCurrentTheme​(javax.swing.plaf.metal.MetalTheme theme)
      Sets the current color theme.
      • Methods inherited from class javax.swing.plaf.metal.MetalLookAndFeel

        getAcceleratorForeground, getAcceleratorSelectedForeground, getBlack, getControl, getControlDarkShadow, getControlDisabled, getControlHighlight, getControlInfo, getControlShadow, getControlTextColor, getControlTextFont, getCurrentTheme, getDefaults, getDesktopColor, getDisabledIcon, getDisabledSelectedIcon, getFocusColor, getHighlightedTextColor, 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, provideErrorFeedback
      • Methods inherited from class javax.swing.plaf.basic.BasicLookAndFeel

        createAudioAction, getAudioActionMap, initialize, loadSystemColors, playSound, uninitialize
      • 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
    • Constructor Detail

      • KopiLookAndFeel

        public KopiLookAndFeel()
    • Method Detail

      • getID

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

        public java.lang.String getName()
        Overrides:
        getName 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
      • initClassDefaults

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

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

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

        protected void putDefault​(javax.swing.UIDefaults table,
                                  java.lang.String uiKey)
      • setCurrentTheme

        public static void setCurrentTheme​(javax.swing.plaf.metal.MetalTheme theme)
        Sets the current color theme. This works exactly as with the MetalLookAndFeel. Note that for customizing the gradients the method setCurrentGradientTheme() must be used.
      • createDefaultTheme

        protected void createDefaultTheme()
        Overrides:
        createDefaultTheme in class javax.swing.plaf.metal.MetalLookAndFeel