public abstract class TabDecorator extends Object
Constructor and Description |
---|
TabDecorator() |
Modifier and Type | Method and Description |
---|---|
Color |
getBackground(TabData tab,
boolean selected) |
Color |
getForeground(TabData tab,
boolean selected) |
Icon |
getIcon(TabData tab) |
String |
getText(TabData tab) |
void |
paintAfter(TabData tab,
Graphics g,
Rectangle tabRect,
boolean isSelected)
Perform any additional painting into tab's rectangle.
|
public String getText(TabData tab)
tab
- public Icon getIcon(TabData tab)
tab
- public Color getBackground(TabData tab, boolean selected)
tab
- selected
- public Color getForeground(TabData tab, boolean selected)
tab
- selected
-