|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.au.AuResponse
org.zkoss.zk.au.AuCmd
public class AuCmd
A response to ask the client to execute the specified client function.
Unlike AuScript,
data[0]: the component UUID
data[1]: the client function name (i.e., JavaScript function)
data[2]: the second argument
data[3]: the third argument...
Note: the first argument is always the component itself.
| Constructor Summary | |
|---|---|
AuCmd(Component comp,
java.lang.String function)
Construct AuCmd to call a client function with one argument, the component itself. |
|
AuCmd(Component comp,
java.lang.String function,
java.lang.String arg)
Construct AuCmd to call a client function with two arguments, the component itself and arg. |
|
AuCmd(Component comp,
java.lang.String function,
java.lang.String arg1,
java.lang.String arg2)
Construct AuCmd to call a client function with three arguments, the component itself, arg1 and arg2. |
|
AuCmd(Component comp,
java.lang.String function,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
Construct AuCmd to call a client function with four arguments, the component itself, arg1, arg2 and arg3. |
|
| Method Summary |
|---|
| Methods inherited from class org.zkoss.zk.au.AuResponse |
|---|
equals, getCommand, getData, getDepends, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuCmd(Component comp,
java.lang.String function)
In other words, it invokes (assume Type is the comp's z.type)
zkType.function(comp)
comp - the component that this script depends on.
It cannot be null.function - the function name
public AuCmd(Component comp,
java.lang.String function,
java.lang.String arg)
In other words, it invokes (assume Type is the comp's z.type)
zkType.function(comp, arg)
comp - the component that this script depends on.
It cannot be null.function - the function namearg - the additional argument
public AuCmd(Component comp,
java.lang.String function,
java.lang.String arg1,
java.lang.String arg2)
In other words, it invokes (assume Type is the comp's z.type)
zkType.function(comp, arg1, arg2)
comp - the component that this script depends on.
It cannot be null.function - the function name
public AuCmd(Component comp,
java.lang.String function,
java.lang.String arg1,
java.lang.String arg2,
java.lang.String arg3)
In other words, it invokes (assume Type is the comp's z.type)
zkType.function(comp, arg1, arg2, arg3)
comp - the component that this script depends on.
It cannot be null.function - the function name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||