Class FieldDefinitionArray
java.lang.Object
org.web3d.vrml.scripting.ecmascript.builtin.AbstractScriptableObject
org.web3d.vrml.scripting.ecmascript.builtin.FieldDefinitionArray
- All Implemented Interfaces:
org.mozilla.javascript.Scriptable
ProfileInfo miscellaneous object.
- Version:
- $Revision: 1.1 $
- Author:
- Justin Couch
-
Field Summary
Fields inherited from class org.web3d.vrml.scripting.ecmascript.builtin.AbstractScriptableObject
BAD_FORMAT_MSG, dataChanged, INVALID_TYPE_MSG, JS_FUNCTION_PREFIX, readOnly, READONLY_MSGFields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND -
Constructor Summary
ConstructorsConstructorDescriptionFieldDefinitionArray(X3DFieldDefinition[] fields) Construct a profile descriptor for the given information. -
Method Summary
Modifier and TypeMethodDescriptionget(int index, org.mozilla.javascript.Scriptable start) Get the value of the named function.Get the value of the named function.booleanCheck for the named property presence.Methods inherited from class org.web3d.vrml.scripting.ecmascript.builtin.AbstractScriptableObject
delete, delete, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, hasInstance, put, put, setParentScope, setPrototype, setReadOnly
-
Constructor Details
-
FieldDefinitionArray
Construct a profile descriptor for the given information.- Parameters:
fields- our X3D field definitions
-
-
Method Details
-
has
Check for the named property presence.- Specified by:
hasin interfaceorg.mozilla.javascript.Scriptable- Overrides:
hasin classAbstractScriptableObject- Parameters:
name- name of the scriptstart- the script corresponding to the given name- Returns:
- true if it is a defined eventOut or field
-
get
Get the value of the named function. If no function object is registered for this name, the method will return null.- Specified by:
getin interfaceorg.mozilla.javascript.Scriptable- Overrides:
getin classAbstractScriptableObject- Parameters:
name- The variable namestart- The object where the lookup began- Returns:
- the corresponding function object or null
-
get
Get the value of the named function. If no function object is registered for this name, the method will return null.- Specified by:
getin interfaceorg.mozilla.javascript.Scriptable- Overrides:
getin classAbstractScriptableObject- Parameters:
index- The index into the arraystart- The object where the lookup began- Returns:
- the corresponding function object or null
-