Package org.jdesktop.swingx.plaf
Class TaskPaneUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.jdesktop.swingx.plaf.TaskPaneUI
- Direct Known Subclasses:
BasicTaskPaneUI
Pluggable UI for
JXTaskPane
.- Author:
- Frederic Lavigne
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAction
(Action action) Called by the component when an action is added to the component through theJXTaskPane.add(Action)
method.Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
Constructor Details
-
TaskPaneUI
public TaskPaneUI()
-
-
Method Details
-
createAction
Called by the component when an action is added to the component through theJXTaskPane.add(Action)
method.The strategie to create the button icon in
AbstractButton.setIconFromAction
is first try Action.LARGE_ICON_KEY, if not exists then use Action.SMALL_ICON- Parameters:
action
- ui action- Returns:
- a component built from the action.
-