fi.hut.tml.xsmiles.mlfc.xforms.dialog
Class BooleanSpeechWidget

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.dialog.BaseSpeechWidget
      extended byfi.hut.tml.xsmiles.mlfc.xforms.dialog.TriggerSpeechWidget
          extended byfi.hut.tml.xsmiles.mlfc.xforms.dialog.BooleanSpeechWidget
All Implemented Interfaces:
SpeechWidget

public class BooleanSpeechWidget
extends TriggerSpeechWidget

Author:
mpohja

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dialog.BaseSpeechWidget
currentSelectionString, element, focusHandler
 
Constructor Summary
BooleanSpeechWidget(org.w3c.dom.Element e, FocusHandler handler)
           
 
Method Summary
 java.lang.String generateDialogQuestion()
           
 boolean interpretResponse(Response r)
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dialog.TriggerSpeechWidget
generateGrammar
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dialog.BaseSpeechWidget
approximateResponse, determineHTMLElementLabel, findLabelHeuristically, getCurrentValue, getElement, getLabel, getLabel, getLabelForRepeatItem, getLabelForSpeaking, getLabelForSpeaking, getPrompt, getValueAsString, moveFocusToParent, removeNonAlphanumeric
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanSpeechWidget

public BooleanSpeechWidget(org.w3c.dom.Element e,
                           FocusHandler handler)
Parameters:
e -
handler -
Method Detail

generateDialogQuestion

public java.lang.String generateDialogQuestion()
Specified by:
generateDialogQuestion in interface SpeechWidget
Overrides:
generateDialogQuestion in class TriggerSpeechWidget

interpretResponse

public boolean interpretResponse(Response r)
Specified by:
interpretResponse in interface SpeechWidget
Overrides:
interpretResponse in class TriggerSpeechWidget


X-Smiles 1.2