Package org.gvsig.timesupport.animation
Interface TimeAnimation
- All Superinterfaces:
org.gvsig.tools.observer.Observable
public interface TimeAnimation
extends org.gvsig.tools.observer.Observable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintintdoubleintlonggetScaleLabel(int scale) intgetStatusLabel(int status) longgetStep()longgetStep(int scale) intintvoidbooleanReturn is the animation is playing.voidpause()Pauses the animationvoidplay()Play the animationvoidsetCurrentPosition(int position) voidsetFramesPerSecond(double fps) voidsetInterval(RelativeInterval interval) voidsetIterations(int iterations) voidsetPauseTime(long time) voidsetStep(long step) voidsetStep(long step, int scale) voidstop()Stops the animationMethods inherited from interface org.gvsig.tools.observer.Observable
addObserver, deleteObserver, deleteObservers
-
Field Details
-
YEAR
static final int YEAR- See Also:
-
MONTH
static final int MONTH- See Also:
-
WEEK
static final int WEEK- See Also:
-
DAY
static final int DAY- See Also:
-
HOUR
static final int HOUR- See Also:
-
MINUTE
static final int MINUTE- See Also:
-
SECOND
static final int SECOND- See Also:
-
MILLISECOND
static final int MILLISECOND- See Also:
-
STOPED
static final int STOPED- See Also:
-
PLAYING
static final int PLAYING- See Also:
-
PAUSED
static final int PAUSED- See Also:
-
-
Method Details
-
stop
void stop()Stops the animation -
pause
void pause()Pauses the animation -
play
void play()Play the animation -
isPlaying
boolean isPlaying()Return is the animation is playing.- Returns:
-
getStatus
int getStatus() -
getInterval
RelativeInterval getInterval() -
setInterval
-
inferStepScale
void inferStepScale() -
setPauseTime
void setPauseTime(long time) -
getPauseTime
long getPauseTime() -
setFramesPerSecond
void setFramesPerSecond(double fps) -
getFramesPerSecond
double getFramesPerSecond() -
getStep
long getStep() -
getStepScale
int getStepScale() -
setStep
void setStep(long step) -
getStep
long getStep(int scale) -
setStep
void setStep(long step, int scale) -
getStepCount
int getStepCount() -
getCurrentTime
RelativeInterval getCurrentTime() -
getCurrentPosition
int getCurrentPosition() -
setCurrentPosition
void setCurrentPosition(int position) -
getIterations
int getIterations() -
setIterations
void setIterations(int iterations) -
getCurrentIteration
int getCurrentIteration() -
getStatusLabel
-
getScaleLabel
-