| Modifier and Type | Field and Description |
|---|---|
protected Color |
bottomColor |
protected double |
bottomMargin |
protected double |
bottomPadding |
protected double |
bottomWidth |
protected Color |
leftColor |
protected double |
leftMargin |
protected double |
leftPadding |
protected double |
leftWidth |
protected Color |
rightColor |
protected double |
rightMargin |
protected double |
rightPadding |
protected double |
rightWidth |
protected Color |
topColor |
protected double |
topMargin |
protected double |
topPadding |
protected double |
topWidth |
| Constructor and Description |
|---|
LineBorder() |
| Modifier and Type | Method and Description |
|---|---|
LineBorder |
bottom(int width,
int padding,
int margin,
Color color) |
Insets |
getBorderInsets(Component c) |
Color |
getBottomColor() |
double |
getBottomMargin() |
double |
getBottomPadding() |
double |
getBottomWidth() |
Color |
getLeftColor() |
double |
getLeftMargin() |
double |
getLeftPadding() |
double |
getLeftWidth() |
Color |
getRightColor() |
double |
getRightMargin() |
double |
getRightPadding() |
double |
getRightWidth() |
Color |
getTopColor() |
double |
getTopMargin() |
double |
getTopPadding() |
double |
getTopWidth() |
boolean |
isBorderOpaque() |
LineBorder |
left(int width,
int padding,
int margin,
Color color) |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
LineBorder |
right(int width,
int padding,
int margin,
Color color) |
void |
setBottomColor(Color bottomColor) |
void |
setBottomMargin(double bottomMargin) |
void |
setBottomPadding(double bottomPadding) |
void |
setBottomWidth(double bottomWidth) |
void |
setLeftColor(Color leftColor) |
void |
setLeftMargin(double leftMargin) |
void |
setLeftPadding(double leftPadding) |
void |
setLeftWidth(double leftWidth) |
void |
setRightColor(Color rightColor) |
void |
setRightMargin(double rightMargin) |
void |
setRightPadding(double rightPadding) |
void |
setRightWidth(double rightWidth) |
void |
setTopColor(Color topColor) |
void |
setTopMargin(double topMargin) |
void |
setTopPadding(double topPadding) |
void |
setTopWidth(double topWidth) |
LineBorder |
top(int width,
int padding,
int margin,
Color color) |
protected double topWidth
protected double topMargin
protected double topPadding
protected Color topColor
protected double bottomWidth
protected double bottomMargin
protected double bottomPadding
protected Color bottomColor
protected double leftWidth
protected double leftMargin
protected double leftPadding
protected Color leftColor
protected double rightWidth
protected double rightMargin
protected double rightPadding
protected Color rightColor
public double getTopWidth()
public void setTopWidth(double topWidth)
public double getTopMargin()
public void setTopMargin(double topMargin)
public double getTopPadding()
public void setTopPadding(double topPadding)
public Color getTopColor()
public void setTopColor(Color topColor)
public LineBorder top(int width, int padding, int margin, Color color)
public double getBottomWidth()
public void setBottomWidth(double bottomWidth)
public double getBottomMargin()
public void setBottomMargin(double bottomMargin)
public double getBottomPadding()
public void setBottomPadding(double bottomPadding)
public Color getBottomColor()
public void setBottomColor(Color bottomColor)
public LineBorder bottom(int width, int padding, int margin, Color color)
public double getLeftWidth()
public void setLeftWidth(double leftWidth)
public double getLeftMargin()
public void setLeftMargin(double leftMargin)
public double getLeftPadding()
public void setLeftPadding(double leftPadding)
public Color getLeftColor()
public void setLeftColor(Color leftColor)
public LineBorder left(int width, int padding, int margin, Color color)
public double getRightWidth()
public void setRightWidth(double rightWidth)
public double getRightMargin()
public void setRightMargin(double rightMargin)
public double getRightPadding()
public void setRightPadding(double rightPadding)
public Color getRightColor()
public void setRightColor(Color rightColor)
public LineBorder right(int width, int padding, int margin, Color color)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface Borderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface BorderCopyright © 2018. All rights reserved.