java.lang.Object
com.inductiveautomation.factorypmi.application.components.tabstrip.AbstractTabRenderer
Direct Known Subclasses:
DemoStyleTabRenderer, FolderStyleTabRenderer, SimpleTabRenderer

public abstract class AbstractTabRenderer extends Object
  • Field Details

    • drawDividingLine

      protected boolean drawDividingLine
    • gradientCapable

      protected boolean gradientCapable
    • orientation

      protected int orientation
  • Constructor Details

    • AbstractTabRenderer

      public AbstractTabRenderer()
  • Method Details

    • draw

      protected abstract void draw(Graphics g, TabComponent tab)
    • drawHorizontal

      protected abstract void drawHorizontal(Graphics g, TabComponent tab)
    • drawVertical

      protected abstract void drawVertical(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 GradientPaint buildGradient(Rectangle bounds, TabComponent tab)