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.EmptyBorderEmpty 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.InsetsgetBorderInsets()java.awt.InsetsgetBorderInsets(java.awt.Component c, java.awt.Insets insets)
-
-
-
Method Detail
-
getBorderInsets
public java.awt.Insets getBorderInsets()
- Overrides:
getBorderInsetsin classjavax.swing.border.EmptyBorder
-
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c, java.awt.Insets insets)- Overrides:
getBorderInsetsin classjavax.swing.border.EmptyBorder
-
-