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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class javax.swing.border.EmptyBorder
bottom, left, right, top -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpaintBorder(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, isBorderOpaqueMethods 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:
paintBorderin interfaceBorder- Overrides:
paintBorderin classEmptyBorder
-