Class SubstanceTaskPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.TaskPaneUI
-
- org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
- org.pushingpixels.substance.swingx.SubstanceTaskPaneUI
-
- All Implemented Interfaces:
org.pushingpixels.substance.internal.animation.TransitionAwareUI
public class SubstanceTaskPaneUI extends org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI implements org.pushingpixels.substance.internal.animation.TransitionAwareUISubstance-consistent UI delegate forJXTaskPane.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classSubstanceTaskPaneUI.SubstancePaneBorderPane border for task pane.
-
Field Summary
Fields Modifier and Type Field Description protected org.pushingpixels.substance.internal.animation.StateTransitionTrackerstateTransitionTrackerListener for transition animations.protected ButtonModeltaskPaneModelSurrogate model for the fade effects on the title pane border.
-
Constructor Summary
Constructors Constructor Description SubstanceTaskPaneUI(org.jdesktop.swingx.JXTaskPane taskPane)Creates a new UI delegate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BordercreateContentPaneBorder()protected BordercreatePaneBorder()static ComponentUIcreateUI(JComponent comp)protected intgetTitleHeight(Component c)org.pushingpixels.substance.internal.animation.StateTransitionTrackergetTransitionTracker()protected voidinstallDefaults()protected voidinstallListeners()booleanisInside(MouseEvent me)voidpaint(Graphics g, JComponent c)protected voiduninstallListeners()voiduninstallUI(JComponent c)-
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
configure, createAction, createMouseInputListener, createPropertyListener, ensureVisible, getPreferredSize, getRoundHeight, installKeyboardActions, installUI, isInBorder
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, update
-
-
-
-
Field Detail
-
stateTransitionTracker
protected org.pushingpixels.substance.internal.animation.StateTransitionTracker stateTransitionTracker
Listener for transition animations.
-
taskPaneModel
protected ButtonModel taskPaneModel
Surrogate model for the fade effects on the title pane border.
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent comp)
-
installListeners
protected void installListeners()
- Overrides:
installListenersin classorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
uninstallListeners
protected void uninstallListeners()
- Overrides:
uninstallListenersin classorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
installDefaults
protected void installDefaults()
- Overrides:
installDefaultsin classorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUIin classorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
createPaneBorder
protected Border createPaneBorder()
- Overrides:
createPaneBorderin classorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
createContentPaneBorder
protected Border createContentPaneBorder()
- Overrides:
createContentPaneBorderin classorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paintin classComponentUI
-
isInside
public boolean isInside(MouseEvent me)
- Specified by:
isInsidein interfaceorg.pushingpixels.substance.internal.animation.TransitionAwareUI
-
getTransitionTracker
public org.pushingpixels.substance.internal.animation.StateTransitionTracker getTransitionTracker()
- Specified by:
getTransitionTrackerin interfaceorg.pushingpixels.substance.internal.animation.TransitionAwareUI
-
getTitleHeight
protected int getTitleHeight(Component c)
- Overrides:
getTitleHeightin classorg.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
-
-