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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TITLE_HEIGHT
protected static int TITLE_HEIGHT
ROUND_HEIGHT
protected static int ROUND_HEIGHT
group
protected JXTaskPane group
mouseOver
protected boolean mouseOver
mouseListener
protected MouseInputListener mouseListener
propertyListener
protected PropertyChangeListener propertyListener
BasicTaskPaneUI
public BasicTaskPaneUI()
createUI
public static ComponentUI createUI(JComponent c)
installUI
public void installUI(JComponent c)
- Overrides:
installUI
in class ComponentUI
installDefaults
protected void installDefaults()
installListeners
protected void installListeners()
installKeyboardActions
protected void installKeyboardActions()
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUI
in class ComponentUI
uninstallListeners
protected void uninstallListeners()
createMouseInputListener
protected MouseInputListener createMouseInputListener()
createPropertyListener
protected PropertyChangeListener createPropertyListener()
isInBorder
protected boolean isInBorder(MouseEvent event)
getTitleHeight
protected final int getTitleHeight()
createPaneBorder
protected Border createPaneBorder()
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
getPreferredSize
in class ComponentUI
createContentPaneBorder
protected Border createContentPaneBorder()
createAction
public Component createAction(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.
ensureVisible
protected void ensureVisible()