echopointng.command
Class JavaScriptEval

java.lang.Object
  extended by echopointng.command.JavaScriptEval
All Implemented Interfaces:
Command

public class JavaScriptEval
extends java.lang.Object
implements Command

JavaScriptEval can be used to eval some arbitary JavaScript on the client.

The javascript must be in a form ready for the eval() function.


Constructor Summary
JavaScriptEval(java.lang.String javaScript)
          Constructs a JavaScriptEval
 
Method Summary
 java.lang.String getJavaScript()
           
 void setJavaScript(java.lang.String newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptEval

public JavaScriptEval(java.lang.String javaScript)
Constructs a JavaScriptEval

Parameters:
javaScript - - the JavaScript text to eval
Method Detail

getJavaScript

public java.lang.String getJavaScript()
Returns:
Returns the javaScript.

setJavaScript

public void setJavaScript(java.lang.String newValue)
Parameters:
newValue - - The javaScript to set.