Class FlatToggleButtonUI

    • Field Detail

      • tabUnderlineHeight

        protected int tabUnderlineHeight
      • tabUnderlineColor

        protected java.awt.Color tabUnderlineColor
      • tabDisabledUnderlineColor

        protected java.awt.Color tabDisabledUnderlineColor
      • tabSelectedBackground

        protected java.awt.Color tabSelectedBackground
      • tabSelectedForeground

        protected java.awt.Color tabSelectedForeground
        Since:
        2.3
      • tabHoverBackground

        protected java.awt.Color tabHoverBackground
      • tabHoverForeground

        protected java.awt.Color tabHoverForeground
        Since:
        2.3
      • tabFocusBackground

        protected java.awt.Color tabFocusBackground
      • tabFocusForeground

        protected java.awt.Color tabFocusForeground
        Since:
        2.3
      • defaults_initialized

        private boolean defaults_initialized
    • Constructor Detail

      • FlatToggleButtonUI

        protected FlatToggleButtonUI​(boolean shared)
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • getPropertyPrefix

        protected java.lang.String getPropertyPrefix()
        Overrides:
        getPropertyPrefix in class javax.swing.plaf.basic.BasicButtonUI
      • installDefaults

        protected void installDefaults​(javax.swing.AbstractButton b)
        Overrides:
        installDefaults in class FlatButtonUI
      • propertyChange

        protected void propertyChange​(javax.swing.AbstractButton b,
                                      java.beans.PropertyChangeEvent e)
        Overrides:
        propertyChange in class FlatButtonUI
      • applyStyleProperty

        protected java.lang.Object applyStyleProperty​(javax.swing.AbstractButton b,
                                                      java.lang.String key,
                                                      java.lang.Object value)
        Overrides:
        applyStyleProperty in class FlatButtonUI
        Since:
        2
      • isTabButton

        static boolean isTabButton​(java.awt.Component c)
      • paintBackground

        protected void paintBackground​(java.awt.Graphics g,
                                       javax.swing.JComponent c)
        Overrides:
        paintBackground in class FlatButtonUI
      • getForeground

        protected java.awt.Color getForeground​(javax.swing.JComponent c)
        Overrides:
        getForeground in class FlatButtonUI