R3Action Interface Reference

Inheritance diagram for R3Action:

DisplayGraphicsAction OpenFileAction OpenURL2Action OpenURLAction PlaySoundAction ProcessInformationAction RobotAction RunAppAction RunJavaAppAction TextToSpeechAction List of all members.

Public Member Functions

void invoke ()
 Invoke this action on the local machine.
String toString ()

Detailed Description

R3 Actions encompass high-level actions that can be invoked as the result of an event handler. They can be arbitrarily complex, but the prepackaged R3Actions will be simple ones, like opening a default browser, or playing a sound.

One nice thing about R3 Actions is that they can be sent across the wire to a remote action server. That means we can make an auxiliary device listen for actions and invoke them.

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 20 of file R3Action.java.


Member Function Documentation

void invoke (  ) 

Invoke this action on the local machine.

If you want to invoke this on a remote machine, you will need to send it across the wire. That machine will then unserialize the action object and call invoke() on ITS local machine.

Implemented in DisplayGraphicsAction, OpenFileAction, OpenURL2Action, OpenURLAction, PlaySoundAction, ProcessInformationAction, RobotAction, RunAppAction, RunJavaAppAction, and TextToSpeechAction.

Referenced by ActionHandler.receivedAction().

String toString (  ) 

Returns:
a description of the action.

Implemented in ProcessInformationAction.

Referenced by ActionPlainTextMessenger.getMessage().


The documentation for this interface was generated from the following file:
Generated on Sat Apr 14 18:21:40 2007 for R3 Paper Toolkit by  doxygen 1.4.7