yakkey
Class SpeechTrigger

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--yakkey.SpeechTrigger
All Implemented Interfaces:
java.lang.Runnable, TriggerInterface

public class SpeechTrigger
extends java.lang.Thread
implements TriggerInterface


Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SpeechTrigger(YakScript _yakscript)
           
 
Method Summary
 void run()
           
 void startTrigger(java.lang.String name)
          Allow trigger events
 void stopTrigger(java.lang.String name)
          Stop trigger events
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpeechTrigger

public SpeechTrigger(YakScript _yakscript)
Method Detail

startTrigger

public void startTrigger(java.lang.String name)
Description copied from interface: TriggerInterface
Allow trigger events
Specified by:
startTrigger in interface TriggerInterface
Following copied from interface: yakscript.TriggerInterface
Parameters:
Name - of event group to activate

stopTrigger

public void stopTrigger(java.lang.String name)
Description copied from interface: TriggerInterface
Stop trigger events
Specified by:
stopTrigger in interface TriggerInterface
Following copied from interface: yakscript.TriggerInterface
Parameters:
Name - of event group to deactivate

run

public void run()
Overrides:
run in class java.lang.Thread