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

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.dialog.BaseSpeechWidget
      extended byfi.hut.tml.xsmiles.mlfc.xforms.dialog.GroupSpeechWidget
All Implemented Interfaces:
SpeechWidget
Direct Known Subclasses:
BranchSpeechWidget

public class GroupSpeechWidget
extends BaseSpeechWidget

Author:
honkkis

Field Summary
 org.w3c.dom.Element approximatedNode
           
 boolean approximateMode
           
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dialog.BaseSpeechWidget
currentSelectionString, element, focusHandler
 
Constructor Summary
GroupSpeechWidget(org.w3c.dom.Element e, FocusHandler handler)
           
 
Method Summary
 boolean approximateResponse(Response response)
           
 int closestResponse(Response response, java.util.Vector children)
           
 java.lang.String generateDialogQuestion()
           
 void generateGrammar(Grammar grammar)
           
protected  java.util.Vector getChildFocusPoints()
           
 boolean interpretApproximateResponse(Response response)
           
 boolean interpretResponse(Response response)
           
 
Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.dialog.BaseSpeechWidget
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
 

Field Detail

approximateMode

public boolean approximateMode

approximatedNode

public org.w3c.dom.Element approximatedNode
Constructor Detail

GroupSpeechWidget

public GroupSpeechWidget(org.w3c.dom.Element e,
                         FocusHandler handler)
Method Detail

generateDialogQuestion

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

generateGrammar

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

approximateResponse

public boolean approximateResponse(Response response)
Specified by:
approximateResponse in interface SpeechWidget
Overrides:
approximateResponse in class BaseSpeechWidget

interpretApproximateResponse

public boolean interpretApproximateResponse(Response response)

closestResponse

public int closestResponse(Response response,
                           java.util.Vector children)

interpretResponse

public boolean interpretResponse(Response response)
Specified by:
interpretResponse in interface SpeechWidget
Overrides:
interpretResponse in class BaseSpeechWidget

getChildFocusPoints

protected java.util.Vector getChildFocusPoints()


X-Smiles 1.2