Class AbstractTabRenderer
java.lang.Object
com.inductiveautomation.factorypmi.application.components.tabstrip.AbstractTabRenderer
- Direct Known Subclasses:
- DemoStyleTabRenderer,- FolderStyleTabRenderer,- SimpleTabRenderer
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
drawDividingLineprotected boolean drawDividingLine
- 
gradientCapableprotected boolean gradientCapable
- 
orientationprotected int orientation
 
- 
- 
Constructor Details- 
AbstractTabRendererpublic AbstractTabRenderer()
 
- 
- 
Method Details- 
draw
- 
drawHorizontal
- 
drawVertical
- 
getPaddingpublic abstract int getPadding()
- 
getLeadingSpacepublic abstract int getLeadingSpace()
- 
getOrientationprotected int getOrientation()- Returns:
- the orientation
 
- 
setOrientationpublic void setOrientation(int orientation) - Parameters:
- orientation- the orientation to set
 
- 
isDrawDividingLinepublic boolean isDrawDividingLine()
- 
setDrawDividingLinepublic void setDrawDividingLine(boolean drawDividingLine) 
- 
isGradientCapablepublic boolean isGradientCapable()- Returns:
- the gradientCapable
 
- 
setGradientCapablepublic void setGradientCapable(boolean gradientCapable) - Parameters:
- gradientCapable- the gradientCapable to set
 
- 
buildGradient
 
-