public static final class Borders.EmptyBorder extends AbstractBorder
ConstantSize
to define the top, left, bottom and right gap.| Modifier and Type | Method and Description |
|---|---|
ConstantSize |
bottom()
Returns this border's bottom size.
|
Insets |
getBorderInsets(Component c)
Returns the insets of the border.
|
Insets |
getBorderInsets(Component c,
Insets insets)
Returns the insets of the border.
|
ConstantSize |
left()
Returns this border's left size.
|
ConstantSize |
right()
Returns this border's right size.
|
ConstantSize |
top()
Returns this border's top size.
|
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorderpublic Insets getBorderInsets(Component c, Insets insets)
getBorderInsets in class AbstractBorderc - the component for which this border insets value appliesinsets - the insets to be reinitializedinsets objectpublic Insets getBorderInsets(Component c)
getBorderInsets in interface BordergetBorderInsets in class AbstractBorderc - the component for which this border insets value appliespublic ConstantSize top()
public ConstantSize left()
public ConstantSize bottom()
public ConstantSize right()
Copyright © 2002-2014 JGoodies Software GmbH. All Rights Reserved.