public class PartialEtchedBorder extends EtchedBorder implements PartialSide
etchType, highlight, LOWERED, RAISED, shadowALL, EAST, HORIZONTAL, NORTH, SOUTH, VERTICAL, WEST| Constructor and Description |
|---|
PartialEtchedBorder() |
PartialEtchedBorder(Color highlight,
Color shadow,
int sides) |
PartialEtchedBorder(int sides) |
PartialEtchedBorder(int etchType,
Color highlight,
Color shadow,
int sides) |
PartialEtchedBorder(int etchType,
int sides) |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component c) |
Insets |
getBorderInsets(Component c,
Insets insets) |
int |
getSides() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
void |
setSides(int sides) |
getEtchType, getHighlightColor, getHighlightColor, getShadowColor, getShadowColor, isBorderOpaquegetBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectanglepublic PartialEtchedBorder()
public PartialEtchedBorder(int sides)
public PartialEtchedBorder(int etchType,
int sides)
public int getSides()
public void setSides(int sides)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderpaintBorder in class EtchedBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderpublic Insets getBorderInsets(Component c, Insets insets)
getBorderInsets in class EtchedBorder