net.infonode.tabbedpanel.border
public class TabHighlightBorder extends Object implements Border, Serializable
Version: $Revision: 1.19 $
See Also: Tab TabbedPanel TabbedPanelProperties
Constructor Summary | |
---|---|
TabHighlightBorder()
Constructs a TabHighlightBorder that acts as an empty border, i.e. no highlight
is drawn but it will report the same insets as if the highlight was drawn | |
TabHighlightBorder(Color color, boolean openBorder)
Constructs a TabHighlightBorder with the given color as highlight color
| |
TabHighlightBorder(ColorProvider colorProvider, boolean openBorder)
Constructs a TabHighlightBorder with the given color as highlight color
|
Method Summary | |
---|---|
Insets | getBorderInsets(Component c) |
boolean | isBorderOpaque() |
void | paintBorder(Component c, Graphics g, int x, int y, int width, int height) |
Parameters: color the highlight color openBorder when true, no highlighting is drawn on the side towards a TabbedPanel's content area, otherwise false
Parameters: colorProvider the highlight color provider openBorder when true, no highlighting is drawn on the side towards a TabbedPanel's content area, otherwise false