Package com.formdev.flatlaf.util
Class ScaledEmptyBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- com.formdev.flatlaf.util.ScaledEmptyBorder
-
- All Implemented Interfaces:
Serializable
,Border
public class ScaledEmptyBorder extends EmptyBorder
Empty border that scales insets.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
-
Constructor Summary
Constructors Constructor Description ScaledEmptyBorder(int top, int left, int bottom, int right)
ScaledEmptyBorder(Insets insets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Insets
getBorderInsets()
Insets
getBorderInsets(Component c, Insets insets)
-
Methods inherited from class javax.swing.border.EmptyBorder
isBorderOpaque, paintBorder
-
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
-
-
-
Constructor Detail
-
ScaledEmptyBorder
public ScaledEmptyBorder(int top, int left, int bottom, int right)
-
ScaledEmptyBorder
public ScaledEmptyBorder(Insets insets)
-
-
Method Detail
-
getBorderInsets
public Insets getBorderInsets()
- Overrides:
getBorderInsets
in classEmptyBorder
-
getBorderInsets
public Insets getBorderInsets(Component c, Insets insets)
- Overrides:
getBorderInsets
in classEmptyBorder
-
-