Package com.formdev.flatlaf.ui
Class FlatMarginBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.MarginBorder
com.formdev.flatlaf.ui.FlatMarginBorder
- All Implemented Interfaces:
Serializable
,Border
,UIResource
- Direct Known Subclasses:
FlatMenuBarBorder
,FlatMenuItemBorder
,FlatToolBarBorder
Border that scales component margin.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder
-
Field Details
-
left
protected int left -
right
protected int right -
top
protected int top -
bottom
protected int bottom
-
-
Constructor Details
-
FlatMarginBorder
public FlatMarginBorder() -
FlatMarginBorder
-
-
Method Details
-
getBorderInsets
- Overrides:
getBorderInsets
in classBasicBorders.MarginBorder
-