public class RoundedMatteBorder extends AbstractBorder
| Constructor and Description |
|---|
RoundedMatteBorder(int thickness,
Color color) |
RoundedMatteBorder(int thickness,
int marginThickness,
Color color) |
RoundedMatteBorder(int top,
int left,
int bottom,
int right,
Color color) |
RoundedMatteBorder(int top,
int left,
int bottom,
int right,
int marginThickness,
Color color) |
RoundedMatteBorder(int top,
int left,
int bottom,
int right,
int horzInset,
int vertInset,
Color color) |
RoundedMatteBorder(int top,
int left,
int bottom,
int right,
int topInset,
int leftInset,
int bottomInset,
int rightInset,
Color color) |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getBorderInsets(Component c) |
Insets |
getBorderInsets(Component c,
Insets insets) |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaquepublic RoundedMatteBorder(int thickness,
Color color)
public RoundedMatteBorder(int thickness,
int marginThickness,
Color color)
public RoundedMatteBorder(int top,
int left,
int bottom,
int right,
Color color)
public RoundedMatteBorder(int top,
int left,
int bottom,
int right,
int marginThickness,
Color color)
public RoundedMatteBorder(int top,
int left,
int bottom,
int right,
int horzInset,
int vertInset,
Color color)
public RoundedMatteBorder(int top,
int left,
int bottom,
int right,
int topInset,
int leftInset,
int bottomInset,
int rightInset,
Color color)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderpaintBorder in class AbstractBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderpublic Insets getBorderInsets(Component c, Insets insets)
getBorderInsets in class AbstractBorderCopyright © 2020. All rights reserved.