Class MaterialTabbedPaneUI.ArrowButtonTabbedPane.ArrowButtonTabbedPaneUI

    • Field Detail

      • direction

        protected int direction
    • Constructor Detail

      • ArrowButtonTabbedPaneUI

        public ArrowButtonTabbedPaneUI​(int direction)
    • Method Detail

      • installUI

        public void installUI​(javax.swing.JComponent c)
        Description copied from class: MaterialButtonUI
        Inside the installUI method are init only proprieties used inside this component the background or foreground ara managed to BasicButtonUI, @see BasicButtonUI
        Overrides:
        installUI in class MaterialButtonUI
      • paintBackground

        protected void paintBackground​(java.awt.Graphics g,
                                       javax.swing.JComponent c)
        Description copied from class: MaterialButtonUI
        This method paint background, inside it will paint the border to buttons.

        param g Graphics Object, with this object is possible paint the component JButton param c Component Object, represent the button, if possible use this object or the propriety called button inside this class

        Overrides:
        paintBackground in class MaterialButtonUI
      • paintFocus

        protected void paintFocus​(java.awt.Graphics g,
                                  javax.swing.AbstractButton b,
                                  java.awt.Rectangle viewRect,
                                  java.awt.Rectangle textRect,
                                  java.awt.Rectangle iconRect)
        Overrides:
        paintFocus in class MaterialButtonUI
      • paintFocusRing

        protected void paintFocusRing​(java.awt.Graphics g,
                                      javax.swing.JButton b)
        Overrides:
        paintFocusRing in class MaterialButtonUI