Class ComponentInfoArray
java.lang.Object
org.web3d.vrml.scripting.ecmascript.builtin.AbstractScriptableObject
org.web3d.vrml.scripting.ecmascript.x3d.ComponentInfoArray
- All Implemented Interfaces:
org.mozilla.javascript.Scriptable
ProfileInfo miscellaneous object.
- Version:
- $Revision: 1.2 $
- 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_MSG
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
-
Constructor Summary
ConstructorsConstructorDescriptionComponentInfoArray
(ComponentInfo[] components) 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.boolean
Check 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
-
ComponentInfoArray
Construct a profile descriptor for the given information.- Parameters:
components
- an array of type ComponentInfo
-
-
Method Details
-
has
Check for the named property presence.- Specified by:
has
in interfaceorg.mozilla.javascript.Scriptable
- Overrides:
has
in 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:
get
in interfaceorg.mozilla.javascript.Scriptable
- Overrides:
get
in 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:
get
in interfaceorg.mozilla.javascript.Scriptable
- Overrides:
get
in classAbstractScriptableObject
- Parameters:
index
- The index into the arraystart
- The object where the lookup began- Returns:
- the corresponding function object or null
-