|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Visualizer
A part of Execution
for visualizing the components whose
visual parts are modified. There is one-to-one relationship between
the visualizer and the execution.
Its implementation highly depends on UiEngine
.
Method Summary | |
---|---|
boolean |
addToFirstAsyncUpdate(java.util.List<AuResponse> responses)
Adds the responses to the first Visualizer if it is
caused by async-update. |
void |
disable()
Disables this visualizer. |
Execution |
getExecution()
Returns the execution that this visualizer is associated with. |
Component |
getOwner()
Returns the owner component for this execution, or null if this execution is not owned by any component. |
boolean |
isEverAsyncUpdate()
Whether the execution associated with this visualizer is caused by an async-update. |
boolean |
isRecovering()
Returns whether it is in recovering. |
Method Detail |
---|
Execution getExecution()
Component getOwner()
The include component is a typical owner.
boolean isEverAsyncUpdate()
Note: There might be a chain of executions.
Execution.isAsyncUpdate(org.zkoss.zk.ui.Page)
returns whether a page is
in async-update in the execution being called,
On the other hand, this method returns whether
this first execution (of the whole chain) is caused by
async-update.
boolean addToFirstAsyncUpdate(java.util.List<AuResponse> responses)
Visualizer
if it is
caused by async-update.
Visualizer
is NOT caused by async responses.boolean isRecovering()
FailoverManager.recover(org.zkoss.zk.ui.Session, org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Desktop)
.
If in recovering, no response is sent to the client.
void disable()
Currently, it is called only when removing a desktop. You rarely need to call this method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |