Class ProfileInfo
java.lang.Object
org.web3d.vrml.scripting.ecmascript.builtin.AbstractScriptableObject
org.web3d.vrml.scripting.ecmascript.x3d.ProfileInfo
- 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
ConstructorsConstructorDescriptionProfileInfo
(String name, String title, String url, ComponentInfoArray comps) Construct a profile descriptor for the given information.ProfileInfo
(ProfileInfo 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
-
ProfileInfo
Construct a profile descriptor for the given information.- Parameters:
name
- The name of this componenttitle
- An arbitrary title stringurl
- An optional provider urlcomps
- our Component info array
-
ProfileInfo
Construct a component descriptor based on the internal representation of same.- Parameters:
info
- The description of the component to use
-
-
Method Details
-
has
Description copied from class:AbstractScriptableObject
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
-