public class ScriptableParameter extends BaseScriptable implements org.mozilla.javascript.Wrapper
Modifier and Type | Class and Description |
---|---|
static class |
ScriptableParameter.JsValueCallable |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FIELD_DISPLAY_TEXT |
static java.lang.String |
FIELD_VALUE |
Constructor and Description |
---|
ScriptableParameter(java.util.Map parameters,
java.lang.String parameterName,
org.mozilla.javascript.Scriptable parent) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String name,
org.mozilla.javascript.Scriptable scope) |
java.lang.String |
getClassName() |
java.lang.Object |
getDefaultValue(java.lang.Class hint) |
boolean |
has(java.lang.String name,
org.mozilla.javascript.Scriptable scope) |
void |
put(java.lang.String name,
org.mozilla.javascript.Scriptable scope,
java.lang.Object value) |
java.lang.Object |
unwrap() |
delete, delete, get, getIds, getParentScope, getPrototype, has, hasInstance, put, setParentScope, setPrototype
public static final java.lang.String FIELD_VALUE
public static final java.lang.String FIELD_DISPLAY_TEXT
public ScriptableParameter(java.util.Map parameters, java.lang.String parameterName, org.mozilla.javascript.Scriptable parent)
public java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable scope)
get
in interface org.mozilla.javascript.Scriptable
public java.lang.Object getDefaultValue(java.lang.Class hint)
getDefaultValue
in interface org.mozilla.javascript.Scriptable
getDefaultValue
in class BaseScriptable
public boolean has(java.lang.String name, org.mozilla.javascript.Scriptable scope)
has
in interface org.mozilla.javascript.Scriptable
public void put(java.lang.String name, org.mozilla.javascript.Scriptable scope, java.lang.Object value)
put
in interface org.mozilla.javascript.Scriptable
public java.lang.String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
public java.lang.Object unwrap()
unwrap
in interface org.mozilla.javascript.Wrapper
Copyright © 2014 OpenText Corp. All rights reserved.