Package org.jdesktop.swingx.plaf.basic
Class BasicTaskPaneContainerUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.TaskPaneContainerUI
-
- org.jdesktop.swingx.plaf.basic.BasicTaskPaneContainerUI
-
public class BasicTaskPaneContainerUI extends TaskPaneContainerUI
Base implementation of theJXTaskPaneContainer
UI.- Author:
- Frederic Lavigne, Karl Schaefer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
BasicTaskPaneContainerUI.VerticalLayoutUIResource
AUIResource
implementation ofVerticalLayout
.
-
Field Summary
Fields Modifier and Type Field Description protected JXTaskPaneContainer
taskPane
The task pane container managed by this UI delegate.
-
Constructor Summary
Constructors Constructor Description BasicTaskPaneContainerUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
taskPane
protected JXTaskPaneContainer taskPane
The task pane container managed by this UI delegate.
-
-
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 classComponentUI
-
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 classComponentUI
-
uninstallDefaults
protected void uninstallDefaults()
Uninstalls the default colors, border, and painter of the task pane container.
-
-