All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.script.comps.java.SCRJavaEditableObj
java.lang.Object
|
+----com.ibm.beans.script.ide.SCRIDEEditableObject
|
+----com.ibm.beans.script.comps.java.SCRJavaEditableObj
- public class SCRJavaEditableObj
- extends SCRIDEEditableObject
This is the Java IDE Editable Object Class. It stores and handles all
Java related information. It is derived from SCRIDEEditableObject.
-
SCRJavaEditableObj(String, String, SCRJavaEventMethodInfo, SCRObjectHandle)
- Creates an instance of SCRIDE editable object.
-
SCRJavaEditableObj(String, String, String)
- Creates an instance of SCRIDE editable object.
-
getBeginLine()
- Gets the beginning line number in the generated code.
-
getCode()
- Gets the Java code associated with this editable object.
-
getEndLine()
- Gets the ending line number in the generated code.
-
getEventInfo()
- Gets the Event Infor Method object associated with Java Editable object.
-
getSavedTitle()
- Gets the saved title string.
-
getTitle()
- Gets the title string.
-
isEmpty()
- Checks if the code text is empty.
-
putSavedTitle(String)
- Sets the saved title.
-
setBeginLine(int)
- Sets the beginning line number in the generated code.
-
setEndLine(int)
- Sets the ending line number in the generated code.
-
setEventInfo(SCRJavaEventMethodInfo)
- Sets the event method information reference.
SCRJavaEditableObj
public SCRJavaEditableObj(String event_name,
String init_text,
SCRJavaEventMethodInfo evt_info,
SCRObjectHandle obj_handle)
- Creates an instance of SCRIDE editable object.
- Parameters:
- event_name - The name of the event set fired by the registered Java
object.
- init_text - The initial script text.
- evt_info -
- The event method information object associated with
the script stored in the SCRJavaEditableObj object.
- object_handle - The Java object handle associated with the
SCRJavaEditableObj object.
SCRJavaEditableObj
public SCRJavaEditableObj(String event_name,
String saved_title,
String init_text)
- Creates an instance of SCRIDE editable object. This constructor is used
to create the editable objects for system instance.
- Parameters:
- event_name - The name of the event set fired by the registered Java
object.
- title_str - The non-changeable title of this editable object.
- init_text - The initial script text.
getBeginLine
public int getBeginLine()
- Gets the beginning line number in the generated code.
- Returns:
- The beginning line number in the generated code.
getEndLine
public int getEndLine()
- Gets the ending line number in the generated code.
- Returns:
- The ending line number in the generated code.
setBeginLine
public void setBeginLine(int beg_line)
- Sets the beginning line number in the generated code.
- Parameters:
- beg_line - The new beginning line number in the generated code.
setEndLine
public void setEndLine(int end_line)
- Sets the ending line number in the generated code.
- Parameters:
- end_line - The new ending line number in the generated code.
getTitle
public String getTitle()
- Gets the title string.
- Returns:
- A string that represents the title of this editable object.
- Overrides:
- getTitle in class SCRIDEEditableObject
getSavedTitle
public String getSavedTitle()
- Gets the saved title string.
- Returns:
- The saved string that represents the title of this editable object.
setEventInfo
public void setEventInfo(SCRJavaEventMethodInfo evt_info)
- Sets the event method information reference.
- Parameters:
- evt_info - The new event method information reference.
isEmpty
public boolean isEmpty()
- Checks if the code text is empty.
- Returns:
- true, if the code text is empty; false,
otherwise.
getCode
public String getCode()
- Gets the Java code associated with this editable object.
- Returns:
- The Java code.
putSavedTitle
public void putSavedTitle(String str)
- Sets the saved title.
- Parameters:
- str - The saved title to be set.
getEventInfo
public SCRJavaEventMethodInfo getEventInfo()
- Gets the Event Infor Method object associated with Java Editable object.
- Returns:
- The Event Method Infor object.
All Packages Class Hierarchy This Package Previous Next Index