Method Summary |
|
native protected static boolean | _getBoolean(int jsRootedValue) |
native protected static int | _getInt(int jsRootedValue) |
native protected static double | _getNumber(int jsRootedValue) |
native protected static String | _getString(int jsRootedValue) |
native protected static String | _getTypeString(int jsRootedValue) |
native protected static DispatchObject | _getWrappedJavaObject(int jsRootedValue) |
native protected static boolean | _isBoolean(int jsRootedValue) |
native protected static boolean | _isInt(int jsRootedValue) |
native protected static boolean | _isJavaScriptObject(int jsRootedValue) |
native protected static boolean | _isJavaScriptString(int jsRootedValue) |
native protected static boolean | _isNull(int jsRootedValue) |
native protected static boolean | _isNumber(int jsRootedValue) |
native protected static boolean | _isString(int jsRootedValue) |
native protected static boolean | _isUndefined(int jsRootedValue) |
native protected static boolean | _isWrappedJavaObject(int jsRootedValue) |
native protected static void | _setBoolean(int jsRootedValue, boolean val) |
native protected static void | _setDouble(int jsRootedValue, double val) |
native protected static void | _setInt(int jsRootedValue, int val) |
native protected static void | _setJsRootedValue(int jsRootedValue, int jsOtherRootedValue) |
native protected static void | _setNull(int jsRootedValue) |
native protected static void | _setString(int jsRootedValue, String val) |
native protected static void | _setUndefined(int jsRootedValue) |
native protected static void | _setWrappedFunction(int jsRootedValue, String methodName, DispatchMethod dispatchMethod) |
native protected static void | _setWrappedJavaObject(int jsRootedValue, DispatchObject val) |
protected JsCleanup | createCleanupObject() Create a cleanup object that will free the underlying JsRootedValue object. |
public boolean | getBoolean() |
public int | getInt() |
public int | getJsRootedValue() Returns the underlying JavaScript object pointer as an integer. |
public double | getNumber() |
public String | getString() |
public String | getTypeString() |
public Object | getWrappedJavaObject() |
public boolean | isBoolean() |
public boolean | isInt() |
public boolean | isJavaScriptObject() |
public boolean | isNull() |
public boolean | isNumber() |
public boolean | isString() |
public boolean | isUndefined() |
public boolean | isWrappedJavaObject() |
public void | setBoolean(boolean val) |
public void | setByte(byte val) |
public void | setChar(char val) |
public void | setDouble(double val) |
public void | setInt(int val) |
public void | setNull() |
public void | setShort(short val) |
public void | setString(String val) |
public void | setUndefined() |
public void | setValue(JsValue other) |
public void | setWrappedFunction(String methodName, DispatchMethod dispatchMethod) Wrap a function call to a Java method in this JavaScript value. |
public void | setWrappedJavaObject(CompilingClassLoader cl, Object val) |