|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnimatingTree<P extends NodeProperties>
The AnimatingTree interface extends DrawingTree because all AnimatingTrees must be drawable.
The interface simply inforces the defining of numerous methods which allow for the animating of
the Tree onto a given Graphics2D. The interface also defines many mutator and accesor
methods for information concerning the animating of the AnimatingTree
| Method Summary | |
|---|---|
void |
addAnimator(Animation a)
Adds an animation to the current node. |
Animation |
getAnimator()
Gets the first Animation of the node. |
boolean |
isNodeAnimating()
Returns true if the node is animating. |
| Methods inherited from interface edu.princeton.cs.algs4.growingtree.framework.DrawingTree |
|---|
drawNode, drawNode, drawNode, drawNodeAndLink, drawNodeAndLink, drawNodeAndLink, getCurrentTransform, getDrawingLevel, getScreenBounds, getSectionHeight, getSettings, setScreenBounds, setSettings |
| Methods inherited from interface edu.princeton.cs.algs4.growingtree.framework.Tree |
|---|
getChildren, getKey, getLevel, getParentTree, getValue, isEmpty, size |
| Method Detail |
|---|
boolean isNodeAnimating()
void addAnimator(Animation a)
a - the Animation being added to the node.Animation getAnimator()
Animation of the node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||