org.jdesktop.swingx.plaf.basic
Class BasicTaskPaneUI.PaneBorder
java.lang.Object
org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI.PaneBorder
- All Implemented Interfaces:
- javax.swing.border.Border
- Enclosing class:
- BasicTaskPaneUI
protected class BasicTaskPaneUI.PaneBorder
- extends java.lang.Object
- implements javax.swing.border.Border
The border of the taskpane group paints the "text", the "icon", the
"expanded" status and the "special" type.
Method Summary |
protected void |
configureLabel(JXTaskPane group)
|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
|
protected java.awt.Color |
getPaintColor(JXTaskPane group)
|
java.awt.Dimension |
getPreferredSize(JXTaskPane group)
Calculates the preferred border size, its size so all its content fits. |
boolean |
isBorderOpaque()
|
protected boolean |
isMouseOverBorder()
Default implementation returns false. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintChevronControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintExpandedControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintFocus(java.awt.Graphics g,
java.awt.Color paintColor,
int x,
int y,
int width,
int height)
|
protected void |
paintOvalAroundControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintRectAroundControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height,
java.awt.Color highColor,
java.awt.Color lowColor)
|
protected void |
paintTitle(JXTaskPane group,
java.awt.Graphics g,
java.awt.Color textColor,
int x,
int y,
int width,
int height)
|
protected void |
paintTitleBackground(JXTaskPane group,
java.awt.Graphics g)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
borderColor
protected java.awt.Color borderColor
titleForeground
protected java.awt.Color titleForeground
specialTitleBackground
protected java.awt.Color specialTitleBackground
specialTitleForeground
protected java.awt.Color specialTitleForeground
titleBackgroundGradientStart
protected java.awt.Color titleBackgroundGradientStart
titleBackgroundGradientEnd
protected java.awt.Color titleBackgroundGradientEnd
titleOver
protected java.awt.Color titleOver
specialTitleOver
protected java.awt.Color specialTitleOver
label
protected javax.swing.JLabel label
BasicTaskPaneUI.PaneBorder
public BasicTaskPaneUI.PaneBorder()
getBorderInsets
public java.awt.Insets getBorderInsets(java.awt.Component c)
- Specified by:
getBorderInsets
in interface javax.swing.border.Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
isBorderOpaque
in interface javax.swing.border.Border
getPreferredSize
public java.awt.Dimension getPreferredSize(JXTaskPane group)
- Calculates the preferred border size, its size so all its content fits.
paintTitleBackground
protected void paintTitleBackground(JXTaskPane group,
java.awt.Graphics g)
paintTitle
protected void paintTitle(JXTaskPane group,
java.awt.Graphics g,
java.awt.Color textColor,
int x,
int y,
int width,
int height)
configureLabel
protected void configureLabel(JXTaskPane group)
paintExpandedControls
protected void paintExpandedControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
getPaintColor
protected java.awt.Color getPaintColor(JXTaskPane group)
paintBorder
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
paintBorder
in interface javax.swing.border.Border
paintRectAroundControls
protected void paintRectAroundControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height,
java.awt.Color highColor,
java.awt.Color lowColor)
paintOvalAroundControls
protected void paintOvalAroundControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintChevronControls
protected void paintChevronControls(JXTaskPane group,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintFocus
protected void paintFocus(java.awt.Graphics g,
java.awt.Color paintColor,
int x,
int y,
int width,
int height)
isMouseOverBorder
protected boolean isMouseOverBorder()
- Default implementation returns false.
- Returns:
- true if this border wants to display things differently when the
mouse is over it
Copyright © 2005 Sun Microsystems All Rights Reserved.