All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.script.ide.SCRIDEInstance
java.lang.Object
|
+----com.ibm.beans.script.ide.SCRIDEInstance
- public abstract class SCRIDEInstance
- extends Object
- implements Serializable
The Scripting IDE Instance Class.
This class is used only if the IDE provided with this scripting engine
is used. An instance of this class stores information about each
scriptable object that can be used by the IDE browser.
-
SCRIDEInstance()
- Creates a SCRIDEInstance object.
-
SCRIDEInstance(SCRIDEClassInfo)
- Creates an instance of SCRIDEInstance.
-
addEditableObject(SCRIDEEditableObject)
- Adds an editable object.
-
getClassInfo()
- Requests class information about the class of this scriptable object.
-
getEditableObject(String)
- Requests the "named" editable object for the scriptable object.
-
getEditableObjects()
- Requests editable objects for the scriptable object.
-
getEditableObjs()
- Gets the editable objects in a Vector.
-
getName()
- Requests the unique name of the scriptable object.
-
putClassInfo(SCRIDEClassInfo)
- Sets the reference to the class information tree of the scriptable objects.
-
removeEditableObject(SCRIDEEditableObject)
- Removes an editable object.
-
replaceEditableObjs(Vector)
- Replaces the editable objects.
SCRIDEInstance
public SCRIDEInstance()
- Creates a SCRIDEInstance object. This constructor is used for serialization.
SCRIDEInstance
public SCRIDEInstance(SCRIDEClassInfo class_info)
- Creates an instance of SCRIDEInstance.
- Parameters:
- class_info - SCRIDEClassInfo object for the class of scriptable object.
getName
public abstract String getName()
- Requests the unique name of the scriptable object.
- Returns:
- A string that represents the name of the object.
putClassInfo
public void putClassInfo(SCRIDEClassInfo cls_info)
- Sets the reference to the class information tree of the scriptable objects.
- Parameters:
- cls_info - The class information tree of the scriptable objects.
getClassInfo
public SCRIDEClassInfo getClassInfo()
- Requests class information about the class of this scriptable object.
- Returns:
- The class information of this object.
getEditableObjects
public SCRIDEEditableObject[] getEditableObjects()
- Requests editable objects for the scriptable object.
Editable objects such as methods or events are the ones
for which scripting code is written.
- Returns:
- An array of editable SCRIDE objects.
getEditableObject
public SCRIDEEditableObject getEditableObject(String eventName)
- Requests the "named" editable object for the scriptable object.
This method returns the editable object with the matching
eventName.
- Parameters:
- eventName - The eventName of the editableObject.
- Returns:
- SCRIDEEditableObject with the corresponding eventName or null
if there is no matching SCRIDEEditableObject.
replaceEditableObjs
public void replaceEditableObjs(Vector new_objs)
- Replaces the editable objects.
- Parameters:
- new_objs - The new editable objects Vector.
getEditableObjs
public Vector getEditableObjs()
- Gets the editable objects in a Vector.
- Returns:
- The Vector of the editable objects.
addEditableObject
public void addEditableObject(SCRIDEEditableObject new_obj)
- Adds an editable object.
- Parameters:
- new_obj - Editable object to be added to this instance.
removeEditableObject
public void removeEditableObject(SCRIDEEditableObject obj)
- Removes an editable object.
- Parameters:
- obj - Editable object to be removed from this instance.
All Packages Class Hierarchy This Package Previous Next Index