|
Tea Java Runtime API Version 3.2.5 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.pdmfc.tea.modules.tos.STosMethod
public class STosMethod
This class implements a TOS method.
| Constructor Summary | |
|---|---|
STosMethod(STosClass theClass,
SObjSymbol methodName,
SObjSymbol[] argNames,
SObjBlock body)
Defines a method associated with the TOS class className. |
|
| Method Summary | |
|---|---|
java.lang.Object |
exec(SObjFunction func,
SContext context,
java.lang.Object[] args)
Executes the TOS method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STosMethod(STosClass theClass,
SObjSymbol methodName,
SObjSymbol[] argNames,
SObjBlock body)
className.
methodName - The name to associate with this TOS method.theClass - The TOS class where this TOS method is being
defined.argNames - The names of the formal parameters.body - Block of code, representing the body of the method.| Method Detail |
|---|
public java.lang.Object exec(SObjFunction func,
SContext context,
java.lang.Object[] args)
throws STeaException
exec in interface SObjFunctioncontext - The context where this command is being invoked.args - Array with the arguments passed to the command.func - The SObjFunction that led to call this function. Most of the
time is the same as the this object.
STeaException - Thrown if there is not two arguments for the command.
|
Tea Java Runtime API Version 3.2.5 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||