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.TransitionAwareUI
Substance-consistent UI delegate for JXTaskPane.
  • Field Details

    • 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.
  • Constructor Details

    • SubstanceTaskPaneUI

      public SubstanceTaskPaneUI(org.jdesktop.swingx.JXTaskPane taskPane)
      Creates a new UI delegate.
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent comp)
    • installListeners

      protected void installListeners()
      Overrides:
      installListeners in class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
    • uninstallListeners

      protected void uninstallListeners()
      Overrides:
      uninstallListeners in class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
    • installDefaults

      protected void installDefaults()
      Overrides:
      installDefaults in class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
    • uninstallUI

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
    • createPaneBorder

      protected Border createPaneBorder()
      Overrides:
      createPaneBorder in class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
    • createContentPaneBorder

      protected Border createContentPaneBorder()
      Overrides:
      createContentPaneBorder in class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI
    • paint

      public void paint(Graphics g, JComponent c)
      Overrides:
      paint in class ComponentUI
    • isInside

      public boolean isInside(MouseEvent me)
      Specified by:
      isInside in interface org.pushingpixels.substance.internal.animation.TransitionAwareUI
    • getTransitionTracker

      public org.pushingpixels.substance.internal.animation.StateTransitionTracker getTransitionTracker()
      Specified by:
      getTransitionTracker in interface org.pushingpixels.substance.internal.animation.TransitionAwareUI
    • getTitleHeight

      protected int getTitleHeight(Component c)
      Overrides:
      getTitleHeight in class org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI