net.infonode.gui.shaped.border
public abstract class AbstractPolygonBorder extends AbstractShapedBorder
Constructor Summary | |
---|---|
protected | AbstractPolygonBorder(ColorProvider lineColor) |
protected | AbstractPolygonBorder(ColorProvider lineColor, ColorProvider highlightColor) |
protected | AbstractPolygonBorder(ColorProvider lineColor, ColorProvider highlightColor, ColorProvider middleColor, ColorProvider shadowColor) |
Method Summary | |
---|---|
protected Polygon | createPolygon(Component c, int width, int height) |
Insets | getBorderInsets(Component c) |
protected int | getHighlightOffsetX(int deltaX, int deltaY) |
protected int | getHighlightOffsetY(int deltaX, int deltaY) |
Shape | getShape(Component c, int x, int y, int width, int height) |
protected Insets | getShapedBorderHighlightInsets(Component c) |
protected Insets | getShapedBorderInsets(Component c) |
boolean | isBorderOpaque() |
protected boolean | isHighlightable(int deltaX, int deltaY) |
protected boolean | isPointsClockwise(Component c) |
protected boolean | lineIsDrawn(int index, Polygon polygon) |
void | paintBorder(Component c, Graphics g, int x, int y, int width, int height) |
protected void | paintHighlight(Component c, Graphics2D g, Polygon polygon, int width, int height) |
protected void | paintPolygon(Component c, Graphics2D g, Polygon polygon, int width, int height) |
protected void | setPoint(Polygon polygon, int x, int y) |