net.infonode.tabbedpanel.internal
public class TwoColoredLineBorder extends RoundedCornerBorder
Since: ITP 1.2.0
Version: $Revision: 1.7 $
See Also: TitledTab TabbedPanel
Constructor Summary | |
---|---|
TwoColoredLineBorder(ColorProvider topLeftColor, ColorProvider bottomRightColor, boolean roundCorners, boolean open)
Constructs a TwoColoredLineBorder
|
Method Summary | |
---|---|
protected void | paintPolygon(Component c, Graphics2D g, Polygon polygon, int width, int height) |
Parameters: topLeftColor the colorprovider for the top and left lines bottomRightColor the colorprovider for the bottom and right lines roundCorners true for round corners on the side facing away from the tab area open true for no border on the side towards the tab area