|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspeech.DialogBranch
public class DialogBranch
This class represents a branch of a dialog
Constructor Summary | |
---|---|
DialogBranch(int id,
java.lang.String question,
Talk talkAction)
Creates a new dialog branch with the specified talk action. |
Method Summary | |
---|---|
java.lang.String |
getAssociatedQuestion()
Returns the question that is associated to this dialog branch. |
int |
getID()
Returns the id of the dialog branch |
Talk |
getTalkAction()
Returns the talk action of the dialog branch |
boolean |
isExcluded()
Returns whether the dialog branch is to be excluded from showing in the question selection area |
void |
setExclude(boolean exclude)
Returns whether the dialog branch is to be excluded from showing in the question selection area |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DialogBranch(int id, java.lang.String question, Talk talkAction)
id
- id of the dialog branchtalkAction
- talk action for the dialog branchMethod Detail |
---|
public int getID()
public boolean isExcluded()
public void setExclude(boolean exclude)
exclude
- exclude from selection area? --> true=yes, false=nopublic java.lang.String getAssociatedQuestion()
public Talk getTalkAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |