public class PartialLineBorder extends LineBorder implements PartialSide
lineColor, roundedCorners, thicknessALL, EAST, HORIZONTAL, NORTH, SOUTH, VERTICAL, WEST| Constructor and Description |
|---|
PartialLineBorder(Color color) |
PartialLineBorder(Color color,
int thickness) |
PartialLineBorder(Color color,
int thickness,
boolean roundedCorners) |
PartialLineBorder(Color color,
int thickness,
boolean roundedCorners,
int roundedCornerSize) |
PartialLineBorder(Color color,
int thickness,
int side) |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component c) |
Insets |
getBorderInsets(Component c,
Insets insets) |
int |
getRoundedCornerSize() |
int |
getSides() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
setRoundedCornerSize(int roundedCornerSize) |
void |
setSides(int sides) |
createBlackLineBorder, createGrayLineBorder, getLineColor, getRoundedCorners, getThickness, isBorderOpaquegetBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectanglepublic PartialLineBorder(Color color)
public PartialLineBorder(Color color, int thickness)
public PartialLineBorder(Color color, int thickness, boolean roundedCorners)
public PartialLineBorder(Color color, int thickness, boolean roundedCorners, int roundedCornerSize)
public PartialLineBorder(Color color, int thickness, int side)
public int getSides()
public void setSides(int sides)
public int getRoundedCornerSize()
public void setRoundedCornerSize(int roundedCornerSize)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderpaintBorder in class LineBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderpublic Insets getBorderInsets(Component c, Insets insets)
getBorderInsets in class LineBorderCopyright © 2017. All rights reserved.