net.infonode.gui.shaped.border

Class RoundedCornerBorder

public class RoundedCornerBorder extends PolygonBorder

Author: johan

Constructor Summary
RoundedCornerBorder(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
protected InsetsgetShapedBorderInsets(Component c)

Constructor Detail

RoundedCornerBorder

public RoundedCornerBorder(ColorProvider lineColor, int cType)

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 Detail

getShapedBorderInsets

protected Insets getShapedBorderInsets(Component c)