public class SafeBorder extends AbstractBorder implements UIResource
| Constructor and Description |
|---|
SafeBorder(AbstractBorder delegate) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBaseline(Component c,
int width,
int height) |
Component.BaselineResizeBehavior |
getBaselineResizeBehavior(Component c) |
Insets |
getBorderInsets(Component c) |
Insets |
getBorderInsets(Component c,
Insets insets) |
Rectangle |
getInteriorRectangle(Component c,
int x,
int y,
int width,
int height) |
boolean |
isBorderOpaque() |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height) |
getInteriorRectanglepublic SafeBorder(AbstractBorder delegate)
public int getBaseline(Component c, int width, int height)
getBaseline in class AbstractBorderpublic Component.BaselineResizeBehavior getBaselineResizeBehavior(Component c)
getBaselineResizeBehavior in class AbstractBorderpublic Insets getBorderInsets(Component c, Insets insets)
getBorderInsets in class AbstractBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderpublic Rectangle getInteriorRectangle(Component c, int x, int y, int width, int height)
getInteriorRectangle in class AbstractBorderpublic boolean isBorderOpaque()
isBorderOpaque in interface BorderisBorderOpaque in class AbstractBorderpublic void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder in interface BorderpaintBorder in class AbstractBorderCopyright © 2017. All Rights Reserved.