Package net.infonode.gui.shaped.border
Class RoundedCornerBorder
java.lang.Object
net.infonode.gui.shaped.border.AbstractShapedBorder
net.infonode.gui.shaped.border.AbstractPolygonBorder
net.infonode.gui.shaped.border.PolygonBorder
net.infonode.gui.shaped.border.RoundedCornerBorder
- All Implemented Interfaces:
Serializable
,Border
,ShapedBorder
- Direct Known Subclasses:
TwoColoredLineBorder
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRoundedCornerBorder
(ColorProvider lineColor, int cType) RoundedCornerBorder
(ColorProvider lineColor, int cType, boolean drawTop, boolean drawLeft, boolean drawBottom, boolean drawRight) RoundedCornerBorder
(ColorProvider lineColor, ColorProvider highlightColor, int cType1, int cType2, int cType3, int cType4) RoundedCornerBorder
(ColorProvider lineColor, ColorProvider highlightColor, int cType1, int cType2, int cType3, int cType4, boolean drawTop, boolean drawLeft, boolean drawBottom, boolean drawRight) -
Method Summary
Methods inherited from class net.infonode.gui.shaped.border.PolygonBorder
createPolygon
Methods inherited from class net.infonode.gui.shaped.border.AbstractPolygonBorder
getBorderInsets, getHighlightOffsetX, getHighlightOffsetY, getShape, getShapedBorderHighlightInsets, isBorderOpaque, isHighlightable, isPointsClockwise, lineIsDrawn, paintBorder, paintHighlight, paintPolygon, setPoint
-
Constructor Details
-
RoundedCornerBorder
-
RoundedCornerBorder
public RoundedCornerBorder(ColorProvider lineColor, int cType, boolean drawTop, boolean drawLeft, boolean drawBottom, boolean drawRight) -
RoundedCornerBorder
public RoundedCornerBorder(ColorProvider lineColor, ColorProvider highlightColor, int cType1, int cType2, int cType3, int cType4) -
RoundedCornerBorder
public RoundedCornerBorder(ColorProvider lineColor, ColorProvider highlightColor, int cType1, int cType2, int cType3, int cType4, boolean drawTop, boolean drawLeft, boolean drawBottom, boolean drawRight)
-
-
Method Details
-
getShapedBorderInsets
- Overrides:
getShapedBorderInsets
in classAbstractPolygonBorder
-