|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectunsw.cse.framescript.GUIBot
public class GUIBot
Opens a simple window for engaging in a conversation using a specified domain.
| Field Summary |
|---|
| Fields inherited from interface unsw.cse.framescript.Conversation |
|---|
AlternateRequest, NoMoreAlternatesResponse |
| Method Summary | |
|---|---|
static GUIBot |
getCurrentBot(Domain d)
Deprecated. 2.1 Replaced by @seeUtils. |
void |
processInput(Pattern input)
Tells the conversation to treat a pattern as user input. |
void |
processInput(java.lang.String input)
Tells the conversation to treat a string as user input. |
void |
processInput(java.lang.String input,
java.lang.String[] alternatives)
Tells the conversation to treat a string as user input. |
void |
sendInput(java.lang.String input)
Deprecated. 2.1 Replaced by @see processInput(String) |
void |
setNoMoreAltsSuffix(Term suffix)
Sets a string that will be returned with the NOMORESALTS response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void sendInput(java.lang.String input)
input - public static GUIBot getCurrentBot(Domain d)
d -
public void processInput(java.lang.String input)
throws FSException
Conversation
processInput in interface ConversationFSException
public void processInput(java.lang.String input,
java.lang.String[] alternatives)
throws FSException
Conversation
processInput in interface ConversationFSException
public void processInput(Pattern input)
throws FSException
Conversation
processInput in interface ConversationFSExceptionpublic void setNoMoreAltsSuffix(Term suffix)
Conversation
setNoMoreAltsSuffix in interface Conversation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||