| java.lang.Object org.zkoss.zk.au.AuResponse
All known Subclasses: org.zkoss.zk.au.out.AuEcho, org.zkoss.zk.au.out.AuSubmitForm, org.zkoss.zk.au.out.AuInvoke, org.zkoss.zk.au.out.AuInsertAfter, org.zkoss.zk.au.out.AuReplace, org.zkoss.zk.au.out.AuBookmark, org.zkoss.zk.au.out.AuScrollTo, org.zkoss.zk.au.out.AuRemove, org.zkoss.zk.au.out.AuSetDeferredAttribute, org.zkoss.mil.au.out.AuGoHome, org.zkoss.zk.au.out.AuObsolete, org.zkoss.zk.au.out.AuMoveBy, org.zkoss.zk.au.out.AuDownload, org.zkoss.zk.au.out.AuRemoveAttribute, org.zkoss.zk.au.out.AuPrint, org.zkoss.zk.au.out.AuMoveTo, org.zkoss.zul.au.out.AuPopup, org.zkoss.zk.au.out.AuSetAttribute, org.zkoss.zk.au.out.AuInsertBefore, org.zkoss.zk.au.out.AuSendRedirect, org.zkoss.zk.au.out.AuScript, org.zkoss.zk.au.out.AuFocus, org.zkoss.zk.au.out.AuAppendChild, org.zkoss.zk.au.out.AuAlert, org.zkoss.zk.au.out.AuScrollBy, org.zkoss.zk.au.out.AuShowBusy, org.zkoss.zk.au.out.AuResizeBy, org.zkoss.zk.au.out.AuResizeTo, org.zkoss.zk.au.out.AuSetTitle, org.zkoss.zk.au.out.AuCloseErrorBox, org.zkoss.zk.au.out.AuConfirmClose, org.zkoss.zk.au.out.AuClientInfo, org.zkoss.zk.au.out.AuWrongValue,
Constructor Summary | |
protected | AuResponse(String cmd) Constructs a component-independent response. | protected | AuResponse(String cmd, String data) Constructs a component-independent response. | protected | AuResponse(String cmd, String[] data) Constructs a component-independent response. | protected | AuResponse(String cmd, Component depends, String data) Constructs a response with one or zero data.
Parameters: depends - specifies whether this response depends on whetherthe depends component.If depends is not null, this response shall be purged if the dependscomponent is removed.If null, this response is called component-independent, andalways sent to the client.Note: info of the depends component doesn't send to the client.It is used only to optimize what responses to send. Parameters: data - specifies the data to be sent. | protected | AuResponse(String cmd, Component depends, String[] data) Constructs a response with multiple data. | protected | AuResponse(String cmd, Page depends, String data) Constructs a response with multiple data. | protected | AuResponse(String cmd, Page depends, String[] data) Constructs a response with multiple data. |
AuResponse | protected AuResponse(String cmd)(Code) | | Constructs a component-independent response.
|
AuResponse | protected AuResponse(String cmd, String data)(Code) | | Constructs a component-independent response.
|
AuResponse | protected AuResponse(String cmd, String[] data)(Code) | | Constructs a component-independent response.
|
AuResponse | protected AuResponse(String cmd, Component depends, String data)(Code) | | Constructs a response with one or zero data.
Parameters: depends - specifies whether this response depends on whetherthe depends component.If depends is not null, this response shall be purged if the dependscomponent is removed.If null, this response is called component-independent, andalways sent to the client.Note: info of the depends component doesn't send to the client.It is used only to optimize what responses to send. Parameters: data - specifies the data to be sent. If null, no data at all. |
AuResponse | protected AuResponse(String cmd, Page depends, String data)(Code) | | Constructs a response with multiple data.
|
AuResponse | protected AuResponse(String cmd, Page depends, String[] data)(Code) | | Constructs a response with multiple data.
|
getCommand | public String getCommand()(Code) | | Returns the command of this response (never null).
|
getData | public String[] getData()(Code) | | Returns the associated data of this response (might be null).
|
getDepends | final public Object getDepends()(Code) | | Returns the component or page that this response depends on.
If it is not null and the depends component/page is removed,
this response shall be removed, too.
Note: the returned object is either a
Component or a
Page .
|
|
|