All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.script.comps.netrexx.SCRNetReXXComponent

java.lang.Object
   |
   +----com.ibm.beans.script.SCRComponent
           |
           +----com.ibm.beans.script.ide.SCRIDEComponent
                   |
                   +----com.ibm.beans.script.comps.java.SCRJavaComponent
                           |
                           +----com.ibm.beans.script.comps.netrexx.SCRNetReXXComponent

public class SCRNetReXXComponent
extends SCRJavaComponent
The NetReXX scripting component class implements the NetRexx scripting Java component. It is derived from the SCRJavaComponent class.

See Also:
SCRJavaComponent

Constructor Index

 o SCRNetReXXComponent()
Constructor for the SCRNetRexxComponent.

Method Index

 o createGenerator()
Creates a script generator object.
 o createJavaEditableObj(String, String, String, SCRJavaEventMethodInfo, SCRObjectHandle)
Creates a new NetRexx editable object for the IDE.
 o createJavaEventMethodInfo(String)
Creates a new Event Method information object.
 o getInitialCode()
Returns the initial code fragment for generated source code.
 o getMethodPrototype(String, String, int, Vector, Vector)
Gets method prototype.
 o getSysMethodTitle(String)
Gets the system method title.

Constructors

 o SCRNetReXXComponent
 public SCRNetReXXComponent()
Constructor for the SCRNetRexxComponent.

Methods

 o createJavaEditableObj
 protected SCRJavaEditableObj createJavaEditableObj(String event_name,
                                                    String title,
                                                    String code,
                                                    SCRJavaEventMethodInfo evt_info,
                                                    SCRObjectHandle obj_handle)
Creates a new NetRexx editable object for the IDE.

Parameters:
event_name - The name of the event for which the object is created.
title - The title of the editable object.
code - The source code associated with the editable object.
evt_info - The event handler information.
obj_handle - The handle to the scriptable bean.
Returns:
The NetRexx Editable Object.
Overrides:
createJavaEditableObj in class SCRJavaComponent
 o getInitialCode
 protected String getInitialCode()
Returns the initial code fragment for generated source code.

Returns:
The code string.
Overrides:
getInitialCode in class SCRJavaComponent
 o getSysMethodTitle
 protected String getSysMethodTitle(String method_name)
Gets the system method title.

Parameters:
method_name - The method name.
Returns:
A string that represents the signature for the system method.
Overrides:
getSysMethodTitle in class SCRJavaComponent
 o createGenerator
 protected void createGenerator()
Creates a script generator object.

Overrides:
createGenerator in class SCRJavaComponent
 o getMethodPrototype
 protected String getMethodPrototype(String name,
                                     String return_type,
                                     int modifier,
                                     Vector arg_names,
                                     Vector arg_types)
Gets method prototype.

Parameters:
name - The name of the method.
return_type - The data type of the return value.
modifier - The modifier values.
arg_names - The names of the formal parameters.
arg_types - The types of the formal parameters.
Returns:
A string that represents the signature for a Java method.
Overrides:
getMethodPrototype in class SCRJavaComponent
 o createJavaEventMethodInfo
 protected SCRJavaEventMethodInfo createJavaEventMethodInfo(String title)
Creates a new Event Method information object.

Parameters:
title - The title of the event method information object.
Returns:
NetRexx Event Method Information object.
Overrides:
createJavaEventMethodInfo in class SCRJavaComponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index