public class TwoColoredLineBorder extends RoundedCornerBorder
TitledTab,
TabbedPanel,
Serialized Form| Constructor and Description |
|---|
TwoColoredLineBorder(ColorProvider topLeftColor,
ColorProvider bottomRightColor,
boolean roundCorners,
boolean open)
Constructs a TwoColoredLineBorder
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
paintPolygon(java.awt.Component c,
java.awt.Graphics2D g,
java.awt.Polygon polygon,
int width,
int height) |
getShapedBorderInsetscreatePolygongetBorderInsets, getHighlightOffsetX, getHighlightOffsetY, getShape, getShapedBorderHighlightInsets, isBorderOpaque, isHighlightable, isPointsClockwise, lineIsDrawn, paintBorder, paintHighlight, setPointpublic TwoColoredLineBorder(ColorProvider topLeftColor, ColorProvider bottomRightColor, boolean roundCorners, boolean open)
topLeftColor - the colorprovider for the top and left linesbottomRightColor - the colorprovider for the bottom and right linesroundCorners - true for round corners on the side facing away from the tab areaopen - true for no border on the side towards the tab areaprotected void paintPolygon(java.awt.Component c,
java.awt.Graphics2D g,
java.awt.Polygon polygon,
int width,
int height)
paintPolygon in class AbstractPolygonBorder