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

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

public class StringOutputWidget
extends StringSpeechWidget

Author:
honkkis

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dialog.BaseSpeechWidget
currentSelectionString, element, focusHandler
 
Constructor Summary
StringOutputWidget(org.w3c.dom.Element e, FocusHandler handler)
           
 
Method Summary
 void generateGrammar(Grammar grammar)
           
 boolean interpretResponse(Response r)
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dialog.StringSpeechWidget
generateDialogQuestion
 
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

StringOutputWidget

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

generateGrammar

public void generateGrammar(Grammar grammar)
Specified by:
generateGrammar in interface SpeechWidget
Overrides:
generateGrammar in class StringSpeechWidget

interpretResponse

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


X-Smiles 1.2