|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.cbse.jeasy.JEObject
com.cbse.jeasy.JEMethodInvocation
public class JEMethodInvocation
A JEMethodInvocation is an XML interface for JEasy objects and methods.
You may call each JEasy Method by this syntax:
<methodinvocation>
<id>JEMethodInvocationId</id>
<JEObject>JEasyObjectId</JEObject>
<method>methodName</method>
<param1Class>String</param1Class>
<param1Value>Hello World</param1Value>
<param2Class>boolean</param2Class>
<param2Value>true</param2Value>
</methodinvocation>
Example:
<methodinvocation>
<id>MC_DF_Email_Set</id>
<JEObject>DF_Email</JEObject>
<method>setText</method>
<param1Class>String</param1Class>
<param1Value>webmaster@jeasy.de</param1Value>
</methodinvocation>
| Properties | ||
|---|---|---|
| name | values | comment |
| id | * | Id of the object. Let it begin with MC_ |
| JEObject | * | The id of an JEasy object |
| method | * | The name of the method of this object |
| param1Class |   | The class of the first parameter. |
| param1Value |   | The value of the first parameter. |
| param2Class |   | The class of the second parameter. |
| param2Value |   | The value of the second parameter. |
| paramnClass |   | The class of parameter n. |
| paramnValue |   | The value of parameter n. |
* = property you have to set; bold = default value
| Field Summary |
|---|
| Fields inherited from class com.cbse.jeasy.JEObject |
|---|
DEVELOPPING, INPUT_ERROR_DATE, INPUT_ERROR_LENGTH, INPUT_ERROR_MANDATORY, INPUT_ERROR_PARSE, INPUT_ERROR_RANGE, INPUT_ERROR_TIME, INPUT_ERRORS, NO_INPUT_ERROR, RUNNING |
| Constructor Summary | |
|---|---|
JEMethodInvocation(java.lang.Object obj,
java.lang.String s)
Reads the properties from a string. |
|
JEMethodInvocation(java.lang.String s)
Reads the properties from a string. |
|
| Method Summary | |
|---|---|
void |
invoke()
Invokes the method |
void |
invoke(long sleepMilliSec)
Invokes the method after a delay of sleepMilliSec milliseconds |
void |
invokeAsThread()
Invokes the method as a Thread. |
void |
invokeAsThread(long sleepMilliSec)
Invokes the method as a Thread. |
java.lang.String |
toString()
Gets the xml string to call a method of an JEasy Object |
| Methods inherited from class com.cbse.jeasy.JEObject |
|---|
backupEntry, clear, deserializeValue, getApplet, getApplLocale, getCenter, getComponent, getEast, getElementAt, getElementSize, getId, getJCallBack, getJClass, getLabel, getMode, getName, getNorth, getObjLocale, getParentId, getPreview, getProjectDirectory, getProperty, getRegisterText, getSouth, getStarted, getTitle, getType, getWest, getXMLtag, isEditable, isEnabled, isEnterprise, isProfessional, isStandard, isVisible, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEaddTab, removeProperties, removeProperty, restoreEntry, serializeValue, setApplet, setApplLocale, setEditable, setEditable, setEnabled, setEnabled, setFocus, setJCallBack, setMarkable, setMarkable, setMode, setObjLocale, setParentId, setPreview, setProjectDirectory, setProperty, setStarted, setVisible, setVisible, start, wasEntryChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JEMethodInvocation(java.lang.String s)
s - contains properties and valuesJE#PropertyString
public JEMethodInvocation(java.lang.Object obj,
java.lang.String s)
obj - object to call the methods - contains properties and valuesJE#PropertyString| Method Detail |
|---|
public void invoke()
public void invoke(long sleepMilliSec)
public void invokeAsThread()
public void invokeAsThread(long sleepMilliSec)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||