public static class BrowserComponent.JSRef extends Object
#execute(java.lang.String, com.codename1.util.Callback)
method. This supports all Javascript primitive types. See BrowserComponent.JSType
for a list of the types.Constructor and Description |
---|
JSRef(String value,
String type)
Creates a new JSRef object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean()
Gets the value as a boolean.
|
double |
getDouble()
Gets teh value as a double.
|
int |
getInt()
Gets the value as an integer.
|
BrowserComponent.JSType |
getJSType()
Returns the type of the value.
|
String |
getValue()
Gets the javascript value as a string.
|
boolean |
isNull()
Checks if the variable is null
|
String |
toString()
Returns a string representation of the object.
|
public String getValue()
public BrowserComponent.JSType getJSType()
public int getInt()
public double getDouble()
public boolean getBoolean()
public String toString()
Object
public boolean isNull()