Package com.formdev.flatlaf.ui
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.- Author:
- Karl Tauber
- See Also:
-
Field Summary
FieldsFields inherited from class com.formdev.flatlaf.ui.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 javax.swing.border.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
-