|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectevalplayer.TimeSlider
public class TimeSlider
Handles the functionality to jump to any time in an animation/exercise.
| Field Summary | |
|---|---|
SimpleOperation |
opProcessing
|
| Constructor Summary | |
|---|---|
TimeSlider(PlayerExercise exercise)
Creates a new TimeSlider |
|
| Method Summary | |
|---|---|
void |
checkAndSendOperationExecutedMessage()
Checks and perform an eventually needed OPERATION_EXECUTED-Message. |
void |
configure()
Configurates the time-slider with the current values of the actual exercise. |
static TimeSlider |
getInstance()
Returns an actual instance of TimeSlider |
javax.swing.JPanel |
getPanel()
Returns a panel that contains a slider to control the time. |
long |
getTime()
Returns the current time-position |
void |
setTime(long t)
Jump to a specified time |
void |
stateChanged(javax.swing.event.ChangeEvent e)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public SimpleOperation opProcessing
| Constructor Detail |
|---|
public TimeSlider(PlayerExercise exercise)
exercise - The current exercise| Method Detail |
|---|
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListenerpublic javax.swing.JPanel getPanel()
public void configure()
public void setTime(long t)
t - time in millisecondspublic long getTime()
public void checkAndSendOperationExecutedMessage()
public static TimeSlider getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||