Paddings.@Deprecated public final class Borders extends Object
ConstantSize to define the margins.
 Examples:
 
 Borders.DLU2
 Borders.createEmptyBorder(Sizes.DLUY4, Sizes.DLUX2, Sizes.DLUY4, Sizes.DLUX2);
 Borders.createEmptyBorder("4dlu, 2dlu, 4dlu, 2dlu");
 | Modifier and Type | Field and Description | 
|---|---|
| static Paddings.Padding | BUTTON_BAR_PADDeprecated.  A standardized Border that describes the gap between a component
 and a button bar in its bottom. | 
| static Paddings.Padding | DIALOGDeprecated.  A standardized Border that describes the border around
 a dialog content that has no tabs. | 
| static Paddings.Padding | DLU14Deprecated.  A prepared Border with 14dlu on all sides. | 
| static Paddings.Padding | DLU2Deprecated.  A prepared and reusable Border with 2dlu on all sides. | 
| static Paddings.Padding | DLU21Deprecated.  A prepared Border with 21dlu on all sides. | 
| static Paddings.Padding | DLU4Deprecated.  A prepared and reusable Border with 4dlu on all sides. | 
| static Paddings.Padding | DLU7Deprecated.  A prepared and reusable Border with 7dlu on all sides. | 
| static Paddings.Padding | DLU9Deprecated.  A prepared and reusable Border with 9dlu on all sides. | 
| static EmptyBorder | EMPTYDeprecated.  A prepared and reusable EmptyBorder without gaps. | 
| static Paddings.Padding | TABBED_DIALOGDeprecated.  A standardized Border that describes the border around
 a dialog content that uses tabs. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Paddings.Padding | createEmptyBorder(ConstantSize top,
                 ConstantSize left,
                 ConstantSize bottom,
                 ConstantSize right)Deprecated. 
 | 
| static Paddings.Padding | createEmptyBorder(String encodedSizes)Deprecated. 
 Replaced by  Paddings.createPadding(String, Object...). | 
public static final EmptyBorder EMPTY
public static final Paddings.Padding DLU2
public static final Paddings.Padding DLU4
public static final Paddings.Padding DLU7
public static final Paddings.Padding DLU9
public static final Paddings.Padding DLU14
public static final Paddings.Padding DLU21
public static final Paddings.Padding BUTTON_BAR_PAD
public static final Paddings.Padding DIALOG
TABBED_DIALOGpublic static final Paddings.Padding TABBED_DIALOG
DIALOG@Deprecated public static Paddings.Padding createEmptyBorder(ConstantSize top, ConstantSize left, ConstantSize bottom, ConstantSize right)
Paddings.createPadding(ConstantSize, ConstantSize, ConstantSize, ConstantSize).EmptyBorder with the specified
 gaps.top - the top gapleft - the left-hand side gapbottom - the bottom gapright - the right-hand side gapEmptyBorder with the specified gapsNullPointerException - if top, left, bottom, or right is nullcreateEmptyBorder(String)@Deprecated public static Paddings.Padding createEmptyBorder(String encodedSizes)
Paddings.createPadding(String, Object...).Border using sizes as specified by
 the given string. This string is a comma-separated encoding of
 4 ConstantSizes.encodedSizes - top, left, bottom, right gap encoded as StringEmptyBorder with the specified gapscreateEmptyBorder(ConstantSize, ConstantSize, ConstantSize, ConstantSize)Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.