public static final class Paddings.Padding extends EmptyBorder
EmptyBorder
that uses 4 instances of ConstantSize
to define the top, left, bottom and right gap.bottom, left, right, top
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets() |
Insets |
getBorderInsets(Component c) |
Insets |
getBorderInsets(Component c,
Insets insets) |
isBorderOpaque, paintBorder
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle
public Insets getBorderInsets()
getBorderInsets
in class EmptyBorder
public Insets getBorderInsets(Component c)
getBorderInsets
in interface Border
getBorderInsets
in class AbstractBorder
public Insets getBorderInsets(Component c, Insets insets)
getBorderInsets
in class EmptyBorder
Copyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.