ch.tatool.core.executable
Class QuestionnaireExecutable

java.lang.Object
  extended by ch.tatool.core.element.AbstractPropertyHolder
      extended by ch.tatool.core.element.NodeImpl
          extended by ch.tatool.core.executable.BlockingExecutable
              extended by ch.tatool.core.executable.BlockingAWTExecutable
                  extended by ch.tatool.core.executable.QuestionnaireExecutable
All Implemented Interfaces:
ActionPanelListener, DescriptivePropertyHolder, PropertyHolder, Executable, Node, ExecutionPhaseListener, KeyEventDispatcher

public class QuestionnaireExecutable
extends BlockingAWTExecutable
implements ActionPanelListener, ExecutionPhaseListener, DescriptivePropertyHolder

Questionnaire Displays questions and allows the user to answer.

Author:
Andre Locher

Field Summary
 String stimuliFile
           
 String stimuliPath
           
 
Constructor Summary
QuestionnaireExecutable()
          Default Constructor.
 
Method Summary
 void actionTriggered(ActionPanel source, Object actionValue)
          Called when either of the two action panel choices have been selected.
protected  void cancelExecutionAWT()
          Cleanup after element execution
 Property<?>[] getPropertyObjects()
           
 String getStimuliFile()
           
 String getStimuliPath()
           
 DefaultTimeoutHandler getTimeoutAspect()
           
 void processExecutionPhase(ExecutionContext context)
           
 void readStimuli()
           
 void setStimuliFile(String stimuliFile)
           
 void setStimuliPath(String stimuliPath)
           
 void setTimeoutAspect(DefaultTimeoutHandler timer)
           
 void startExecutionAWT()
          To be implemented.
 
Methods inherited from class ch.tatool.core.executable.BlockingAWTExecutable
cancelExecution, startExecution
 
Methods inherited from class ch.tatool.core.executable.BlockingExecutable
cancel, dispatchKeyEvent, execute, finishExecution, getExecutionContext, getFinishExecutionLock, setExecutionContext
 
Methods inherited from class ch.tatool.core.element.NodeImpl
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParent
 
Methods inherited from class ch.tatool.core.element.AbstractPropertyHolder
clearProperties, getKeys, getProperty, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.tatool.data.PropertyHolder
clearProperties, getId, getKeys, getProperty, removeProperty, setProperty
 
Methods inherited from interface ch.tatool.element.Executable
cancel, execute, setExecutionContext
 
Methods inherited from interface ch.tatool.element.Node
getParent, setParent
 

Field Detail

stimuliFile

public String stimuliFile

stimuliPath

public String stimuliPath
Constructor Detail

QuestionnaireExecutable

public QuestionnaireExecutable()
Default Constructor.

Method Detail

startExecutionAWT

public void startExecutionAWT()
Description copied from class: BlockingAWTExecutable
To be implemented. Called at the start of the executable execution.

Specified by:
startExecutionAWT in class BlockingAWTExecutable

readStimuli

public void readStimuli()

cancelExecutionAWT

protected void cancelExecutionAWT()
Cleanup after element execution

Overrides:
cancelExecutionAWT in class BlockingAWTExecutable

actionTriggered

public void actionTriggered(ActionPanel source,
                            Object actionValue)
Called when either of the two action panel choices have been selected.

Specified by:
actionTriggered in interface ActionPanelListener
actionValue - the value registered with the action panel for the action that got triggered

getPropertyObjects

public Property<?>[] getPropertyObjects()
Specified by:
getPropertyObjects in interface DescriptivePropertyHolder

processExecutionPhase

public void processExecutionPhase(ExecutionContext context)
Specified by:
processExecutionPhase in interface ExecutionPhaseListener

getTimeoutAspect

public DefaultTimeoutHandler getTimeoutAspect()

setTimeoutAspect

public void setTimeoutAspect(DefaultTimeoutHandler timer)

getStimuliFile

public String getStimuliFile()

setStimuliFile

public void setStimuliFile(String stimuliFile)

getStimuliPath

public String getStimuliPath()

setStimuliPath

public void setStimuliPath(String stimuliPath)


Copyright © 2012. All Rights Reserved.