Package docking.widgets.tab
Class GTabPanelBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EmptyBorder
docking.widgets.tab.GTabPanelBorder
- All Implemented Interfaces:
Serializable
,Border
Custom border for the
GTab
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
Fields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
paintBorder
(Component c, Graphics g, int x, int y, int w, int h) Paints the border, and also a bottom shadow border that isn't part of the insets, so that the area that doesn't have tabs, still paints a bottom borderMethods inherited from class javax.swing.border.EmptyBorder
getBorderInsets, getBorderInsets, isBorderOpaque
Methods inherited from class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle
-
Field Details
-
MARGIN_SIZE
public static final int MARGIN_SIZE- See Also:
-
BOTTOM_SOLID_COLOR_SIZE
public static final int BOTTOM_SOLID_COLOR_SIZE- See Also:
-
-
Constructor Details
-
GTabPanelBorder
public GTabPanelBorder()
-
-
Method Details
-
paintBorder
Paints the border, and also a bottom shadow border that isn't part of the insets, so that the area that doesn't have tabs, still paints a bottom border- Specified by:
paintBorder
in interfaceBorder
- Overrides:
paintBorder
in classEmptyBorder
-