Class ComponentInfo
java.lang.Object
org.web3d.vrml.scripting.ecmascript.builtin.AbstractScriptableObject
org.web3d.vrml.scripting.ecmascript.x3d.ComponentInfo
- All Implemented Interfaces:
org.mozilla.javascript.Scriptable
ProfileInfo miscellaneous object.
- Version:
- $Revision: 1.3 $
- 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
ConstructorsConstructorDescriptionComponentInfo
(String name, int level, String title, String url) Construct a component descriptor for the given information.ComponentInfo
(ComponentInfo info) Construct a component descriptor based on the internal representation of same. -
Method Summary
Methods inherited from class org.web3d.vrml.scripting.ecmascript.builtin.AbstractScriptableObject
delete, delete, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, hasInstance, put, put, setParentScope, setPrototype, setReadOnly
-
Constructor Details
-
ComponentInfo
-
ComponentInfo
Construct a component descriptor based on the internal representation of same.- Parameters:
info
- The description of the component to use
-
-
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
-