com.kitfox.svg.app
Class PlayerThread

java.lang.Object
  extended by com.kitfox.svg.app.PlayerThread
All Implemented Interfaces:
java.lang.Runnable

public class PlayerThread
extends java.lang.Object
implements java.lang.Runnable

Author:
kitfox

Field Summary
static int PS_PLAY_BACK
           
static int PS_PLAY_FWD
           
static int PS_STOP
           
 
Constructor Summary
PlayerThread()
          Creates a new instance of PlayerThread
 
Method Summary
 void addListener(PlayerThreadListener listener)
           
 void exit()
           
 double getCurTime()
           
 int getPlayState()
           
 double getTimeStep()
           
 void run()
           
 void setCurTime(double time)
           
 void setPlayState(int playState)
           
 void setTimeStep(double time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PS_STOP

public static final int PS_STOP
See Also:
Constant Field Values

PS_PLAY_FWD

public static final int PS_PLAY_FWD
See Also:
Constant Field Values

PS_PLAY_BACK

public static final int PS_PLAY_BACK
See Also:
Constant Field Values
Constructor Detail

PlayerThread

public PlayerThread()
Creates a new instance of PlayerThread

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

exit

public void exit()

addListener

public void addListener(PlayerThreadListener listener)

getCurTime

public double getCurTime()

setCurTime

public void setCurTime(double time)

getTimeStep

public double getTimeStep()

setTimeStep

public void setTimeStep(double time)

getPlayState

public int getPlayState()

setPlayState

public void setPlayState(int playState)