Class TimeAnimationImpl
java.lang.Object
org.gvsig.timesupport.impl.animation.TimeAnimationImpl
- All Implemented Interfaces:
Runnable,org.gvsig.timesupport.animation.TimeAnimation,org.gvsig.tools.observer.Observable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gvsig.timesupport.animation.TimeAnimation
org.gvsig.timesupport.animation.TimeAnimation.TimeAnimationRenderer -
Field Summary
Fields inherited from interface org.gvsig.timesupport.animation.TimeAnimation
DAY, HOUR, MILLISECOND, MINUTE, MONTH, PAUSED, PLAYING, SECOND, STOPED, WEEK, YEAR -
Constructor Summary
ConstructorsConstructorDescriptionTimeAnimationImpl(org.gvsig.timesupport.animation.TimeAnimation.TimeAnimationRenderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddObserver(org.gvsig.tools.observer.Observer obsrvr) voiddeleteObserver(org.gvsig.tools.observer.Observer obsrvr) voidintintorg.gvsig.timesupport.RelativeIntervaldoubleorg.gvsig.timesupport.RelativeIntervalintlonggetScaleLabel(int scale) intgetStatusLabel(int status) longgetStep()longgetStep(int scale) intintvoidbooleanvoidpause()voidplay()voidrun()voidsetCurrentPosition(int position) voidsetFramesPerSecond(double fps) voidsetInterval(org.gvsig.timesupport.RelativeInterval interval) voidsetIterations(int iterations) voidsetPauseTime(long time) voidsetStep(long step) voidsetStep(long step, int scale) voidstop()
-
Constructor Details
-
TimeAnimationImpl
public TimeAnimationImpl(org.gvsig.timesupport.animation.TimeAnimation.TimeAnimationRenderer renderer)
-
-
Method Details
-
addObserver
public void addObserver(org.gvsig.tools.observer.Observer obsrvr) - Specified by:
addObserverin interfaceorg.gvsig.tools.observer.Observable
-
deleteObserver
public void deleteObserver(org.gvsig.tools.observer.Observer obsrvr) - Specified by:
deleteObserverin interfaceorg.gvsig.tools.observer.Observable
-
deleteObservers
public void deleteObservers()- Specified by:
deleteObserversin interfaceorg.gvsig.tools.observer.Observable
-
getInterval
public org.gvsig.timesupport.RelativeInterval getInterval()- Specified by:
getIntervalin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
setInterval
public void setInterval(org.gvsig.timesupport.RelativeInterval interval) - Specified by:
setIntervalin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getStep
public long getStep()- Specified by:
getStepin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
setStep
public void setStep(long step) - Specified by:
setStepin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getStep
public long getStep(int scale) - Specified by:
getStepin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getStepScale
public int getStepScale()- Specified by:
getStepScalein interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
setStep
public void setStep(long step, int scale) - Specified by:
setStepin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
setFramesPerSecond
public void setFramesPerSecond(double fps) - Specified by:
setFramesPerSecondin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getFramesPerSecond
public double getFramesPerSecond()- Specified by:
getFramesPerSecondin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
setPauseTime
public void setPauseTime(long time) - Specified by:
setPauseTimein interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getPauseTime
public long getPauseTime()- Specified by:
getPauseTimein interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getIterations
public int getIterations()- Specified by:
getIterationsin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
setIterations
public void setIterations(int iterations) - Specified by:
setIterationsin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getCurrentPosition
public int getCurrentPosition()- Specified by:
getCurrentPositionin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
setCurrentPosition
public void setCurrentPosition(int position) - Specified by:
setCurrentPositionin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getCurrentIteration
public int getCurrentIteration()- Specified by:
getCurrentIterationin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getStepCount
public int getStepCount()- Specified by:
getStepCountin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getCurrentTime
public org.gvsig.timesupport.RelativeInterval getCurrentTime()- Specified by:
getCurrentTimein interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
isPlaying
public boolean isPlaying()- Specified by:
isPlayingin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
stop
public void stop()- Specified by:
stopin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
pause
public void pause()- Specified by:
pausein interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
play
public void play()- Specified by:
playin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
run
public void run() -
inferStepScale
public void inferStepScale()- Specified by:
inferStepScalein interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getStatusLabel
- Specified by:
getStatusLabelin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-
getScaleLabel
- Specified by:
getScaleLabelin interfaceorg.gvsig.timesupport.animation.TimeAnimation
-