|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI.PaneBorder
protected class BasicTaskPaneUI.PaneBorder
The border of the taskpane group paints the "text", the "icon", the "expanded" status and the "special" type.
Field Summary | |
---|---|
protected Color |
borderColor
|
protected JLabel |
label
|
protected Color |
specialTitleBackground
|
protected Color |
specialTitleForeground
|
protected Color |
specialTitleOver
|
protected Color |
titleBackgroundGradientEnd
|
protected Color |
titleBackgroundGradientStart
|
protected Color |
titleForeground
|
protected Color |
titleOver
|
Constructor Summary | |
---|---|
BasicTaskPaneUI.PaneBorder()
|
Method Summary | |
---|---|
protected void |
configureLabel(JXTaskPane group)
|
Insets |
getBorderInsets(Component c)
Returns the insets of the border. |
protected Color |
getPaintColor(JXTaskPane group)
|
Dimension |
getPreferredSize(JXTaskPane group)
Calculates the preferred border size, its size so all its content fits. |
boolean |
isBorderOpaque()
Returns whether or not the border is opaque. |
protected boolean |
isMouseOverBorder()
Default implementation returns false. |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the specified position and size. |
protected void |
paintChevronControls(JXTaskPane group,
Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintExpandedControls(JXTaskPane group,
Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintFocus(Graphics g,
Color paintColor,
int x,
int y,
int width,
int height)
|
protected void |
paintOvalAroundControls(JXTaskPane group,
Graphics g,
int x,
int y,
int width,
int height)
|
protected void |
paintRectAroundControls(JXTaskPane group,
Graphics g,
int x,
int y,
int width,
int height,
Color highColor,
Color lowColor)
|
protected void |
paintTitle(JXTaskPane group,
Graphics g,
Color textColor,
int x,
int y,
int width,
int height)
|
protected void |
paintTitleBackground(JXTaskPane group,
Graphics g)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Color borderColor
protected Color titleForeground
protected Color specialTitleBackground
protected Color specialTitleForeground
protected Color titleBackgroundGradientStart
protected Color titleBackgroundGradientEnd
protected Color titleOver
protected Color specialTitleOver
protected JLabel label
Constructor Detail |
---|
public BasicTaskPaneUI.PaneBorder()
Method Detail |
---|
public Insets getBorderInsets(Component c)
javax.swing.border.Border
getBorderInsets
in interface Border
c
- the component for which this border insets value appliespublic boolean isBorderOpaque()
javax.swing.border.Border
isBorderOpaque
in interface Border
public Dimension getPreferredSize(JXTaskPane group)
protected void paintTitleBackground(JXTaskPane group, Graphics g)
protected void paintTitle(JXTaskPane group, Graphics g, Color textColor, int x, int y, int width, int height)
protected void configureLabel(JXTaskPane group)
protected void paintExpandedControls(JXTaskPane group, Graphics g, int x, int y, int width, int height)
protected Color getPaintColor(JXTaskPane group)
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height)
javax.swing.border.Border
paintBorder
in interface Border
c
- the component for which this border is being paintedg
- the paint graphicsx
- the x position of the painted bordery
- the y position of the painted borderwidth
- the width of the painted borderheight
- the height of the painted borderprotected void paintRectAroundControls(JXTaskPane group, Graphics g, int x, int y, int width, int height, Color highColor, Color lowColor)
protected void paintOvalAroundControls(JXTaskPane group, Graphics g, int x, int y, int width, int height)
protected void paintChevronControls(JXTaskPane group, Graphics g, int x, int y, int width, int height)
protected void paintFocus(Graphics g, Color paintColor, int x, int y, int width, int height)
protected boolean isMouseOverBorder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |