net.infonode.tabbedpanel.internal
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:
- java.io.Serializable, javax.swing.border.Border, ShapedBorder
public class SlopedTabLineBorder
- extends AbstractPolygonBorder
- Since:
- 1.2.0
- Author:
- johan
- See Also:
- Serialized Form
Constructor Summary |
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)
|
Methods inherited from class net.infonode.gui.shaped.border.AbstractPolygonBorder |
getBorderInsets, getHighlightOffsetX, getHighlightOffsetY, getShape, getShapedBorderHighlightInsets, isBorderOpaque, isHighlightable, isPointsClockwise, paintBorder, paintHighlight, paintPolygon, setPoint |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
lineIsDrawn
protected boolean lineIsDrawn(int index,
java.awt.Polygon polygon)
- Overrides:
lineIsDrawn
in class AbstractPolygonBorder
getShapedBorderInsets
protected java.awt.Insets getShapedBorderInsets(java.awt.Component c)
- Overrides:
getShapedBorderInsets
in class AbstractPolygonBorder
isBottomLeftRounded
protected boolean isBottomLeftRounded(java.awt.Component c)
createPolygon
protected java.awt.Polygon createPolygon(java.awt.Component c,
int width,
int height)
- Overrides:
createPolygon
in class AbstractPolygonBorder