|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jgoodies.forms.factories.Borders
public final class Borders
Provides constants and factory methods for Borders that us
instances of ConstantSize to define the margins.
Examples:
Borders.EmptyBorder,
Sizes| Nested Class Summary | |
|---|---|
static class |
Borders.EmptyBorder
An empty border that uses 4 instances of ConstantSize
|
| Field Summary | |
|---|---|
static Border |
BUTTON_BAR_PAD
A standardized Border that describes the gap between a componen and a button bar in its bottom. |
static Border |
DIALOG
A standardized Border that describes the border aroun a dialog content that has no tabs. |
static Border |
DLU14
A prepared Border with 14dlu on all sides. |
static Border |
DLU2
A prepared and reusable Border with 2dlu on all sides. |
static Border |
DLU21
A prepared Border with 21dlu on all sides. |
static Border |
DLU4
A prepared and reusable Border with 4dlu on all sides. |
static Border |
DLU7
A prepared and reusable Border with 7dlu on all sides. |
static Border |
DLU9
A prepared and reusable Border with 9dlu on all sides. |
static Border |
EMPTY
A prepared and reusable EmptyBorder without gaps. |
static Border |
TABBED_DIALOG
A standardized Border that describes the border aroun a dialog content that uses tabs. |
| Method Summary | |
|---|---|
static Border |
createEmptyBorder(ConstantSize top,
ConstantSize left,
ConstantSize bottom,
ConstantSize right)
Creates and returns an EmptyBorder with the specifie
gaps. |
static Border |
createEmptyBorder(String encodedSizes)
Creates and returns a Border using sizes as specified b
the given string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Border EMPTY
public static final Border DLU2
public static final Border DLU4
public static final Border DLU7
public static final Border DLU9
public static final Border DLU14
public static final Border DLU21
public static final Border BUTTON_BAR_PAD
public static final Border DIALOG
TABBED_DIALOGpublic static final Border TABBED_DIALOG
DIALOG| Method Detail |
|---|
public static Border createEmptyBorder(ConstantSize top,
ConstantSize left,
ConstantSize bottom,
ConstantSize right)
EmptyBorder with the specifie
gaps.
top - the top gapleft - the left-hand side gapbottom - the bottom gapright - the right-hand side gap
EmptyBorder with the specified gaps
NullPointerException - if top, left, bottom, or right is nullcreateEmptyBorder(String)public static Border createEmptyBorder(String encodedSizes)
Border using sizes as specified b
the given string. This string is a comma-separated encoding o
4 ConstantSizes.
encodedSizes - top, left, bottom, right gap encoded as String
EmptyBorder with the specified gapscreateEmptyBorder(ConstantSize, ConstantSize, ConstantSize, ConstantSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||