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/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.Border
createPaneBorder()
Creates new border for task pane.static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
void
update(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:BasicTaskPaneUI
Creates new border for task pane.- Overrides:
createPaneBorder
in 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:
update
in classjavax.swing.plaf.ComponentUI
-
-