|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.anim.MockAnimationObject
public class MockAnimationObject
Mock for animation object tests.
Constructor Summary | |
---|---|
MockAnimationObject(long preferredDuration)
|
Method Summary | |
---|---|
void |
calcFrame(double time)
Calculates the animation frame for the specified point in time. |
void |
disposeAnimation()
Disposes the animation object. |
long |
getMillis()
|
double |
getTime()
|
void |
initAnimation()
Initializes the animation object. |
boolean |
isDisposed()
|
boolean |
isInitialized()
|
long |
preferredDuration()
Returns the preferred animation length in milliseconds that the display of all provided animation frames should last. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockAnimationObject(long preferredDuration)
Method Detail |
---|
public void initAnimation()
initAnimation
in interface AnimationObject
public void calcFrame(double time)
calcFrame
in interface AnimationObject
time
- a point in [0.0, 1.0]public void disposeAnimation()
disposeAnimation
in interface AnimationObject
public long preferredDuration()
preferredDuration
in interface AnimationObject
public boolean isInitialized()
public boolean isDisposed()
public double getTime()
public long getMillis()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |