swingx
Version 2009-07-31

org.jdesktop.swingx.plaf.basic
Class BasicTaskPaneContainerUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.jdesktop.swingx.plaf.TaskPaneContainerUI
              extended by org.jdesktop.swingx.plaf.basic.BasicTaskPaneContainerUI

public class BasicTaskPaneContainerUI
extends TaskPaneContainerUI

Base implementation of the JXTaskPaneContainer UI.


Nested Class Summary
protected  class BasicTaskPaneContainerUI.VerticalLayoutUIResource
          A UIResource implementation of VerticalLayout.
 
Field Summary
protected  JXTaskPaneContainer taskPane
          The task pane container managed by this UI delegate.
 
Constructor Summary
BasicTaskPaneContainerUI()
           
 
Method Summary
protected  LayoutManager createDefaultLayout()
          Constructs a layout manager to be used by the Look and Feel.
static ComponentUI createUI(JComponent c)
          Returns a new instance of BasicTaskPaneContainerUI.
protected  void installDefaults()
          Installs the default colors, border, and painter of the task pane container.
 void installUI(JComponent c)
          
protected  void uninstallDefaults()
          Uninstalls the default colors, border, and painter of the task pane container.
 void uninstallUI(JComponent c)
          
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskPane

protected JXTaskPaneContainer taskPane
The task pane container managed by this UI delegate.

Constructor Detail

BasicTaskPaneContainerUI

public BasicTaskPaneContainerUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Returns a new instance of BasicTaskPaneContainerUI. BasicTaskPaneContainerUI delegates are allocated one per JXTaskPaneContainer.

Returns:
A new TaskPaneContainerUI implementation for the Basic look and feel.

installUI

public void installUI(JComponent c)

Overrides:
installUI in class ComponentUI

installDefaults

protected void installDefaults()
Installs the default colors, border, and painter of the task pane container.


createDefaultLayout

protected LayoutManager createDefaultLayout()
Constructs a layout manager to be used by the Look and Feel.

Returns:
the layout manager for the current Look and Feel

uninstallUI

public void uninstallUI(JComponent c)

Overrides:
uninstallUI in class ComponentUI

uninstallDefaults

protected void uninstallDefaults()
Uninstalls the default colors, border, and painter of the task pane container.


swingx
Version 2009-07-31