All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.script.ide.SCRIDEEditableObject

java.lang.Object
   |
   +----com.ibm.beans.script.ide.SCRIDEEditableObject

public abstract class SCRIDEEditableObject
extends Object
implements Serializable
The SCRIDE Editable Object Class is for objects that store editable scripts. Ideally each instance represents an event handler or event handling script of a scriptable object.


Constructor Index

 o SCRIDEEditableObject(String, String)
Creates an instance of the SCRIDE Editable class.

Method Index

 o getCodeText()
Requests code text from the editable object.
 o getEventName()
Requests the event name from the editable object.
 o getLastChange()
Gets the last change time.
 o getTitle()
Requests the title from the editable object.
 o setCodeText(String)
Sets the code or script for this editable object.
 o setLastChange()
Sets the last change time by calling the getTime method of a Date object.

Constructors

 o SCRIDEEditableObject
 public SCRIDEEditableObject(String event_name,
                             String code_text)
Creates an instance of the SCRIDE Editable class.

Parameters:
event_name - The event fired by the scriptable object for which the script is written.
code_text - Script text.

Methods

 o getCodeText
 public String getCodeText()
Requests code text from the editable object.

Returns:
A string that represents the code text of this editable object.
 o setCodeText
 public boolean setCodeText(String text)
Sets the code or script for this editable object.

Parameters:
text - The text for this script.
Returns:
true if the code or script is set in the editable object; false otherwise.
 o getTitle
 public abstract String getTitle()
Requests the title from the editable object.

Returns:
A string that represents the title of this editable object.
 o getEventName
 public String getEventName()
Requests the event name from the editable object.

Returns:
A string that represents the event name of this editable object.
 o getLastChange
 public long getLastChange()
Gets the last change time.

Returns:
true the time of the last change.
 o setLastChange
 public void setLastChange()
Sets the last change time by calling the getTime method of a Date object.


All Packages  Class Hierarchy  This Package  Previous  Next  Index