public abstract class AbstractTabRenderer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
drawDividingLine |
protected boolean |
gradientCapable |
protected int |
orientation |
Constructor and Description |
---|
AbstractTabRenderer() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
draw(java.awt.Graphics g,
TabComponent tab) |
protected abstract void |
drawHorizontal(java.awt.Graphics g,
TabComponent tab) |
protected abstract void |
drawVertical(java.awt.Graphics g,
TabComponent tab) |
abstract int |
getLeadingSpace() |
protected int |
getOrientation() |
abstract int |
getPadding() |
boolean |
isDrawDividingLine() |
boolean |
isGradientCapable() |
void |
setDrawDividingLine(boolean drawDividingLine) |
void |
setGradientCapable(boolean gradientCapable) |
void |
setOrientation(int orientation) |
protected boolean drawDividingLine
protected boolean gradientCapable
protected int orientation
protected abstract void draw(java.awt.Graphics g, TabComponent tab)
protected abstract void drawHorizontal(java.awt.Graphics g, TabComponent tab)
protected abstract void drawVertical(java.awt.Graphics g, TabComponent tab)
public abstract int getPadding()
public abstract int getLeadingSpace()
protected int getOrientation()
public void setOrientation(int orientation)
orientation
- the orientation to setpublic boolean isDrawDividingLine()
public void setDrawDividingLine(boolean drawDividingLine)
public boolean isGradientCapable()
public void setGradientCapable(boolean gradientCapable)
gradientCapable
- the gradientCapable to set