Class CellTree.NodeAnimation

    • Constructor Detail

      • NodeAnimation

        NodeAnimation()
    • Method Detail

      • getDuration

        public int getDuration()
        Return the duration of the animation in milliseconds.
        See Also:
        setDuration(int)
      • setDuration

        public void setDuration​(int duration)
        Set the duration of the animation in milliseconds.
        Parameters:
        duration - the duration in milliseconds
        See Also:
        getDuration()
      • animate

        abstract void animate​(CellTreeNodeView<?> node,
                              boolean isAnimationEnabled)
        Animate a tree node into its new state.
        Parameters:
        node - the node to animate
        isAnimationEnabled - true to animate