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_PAD
Deprecated.
A standardized Border that describes the gap between a component
and a button bar in its bottom.
|
static Paddings.Padding |
DIALOG
Deprecated.
A standardized Border that describes the border around
a dialog content that has no tabs.
|
static Paddings.Padding |
DLU14
Deprecated.
A prepared Border with 14dlu on all sides.
|
static Paddings.Padding |
DLU2
Deprecated.
A prepared and reusable Border with 2dlu on all sides.
|
static Paddings.Padding |
DLU21
Deprecated.
A prepared Border with 21dlu on all sides.
|
static Paddings.Padding |
DLU4
Deprecated.
A prepared and reusable Border with 4dlu on all sides.
|
static Paddings.Padding |
DLU7
Deprecated.
A prepared and reusable Border with 7dlu on all sides.
|
static Paddings.Padding |
DLU9
Deprecated.
A prepared and reusable Border with 9dlu on all sides.
|
static EmptyBorder |
EMPTY
Deprecated.
A prepared and reusable EmptyBorder without gaps.
|
static Paddings.Padding |
TABBED_DIALOG
Deprecated.
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_DIALOG
public 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 null
createEmptyBorder(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 ConstantSize
s.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.