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.
-
SCRIDEEditableObject(String, String)
- Creates an instance of the SCRIDE Editable class.
-
getCodeText()
- Requests code text from the editable object.
-
getEventName()
- Requests the event name from the editable object.
-
getLastChange()
- Gets the last change time.
-
getTitle()
- Requests the title from the editable object.
-
setCodeText(String)
- Sets the code or script for this editable object.
-
setLastChange()
- Sets the last change time by calling the getTime method of a Date object.
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.
getCodeText
public String getCodeText()
- Requests code text from the editable object.
- Returns:
- A string that represents the code text of this editable object.
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.
getTitle
public abstract String getTitle()
- Requests the title from the editable object.
- Returns:
- A string that represents the title of this editable object.
getEventName
public String getEventName()
- Requests the event name from the editable object.
- Returns:
- A string that represents the event name of this editable object.
getLastChange
public long getLastChange()
- Gets the last change time.
- Returns:
- true the time of the last change.
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