public interface TimeAnimation extends Observable
Modifier and Type | Interface and Description |
---|---|
static interface |
TimeAnimation.TimeAnimationRenderer |
Modifier and Type | Field and Description |
---|---|
static int |
DAY |
static int |
HOUR |
static int |
MILLISECOND |
static int |
MINUTE |
static int |
MONTH |
static int |
PAUSED |
static int |
PLAYING |
static int |
SECOND |
static int |
STOPED |
static int |
WEEK |
static int |
YEAR |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentIteration() |
int |
getCurrentPosition() |
RelativeInterval |
getCurrentTime() |
double |
getFramesPerSecond() |
RelativeInterval |
getInterval() |
int |
getIterations() |
long |
getPauseTime() |
java.lang.String |
getScaleLabel(int scale) |
int |
getStatus() |
java.lang.String |
getStatusLabel(int status) |
long |
getStep() |
long |
getStep(int scale) |
int |
getStepCount() |
int |
getStepScale() |
void |
inferStepScale() |
boolean |
isPlaying()
Return is the animation is playing.
|
void |
pause()
Pauses the animation
|
void |
play()
Play the animation
|
void |
setCurrentPosition(int position) |
void |
setFramesPerSecond(double fps) |
void |
setInterval(RelativeInterval interval) |
void |
setIterations(int iterations) |
void |
setPauseTime(long time) |
void |
setStep(long step) |
void |
setStep(long step,
int scale) |
void |
stop()
Stops the animation
|
addObserver, deleteObserver, deleteObservers
static final int YEAR
static final int MONTH
static final int WEEK
static final int DAY
static final int HOUR
static final int MINUTE
static final int SECOND
static final int MILLISECOND
static final int STOPED
static final int PLAYING
static final int PAUSED
void stop()
void pause()
void play()
boolean isPlaying()
int getStatus()
RelativeInterval getInterval()
void setInterval(RelativeInterval interval)
void inferStepScale()
void setPauseTime(long time)
long getPauseTime()
void setFramesPerSecond(double fps)
double getFramesPerSecond()
long getStep()
int getStepScale()
void setStep(long step)
long getStep(int scale)
void setStep(long step, int scale)
int getStepCount()
RelativeInterval getCurrentTime()
int getCurrentPosition()
void setCurrentPosition(int position)
int getIterations()
void setIterations(int iterations)
int getCurrentIteration()
java.lang.String getStatusLabel(int status)
java.lang.String getScaleLabel(int scale)