Package com.jgoodies.forms.factories
Class Paddings.Padding
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
com.jgoodies.forms.factories.Paddings.Padding
- All Implemented Interfaces:
Serializable
,Border
- Enclosing class:
- Paddings
An
EmptyBorder
that uses 4 instances of ConstantSize
to define the top, left, bottom and right gap.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConstantSize
private final ConstantSize
private final ConstantSize
private final ConstantSize
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Padding
(ConstantSize top, ConstantSize left, ConstantSize bottom, ConstantSize right) -
Method Summary
Methods inherited from class javax.swing.border.EmptyBorder
isBorderOpaque, paintBorder
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
-
Field Details
-
topMargin
-
leftMargin
-
bottomMargin
-
rightMargin
-
-
Constructor Details
-
Padding
-
-
Method Details
-
getBorderInsets
- Overrides:
getBorderInsets
in classEmptyBorder
-
getBorderInsets
- Specified by:
getBorderInsets
in interfaceBorder
- Overrides:
getBorderInsets
in classAbstractBorder
-
getBorderInsets
- Overrides:
getBorderInsets
in classEmptyBorder
-