public class SlopedTabLineBorder extends AbstractPolygonBorder
Constructor and Description |
---|
SlopedTabLineBorder() |
SlopedTabLineBorder(ColorProvider lineColor,
ColorProvider highlightColor,
boolean drawBottomLine,
float leftSlope,
float rightSlope,
int leftHeight,
int rightHeight,
boolean bottomLeftRounded,
boolean topLeftRounded,
boolean topRightRounded,
boolean bottomRightRounded) |
SlopedTabLineBorder(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) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.Polygon |
createPolygon(java.awt.Component c,
int width,
int height) |
protected java.awt.Insets |
getShapedBorderInsets(java.awt.Component c) |
protected boolean |
isBottomLeftRounded(java.awt.Component c) |
protected boolean |
lineIsDrawn(int index,
java.awt.Polygon polygon) |
getBorderInsets, getHighlightOffsetX, getHighlightOffsetY, getShape, getShapedBorderHighlightInsets, isBorderOpaque, isHighlightable, isPointsClockwise, paintBorder, paintHighlight, paintPolygon, setPoint
public SlopedTabLineBorder()
public SlopedTabLineBorder(float leftSlope, float rightSlope)
public SlopedTabLineBorder(float leftSlope, float rightSlope, int leftHeight, int rightHeight)
public SlopedTabLineBorder(float leftSlope, float rightSlope, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded)
public SlopedTabLineBorder(float leftSlope, float rightSlope, int leftHeight, int rightHeight, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded)
public SlopedTabLineBorder(ColorProvider lineColor, ColorProvider highlightColor, boolean drawBottomLine, float leftSlope, float rightSlope, int leftHeight, int rightHeight, boolean bottomLeftRounded, boolean topLeftRounded, boolean topRightRounded, boolean bottomRightRounded)
protected boolean lineIsDrawn(int index, java.awt.Polygon polygon)
lineIsDrawn
in class AbstractPolygonBorder
protected java.awt.Insets getShapedBorderInsets(java.awt.Component c)
getShapedBorderInsets
in class AbstractPolygonBorder
protected boolean isBottomLeftRounded(java.awt.Component c)
protected java.awt.Polygon createPolygon(java.awt.Component c, int width, int height)
createPolygon
in class AbstractPolygonBorder