Package snap.viewx

Class TransitionPane

All Implemented Interfaces:
PropChange.DoChange, XMLArchiver.Archivable

public class TransitionPane extends ParentView
A panel that lets you set a view and have the old one transition out.
  • Field Details

  • Constructor Details

    • TransitionPane

      public TransitionPane()
      Creates a TransitionPane.
  • Method Details

    • getContent

      public View getContent()
      Returns the content node.
    • setContent

      public void setContent(View aView)
      Sets a new content node.
    • getTransition

      public TransitionPane.Transition getTransition()
      Returns the current transition.
    • setTransition

      public void setTransition(TransitionPane.Transition aTrans)
      Sets the current transition.
    • getPrefWidthImpl

      protected double getPrefWidthImpl(double aH)
      Override to return preferred width of content.
      Overrides:
      getPrefWidthImpl in class View
    • getPrefHeightImpl

      protected double getPrefHeightImpl(double aW)
      Override to return preferred height of content.
      Overrides:
      getPrefHeightImpl in class View
    • layoutImpl

      protected void layoutImpl()
      Override to layout content.
      Overrides:
      layoutImpl in class ParentView