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.


Constructor Index

 o SCRIDEInstance()
Creates a SCRIDEInstance object.
 o SCRIDEInstance(SCRIDEClassInfo)
Creates an instance of SCRIDEInstance.

Method Index

 o addEditableObject(SCRIDEEditableObject)
Adds an editable object.
 o getClassInfo()
Requests class information about the class of this scriptable object.
 o getEditableObject(String)
Requests the "named" editable object for the scriptable object.
 o getEditableObjects()
Requests editable objects for the scriptable object.
 o getEditableObjs()
Gets the editable objects in a Vector.
 o getName()
Requests the unique name of the scriptable object.
 o putClassInfo(SCRIDEClassInfo)
Sets the reference to the class information tree of the scriptable objects.
 o removeEditableObject(SCRIDEEditableObject)
Removes an editable object.
 o replaceEditableObjs(Vector)
Replaces the editable objects.

Constructors

 o SCRIDEInstance
 public SCRIDEInstance()
Creates a SCRIDEInstance object. This constructor is used for serialization.

 o SCRIDEInstance
 public SCRIDEInstance(SCRIDEClassInfo class_info)
Creates an instance of SCRIDEInstance.

Parameters:
class_info - SCRIDEClassInfo object for the class of scriptable object.

Methods

 o getName
 public abstract String getName()
Requests the unique name of the scriptable object.

Returns:
A string that represents the name of the object.
 o 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.
 o getClassInfo
 public SCRIDEClassInfo getClassInfo()
Requests class information about the class of this scriptable object.

Returns:
The class information of this object.
 o 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.
 o 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.
 o replaceEditableObjs
 public void replaceEditableObjs(Vector new_objs)
Replaces the editable objects.

Parameters:
new_objs - The new editable objects Vector.
 o getEditableObjs
 public Vector getEditableObjs()
Gets the editable objects in a Vector.

Returns:
The Vector of the editable objects.
 o addEditableObject
 public void addEditableObject(SCRIDEEditableObject new_obj)
Adds an editable object.

Parameters:
new_obj - Editable object to be added to this instance.
 o 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