Class ButtonUI

    • Field Detail

      • BORDER_ACTIVE_HOVER

        public static final java.lang.String BORDER_ACTIVE_HOVER
        See Also:
        Constant Field Values
      • creationParameters

        protected PropertySet creationParameters
      • borderDefault

        protected javax.swing.border.Border borderDefault
      • borderDefaultHover

        protected javax.swing.border.Border borderDefaultHover
      • borderActive

        protected javax.swing.border.Border borderActive
      • borderActiveHover

        protected javax.swing.border.Border borderActiveHover
      • borderPressed

        protected javax.swing.border.Border borderPressed
    • Constructor Detail

      • ButtonUI

        public ButtonUI()
    • Method Detail

      • paint

        public void paint​(java.awt.Graphics g,
                          javax.swing.JComponent c)
        Overrides:
        paint in class javax.swing.plaf.basic.BasicButtonUI
      • paintBackground

        protected void paintBackground​(java.awt.Graphics g,
                                       javax.swing.AbstractButton b,
                                       boolean active,
                                       boolean hover,
                                       boolean pressed)
      • paintBorder

        protected void paintBorder​(java.awt.Graphics g,
                                   javax.swing.AbstractButton b)
      • getBorder

        protected javax.swing.border.Border getBorder​(javax.swing.AbstractButton button)
      • getPressedBorder

        protected javax.swing.border.Border getPressedBorder​(javax.swing.AbstractButton button)
      • getHoverBorder

        protected javax.swing.border.Border getHoverBorder​(javax.swing.AbstractButton button,
                                                           boolean active)
      • getDefaultBorder

        protected javax.swing.border.Border getDefaultBorder​(javax.swing.AbstractButton button,
                                                             boolean active)
      • paintIcon

        protected void paintIcon​(java.awt.Graphics g,
                                 javax.swing.AbstractButton b)
      • getIcon

        protected javax.swing.Icon getIcon​(javax.swing.AbstractButton button)
      • getDisabledIcon

        protected javax.swing.Icon getDisabledIcon​(javax.swing.AbstractButton button,
                                                   boolean active)
      • getPressedIcon

        protected javax.swing.Icon getPressedIcon​(javax.swing.AbstractButton button)
      • getHoverIcon

        protected javax.swing.Icon getHoverIcon​(javax.swing.AbstractButton button,
                                                boolean active)
      • getDefaultIcon

        protected javax.swing.Icon getDefaultIcon​(javax.swing.AbstractButton button,
                                                  boolean active)
      • getActionIcon

        protected javax.swing.Icon getActionIcon​(javax.swing.AbstractButton button,
                                                 boolean pressed,
                                                 boolean active,
                                                 boolean hover)
      • isPressed

        protected boolean isPressed​(javax.swing.AbstractButton button)
      • isParentActive

        protected boolean isParentActive​(javax.swing.AbstractButton button)
      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.basic.BasicButtonUI
      • uninstallUI

        public void uninstallUI​(javax.swing.JComponent c)
        Overrides:
        uninstallUI in class javax.swing.plaf.basic.BasicButtonUI
      • installKeyboardActions

        protected void installKeyboardActions​(javax.swing.AbstractButton b)
        Overrides:
        installKeyboardActions in class javax.swing.plaf.basic.BasicButtonUI
      • createButtonListener

        protected javax.swing.plaf.basic.BasicButtonListener createButtonListener​(javax.swing.AbstractButton b)
        Overrides:
        createButtonListener in class javax.swing.plaf.basic.BasicButtonUI
      • setBorderActive

        public void setBorderActive​(javax.swing.border.Border borderActive)
      • setBorderActiveHover

        public void setBorderActiveHover​(javax.swing.border.Border borderActiveHover)
      • setBorderDefault

        public void setBorderDefault​(javax.swing.border.Border borderDefault)
      • setBorderDefaultHover

        public void setBorderDefaultHover​(javax.swing.border.Border borderDefaultHover)
      • setBorderPressed

        public void setBorderPressed​(javax.swing.border.Border borderPressed)