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
Paints the JXTaskPane with a gradient in the title bar.
- Author:
- Frederic Lavigne
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected Border
Creates new border for task pane.static ComponentUI
create UIvoid
update
(Graphics g, 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
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint
-
Constructor Details
-
GlossyTaskPaneUI
public GlossyTaskPaneUI()
-
-
Method Details
-
createUI
create UI- Parameters:
c
- JComponent not used- Returns:
- ComponentUI
-
createPaneBorder
Description copied from class:BasicTaskPaneUI
Creates new border for task pane.- Overrides:
createPaneBorder
in classBasicTaskPaneUI
- Returns:
- Fresh border on every call.
-
update
Overriden to paint the background of the component but keeping the rounded corners.- Overrides:
update
in classComponentUI
-