Package org.jdesktop.swingx.plaf.windows
Class WindowsTaskPaneUI
- 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.windows.WindowsTaskPaneUI
-
public class WindowsTaskPaneUI extends BasicTaskPaneUI
Windows implementation of the TaskPaneUI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
WindowsTaskPaneUI.XPPaneBorder
The 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 WindowsTaskPaneUI()
-
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
-
-