orc.lib.util
Class Prompt

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.sites.Site
          extended by orc.runtime.sites.ThreadedPartialSite
              extended by orc.lib.util.Prompt
All Implemented Interfaces:
Callable

public class Prompt
extends ThreadedPartialSite

A prompt dialog. Publishes the user's response. If the user hits Cancel, publishes nothing.


Field Summary
 
Fields inherited from class orc.runtime.values.Value
futureNotReady
 
Constructor Summary
Prompt()
           
 
Method Summary
 java.lang.Object evaluate(Args args)
           
 Type type()
           
 
Methods inherited from class orc.runtime.sites.ThreadedPartialSite
callSite
 
Methods inherited from class orc.runtime.sites.Site
accept, createCall
 
Methods inherited from class orc.runtime.values.Value
forceArg, forceCall, signal, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Prompt

public Prompt()
Method Detail

evaluate

public java.lang.Object evaluate(Args args)
                          throws TokenException
Specified by:
evaluate in class ThreadedPartialSite
Throws:
TokenException

type

public Type type()
Overrides:
type in class Site