Class AbstractTabRenderer
java.lang.Object
com.inductiveautomation.factorypmi.application.components.tabstrip.AbstractTabRenderer
- Direct Known Subclasses:
DemoStyleTabRenderer,FolderStyleTabRenderer,SimpleTabRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GradientPaintbuildGradient(Rectangle bounds, TabComponent tab) protected abstract voiddraw(Graphics g, TabComponent tab) protected abstract voiddrawHorizontal(Graphics g, TabComponent tab) protected abstract voiddrawVertical(Graphics g, TabComponent tab) abstract intprotected intabstract intbooleanbooleanvoidsetDrawDividingLine(boolean drawDividingLine) voidsetGradientCapable(boolean gradientCapable) voidsetOrientation(int orientation)
-
Field Details
-
drawDividingLine
protected boolean drawDividingLine -
gradientCapable
protected boolean gradientCapable -
orientation
protected int orientation
-
-
Constructor Details
-
AbstractTabRenderer
public AbstractTabRenderer()
-
-
Method Details
-
draw
-
drawHorizontal
-
drawVertical
-
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
-