Package com.formdev.flatlaf.ui
Class FlatEmptyBorder
- java.lang.Object
-
- javax.swing.border.AbstractBorder
-
- javax.swing.border.EmptyBorder
-
- javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
-
- com.formdev.flatlaf.ui.FlatEmptyBorder
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.border.Border
,javax.swing.plaf.UIResource
- Direct Known Subclasses:
FlatDropShadowBorder
,FlatInternalFrameUI.FlatInternalFrameBorder
,FlatLineBorder
,FlatTableHeaderBorder
public class FlatEmptyBorder extends javax.swing.plaf.BorderUIResource.EmptyBorderUIResource
Empty border for various components. The insets are scaled.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlatEmptyBorder()
FlatEmptyBorder(int top, int left, int bottom, int right)
FlatEmptyBorder(java.awt.Insets insets)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
applyStyleProperty(java.awt.Insets insets)
java.awt.Insets
getBorderInsets()
java.awt.Insets
getBorderInsets(java.awt.Component c, java.awt.Insets insets)
java.awt.Insets
getStyleableValue()
java.awt.Insets
getUnscaledBorderInsets()
protected static java.awt.Insets
scaleInsets(java.awt.Component c, java.awt.Insets insets, int top, int left, int bottom, int right)
-
-
-
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
-
scaleInsets
protected static java.awt.Insets scaleInsets(java.awt.Component c, java.awt.Insets insets, int top, int left, int bottom, int right)
-
getUnscaledBorderInsets
public java.awt.Insets getUnscaledBorderInsets()
-
applyStyleProperty
public java.lang.Object applyStyleProperty(java.awt.Insets insets)
-
getStyleableValue
public java.awt.Insets getStyleableValue()
- Since:
- 2.5
-
-