org.jdesktop.swingx.plaf.basic
Class BasicTaskPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.jdesktop.swingx.plaf.TaskPaneUI
org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
- Direct Known Subclasses:
- GlossyTaskPaneUI, MetalTaskPaneUI, WindowsClassicTaskPaneUI, WindowsTaskPaneUI
public class BasicTaskPaneUI
- extends TaskPaneUI
Base implementation of the JXTaskPane
UI.
- Author:
- Frederic Lavigne
Method Summary |
java.awt.Component |
createAction(javax.swing.Action action)
Called by the component when an action is added to the component through
the JXTaskPane.add(Action) method. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
void |
installUI(javax.swing.JComponent c)
|
void |
uninstallUI(javax.swing.JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicTaskPaneUI
public BasicTaskPaneUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
-
- Overrides:
installUI
in class javax.swing.plaf.ComponentUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.ComponentUI
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSize
in class javax.swing.plaf.ComponentUI
createAction
public java.awt.Component createAction(javax.swing.Action action)
- Description copied from class:
TaskPaneUI
- Called by the component when an action is added to the component through
the
JXTaskPane.add(Action)
method.
- Overrides:
createAction
in class TaskPaneUI
- Returns:
- a component built from the action.