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:
java.io.Serializable
,javax.swing.border.Border
public class ScaledEmptyBorder extends javax.swing.border.EmptyBorder
Empty border that scales insets.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScaledEmptyBorder(int top, int left, int bottom, int right)
ScaledEmptyBorder(java.awt.Insets insets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Insets
getBorderInsets()
java.awt.Insets
getBorderInsets(java.awt.Component c, java.awt.Insets insets)
-
-
-
Method Detail
-
getBorderInsets
public java.awt.Insets getBorderInsets()
- Overrides:
getBorderInsets
in classjavax.swing.border.EmptyBorder
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)
- Overrides:
getBorderInsets
in classjavax.swing.border.EmptyBorder
-
-