|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
org.jdesktop.swingx.plaf.SafeBorder
public class SafeBorder
Wrapper around a delegate with the same behaviour as the delegate except that it catches null insets (hack around Issue 1297-swingx which is core bug 6739738)
| Constructor Summary | |
|---|---|
SafeBorder(AbstractBorder delegate)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class javax.swing.border.AbstractBorder |
|---|
getInteriorRectangle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SafeBorder(AbstractBorder delegate)
| Method Detail |
|---|
public int getBaseline(Component c,
int width,
int height)
getBaseline in class AbstractBorderpublic Component.BaselineResizeBehavior getBaselineResizeBehavior(Component c)
getBaselineResizeBehavior in class AbstractBorder
public Insets getBorderInsets(Component c,
Insets insets)
getBorderInsets in class AbstractBorderpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorder
public Rectangle getInteriorRectangle(Component c,
int x,
int y,
int width,
int height)
getInteriorRectangle in class AbstractBorderpublic boolean isBorderOpaque()
isBorderOpaque in interface BorderisBorderOpaque in class AbstractBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface BorderpaintBorder in class AbstractBorder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||