Class FlatToolBarBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.MarginBorder
com.formdev.flatlaf.ui.FlatMarginBorder
com.formdev.flatlaf.ui.FlatToolBarBorder
- All Implemented Interfaces:
Serializable, Border, UIResource
Border for
JToolBar.- See Also:
- UiDefault:
- ToolBar.borderMargins Insets, ToolBar.gripColor Color
-
Field Summary
FieldsFields inherited from class FlatMarginBorder
bottom, left, right, top -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RectanglecalculateGripBounds(Component c, int x, int y, int width, int height) getBorderInsets(Component c, Insets insets) voidpaintBorder(Component c, Graphics g, int x, int y, int width, int height) protected voidMethods inherited from class AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque
-
Field Details
-
gripColor
-
-
Constructor Details
-
FlatToolBarBorder
public FlatToolBarBorder()
-
-
Method Details
-
paintBorder
- Specified by:
paintBorderin interfaceBorder- Overrides:
paintBorderin classAbstractBorder
-
paintGrip
-
calculateGripBounds
-
getBorderInsets
- Overrides:
getBorderInsetsin classFlatMarginBorder
-