org.jdesktop.swingx.plaf.nimbus
Class NimbusTaskPaneUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.jdesktop.swingx.plaf.TaskPaneUI
              extended by org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
                  extended by org.jdesktop.swingx.plaf.nimbus.NimbusTaskPaneUI

public class NimbusTaskPaneUI
extends BasicTaskPaneUI

Nimbus implementation of the JXTaskPane UI.


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
NimbusTaskPaneUI()
           
 
Method Summary
protected  Border createPaneBorder()
          Creates new border for task pane.
static ComponentUI createUI(JComponent c)
           
 void 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NimbusTaskPaneUI

public NimbusTaskPaneUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

createPaneBorder

protected Border createPaneBorder()
Description copied from class: BasicTaskPaneUI
Creates new border for task pane.

Overrides:
createPaneBorder in class BasicTaskPaneUI
Returns:
Fresh border on every call.

update

public void update(Graphics g,
                   JComponent c)
Overriden to paint the background of the component but keeping the rounded corners.

Overrides:
update in class ComponentUI
Parameters:
g - the Graphics context in which to paint
c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent), JComponent.paintComponent(java.awt.Graphics)