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 BorderCreates new border for task pane.static ComponentUIcreate UIvoidupdate(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, uninstallUIMethods 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:BasicTaskPaneUICreates new border for task pane.- Overrides:
createPaneBorderin classBasicTaskPaneUI- Returns:
- Fresh border on every call.
-
update
Overriden to paint the background of the component but keeping the rounded corners.- Overrides:
updatein classComponentUI
-