unsw.cse.framescript
Class GUIBot

java.lang.Object
  extended by unsw.cse.framescript.GUIBot
All Implemented Interfaces:
Conversation

public class GUIBot
extends java.lang.Object
implements Conversation

Opens a simple window for engaging in a conversation using a specified domain.

Author:
mmcgill

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

sendInput

public void sendInput(java.lang.String input)
Deprecated. 2.1 Replaced by @see processInput(String)

Parameters:
input -

getCurrentBot

public static GUIBot getCurrentBot(Domain d)
Deprecated. 2.1 Replaced by @seeUtils.

Parameters:
d -
Returns:

processInput

public void processInput(java.lang.String input)
                  throws FSException
Description copied from interface: Conversation
Tells the conversation to treat a string as user input.

Specified by:
processInput in interface Conversation
Throws:
FSException

processInput

public void processInput(java.lang.String input,
                         java.lang.String[] alternatives)
                  throws FSException
Description copied from interface: Conversation
Tells the conversation to treat a string as user input. Alternative inputs can provided for scripts that are designed to used them.

Specified by:
processInput in interface Conversation
Throws:
FSException

processInput

public void processInput(Pattern input)
                  throws FSException
Description copied from interface: Conversation
Tells the conversation to treat a pattern as user input.

Specified by:
processInput in interface Conversation
Throws:
FSException

setNoMoreAltsSuffix

public void setNoMoreAltsSuffix(Term suffix)
Description copied from interface: Conversation
Sets a string that will be returned with the NOMORESALTS response.

Specified by:
setNoMoreAltsSuffix in interface Conversation