Class AbstractTabRenderer

    • Field Detail

      • drawDividingLine

        protected boolean drawDividingLine
      • gradientCapable

        protected boolean gradientCapable
      • orientation

        protected int orientation
    • Constructor Detail

      • AbstractTabRenderer

        public AbstractTabRenderer()
    • Method Detail

      • draw

        protected abstract void draw​(java.awt.Graphics g,
                                     TabComponent tab)
      • drawHorizontal

        protected abstract void drawHorizontal​(java.awt.Graphics g,
                                               TabComponent tab)
      • drawVertical

        protected abstract void drawVertical​(java.awt.Graphics g,
                                             TabComponent tab)
      • getPadding

        public abstract int getPadding()
      • getLeadingSpace

        public abstract int getLeadingSpace()
      • getOrientation

        protected int getOrientation()
        Returns:
        the orientation
      • setOrientation

        public void setOrientation​(int orientation)
        Parameters:
        orientation - the orientation to set
      • isDrawDividingLine

        public boolean isDrawDividingLine()
      • setDrawDividingLine

        public void setDrawDividingLine​(boolean drawDividingLine)
      • isGradientCapable

        public boolean isGradientCapable()
        Returns:
        the gradientCapable
      • setGradientCapable

        public void setGradientCapable​(boolean gradientCapable)
        Parameters:
        gradientCapable - the gradientCapable to set
      • buildGradient

        protected java.awt.GradientPaint buildGradient​(java.awt.Rectangle bounds,
                                                       TabComponent tab)