Class NimbusTaskPaneUI.NimbusPaneBorder
java.lang.Object
org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI.PaneBorder
org.jdesktop.swingx.plaf.nimbus.NimbusTaskPaneUI.NimbusPaneBorder
- All Implemented Interfaces:
Border, UIResource
- Enclosing class:
NimbusTaskPaneUI
The border of the task pane group paints the "text", the "icon", the
"expanded" status and the "special" type.
-
Field Summary
Fields inherited from class BasicTaskPaneUI.PaneBorder
borderColor, label, specialTitleBackground, specialTitleForeground, specialTitleOver, titleBackgroundGradientEnd, titleBackgroundGradientStart, titleForeground, titleOver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDefault implementation returns false.protected voidpaintExpandedControls(JXTaskPane group, Graphics g, int x, int y, int width, int height) Paints expanded controls.protected voidpaintTitle(JXTaskPane group, Graphics g, Color textColor, int x, int y, int width, int height) Paints current group title.protected voidpaintTitleBackground(JXTaskPane group, Graphics g) Paints background of the title.Methods inherited from class BasicTaskPaneUI.PaneBorder
configureLabel, getBorderInsets, getPaintColor, getPreferredSize, isBorderOpaque, paintBorder, paintChevronControls, paintFocus, paintOvalAroundControls, paintRectAroundControls
-
Constructor Details
-
NimbusPaneBorder
NimbusPaneBorder()
-
-
Method Details
-
paintTitleBackground
Description copied from class:BasicTaskPaneUI.PaneBorderPaints background of the title. This may differ based on properties of the group.- Overrides:
paintTitleBackgroundin classBasicTaskPaneUI.PaneBorder- Parameters:
group- Selected group.g- Target graphics.
-
paintExpandedControls
protected void paintExpandedControls(JXTaskPane group, Graphics g, int x, int y, int width, int height) Description copied from class:BasicTaskPaneUI.PaneBorderPaints expanded controls. Default implementation does nothing.- Overrides:
paintExpandedControlsin classBasicTaskPaneUI.PaneBorder- Parameters:
group- Expanded group.g- Target graphics.x- X coordinate of the top left corner.y- Y coordinate of the top left corner.width- Width of the box.height- Height of the box.
-
paintTitle
protected void paintTitle(JXTaskPane group, Graphics g, Color textColor, int x, int y, int width, int height) Description copied from class:BasicTaskPaneUI.PaneBorderPaints current group title.- Overrides:
paintTitlein classBasicTaskPaneUI.PaneBorder- Parameters:
group- Selected group.g- Target graphics.textColor- Title color.x- X coordinate of the top left corner.y- Y coordinate of the top left corner.width- Width of the box.height- Height of the box.
-
isMouseOverBorder
protected boolean isMouseOverBorder()Description copied from class:BasicTaskPaneUI.PaneBorderDefault implementation returns false.- Overrides:
isMouseOverBorderin classBasicTaskPaneUI.PaneBorder- Returns:
- true if this border wants to display things differently when the mouse is over it
-