Class SlopedTabLineBorder
java.lang.Object
net.infonode.gui.shaped.border.AbstractShapedBorder
net.infonode.gui.shaped.border.AbstractPolygonBorder
net.infonode.tabbedpanel.internal.SlopedTabLineBorder
- All Implemented Interfaces:
Serializable
,Border
,ShapedBorder
- Since:
- 1.2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSlopedTabLineBorder
(float leftSlope, float rightSlope) SlopedTabLineBorder
(float leftSlope, float rightSlope, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded) SlopedTabLineBorder
(float leftSlope, float rightSlope, int leftHeight, int rightHeight) SlopedTabLineBorder
(float leftSlope, float rightSlope, int leftHeight, int rightHeight, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded) SlopedTabLineBorder
(ColorProvider lineColor, ColorProvider highlightColor, boolean drawBottomLine, float leftSlope, float rightSlope, int leftHeight, int rightHeight, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded) -
Method Summary
Modifier and TypeMethodDescriptionprotected Polygon
createPolygon
(Component c, int width, int height) protected Insets
protected boolean
protected boolean
lineIsDrawn
(int index, Polygon polygon) Methods inherited from class net.infonode.gui.shaped.border.AbstractPolygonBorder
getBorderInsets, getHighlightOffsetX, getHighlightOffsetY, getShape, getShapedBorderHighlightInsets, isBorderOpaque, isHighlightable, isPointsClockwise, paintBorder, paintHighlight, paintPolygon, setPoint
-
Constructor Details
-
SlopedTabLineBorder
public SlopedTabLineBorder() -
SlopedTabLineBorder
public SlopedTabLineBorder(float leftSlope, float rightSlope) -
SlopedTabLineBorder
public SlopedTabLineBorder(float leftSlope, float rightSlope, int leftHeight, int rightHeight) -
SlopedTabLineBorder
public SlopedTabLineBorder(float leftSlope, float rightSlope, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded) -
SlopedTabLineBorder
public SlopedTabLineBorder(float leftSlope, float rightSlope, int leftHeight, int rightHeight, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded) -
SlopedTabLineBorder
public SlopedTabLineBorder(ColorProvider lineColor, ColorProvider highlightColor, boolean drawBottomLine, float leftSlope, float rightSlope, int leftHeight, int rightHeight, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded)
-
-
Method Details
-
lineIsDrawn
- Overrides:
lineIsDrawn
in classAbstractPolygonBorder
-
getShapedBorderInsets
- Overrides:
getShapedBorderInsets
in classAbstractPolygonBorder
-
isBottomLeftRounded
-
createPolygon
- Overrides:
createPolygon
in classAbstractPolygonBorder
-