josx.vision
Class Recorder

java.lang.Object
  extended byjava.lang.Thread
      extended byjosx.vision.Recorder

public class Recorder
extends Thread

Video recorder


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Recorder(String filename, int millis)
          Create the recorder.
 
Method Summary
 void controllerUpdate(ControllerEvent evt)
          Controller Listener.
 boolean playToEndOfMedia(int timeOutMillis)
           
 void run()
           
static void stopRecording()
           
 
Methods inherited from class java.lang.Thread
currentThread, getPriority, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, setDaemon, setPriority, sleep, start, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Constructor Detail

Recorder

public Recorder(String filename,
                int millis)
Create the recorder.

Method Detail

stopRecording

public static void stopRecording()

run

public void run()
Specified by:
run in class Thread

controllerUpdate

public void controllerUpdate(ControllerEvent evt)
Controller Listener.


playToEndOfMedia

public boolean playToEndOfMedia(int timeOutMillis)