Package org.jdesktop.swingx.plaf.misc
Class GlossyTaskPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.TaskPaneUI
-
- org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
- org.jdesktop.swingx.plaf.misc.GlossyTaskPaneUI
-
public class GlossyTaskPaneUI extends BasicTaskPaneUI
Paints the JXTaskPane with a gradient in the title bar.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classGlossyTaskPaneUI.GlossyPaneBorderThe border of the taskpane group paints the "text", the "icon", the "expanded" status and the "special" type.-
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
BasicTaskPaneUI.ChevronIcon, BasicTaskPaneUI.ContentPaneBorder, BasicTaskPaneUI.PaneBorder
-
-
Field Summary
-
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
group, mouseListener, mouseOver, propertyListener, roundHeight, titleHeight
-
-
Constructor Summary
Constructors Constructor Description GlossyTaskPaneUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.swing.border.BordercreatePaneBorder()Creates new border for task pane.static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)voidupdate(java.awt.Graphics g, javax.swing.JComponent c)Overriden to paint the background of the component but keeping the rounded corners.-
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
configure, createAction, createContentPaneBorder, createMouseInputListener, createPropertyListener, ensureVisible, getPreferredSize, getRoundHeight, getTitleHeight, installDefaults, installKeyboardActions, installListeners, installUI, isInBorder, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
createPaneBorder
protected javax.swing.border.Border createPaneBorder()
Description copied from class:BasicTaskPaneUICreates new border for task pane.- Overrides:
createPaneBorderin classBasicTaskPaneUI- Returns:
- Fresh border on every call.
-
update
public void update(java.awt.Graphics g, javax.swing.JComponent c)Overriden to paint the background of the component but keeping the rounded corners.- Overrides:
updatein classjavax.swing.plaf.ComponentUI
-
-