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) |
getInteriorRectangle
public SafeBorder(AbstractBorder delegate)
public int getBaseline(Component c, int width, int height)
getBaseline
in class AbstractBorder
public Component.BaselineResizeBehavior getBaselineResizeBehavior(Component c)
getBaselineResizeBehavior
in class AbstractBorder
public Insets getBorderInsets(Component c, Insets insets)
getBorderInsets
in class AbstractBorder
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
getBorderInsets
in class AbstractBorder
public Rectangle getInteriorRectangle(Component c, int x, int y, int width, int height)
getInteriorRectangle
in class AbstractBorder
public boolean isBorderOpaque()
isBorderOpaque
in interface Border
isBorderOpaque
in class AbstractBorder
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
paintBorder
in interface Border
paintBorder
in class AbstractBorder
Copyright © 2020. All rights reserved.