|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl
org.zkoss.zul.Panel.ExtraCtrl
protected class Panel.ExtraCtrl
A utility class to implement AbstractComponent.getExtraCtrl().
It is used only by component developers.
| Constructor Summary | |
|---|---|
protected |
Panel.ExtraCtrl()
|
| Method Summary | |
|---|---|
boolean |
inDifferentBranch(Component child)
Whether the specified child is placed in different branch of the DOM tree (other than the main one). |
boolean |
isFloating()
Returns whether the component is floating, aka., absolute position. |
void |
setMaximizedByClient(boolean maximized)
Sets the maximized of the component, caused by user's activity at the client. |
void |
setMinimizedByClient(boolean minimized)
Sets the minimized of the component, caused by user's activity at the client. |
void |
setOpenByClient(boolean open)
Sets the open state caused by client's operation. |
void |
setResult(java.lang.Object result)
Sets the result when it is updated from the client successfully. |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl |
|---|
setHeightByClient, setLeftByClient, setPrologContent, setTopByClient, setWidthByClient, setZIndexByClient |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zkoss.zk.ui.ext.client.Sizable |
|---|
setHeightByClient, setWidthByClient |
| Methods inherited from interface org.zkoss.zk.ui.ext.client.Movable |
|---|
setLeftByClient, setTopByClient |
| Constructor Detail |
|---|
protected Panel.ExtraCtrl()
| Method Detail |
|---|
public boolean inDifferentBranch(Component child)
MultiBranchNote: for components, say caption, in different branch, you have to invalidate the parent when they are added or removed. Only children causing this method to return true are handled by ZK Update Engine.
inDifferentBranch in interface MultiBranchpublic void setOpenByClient(boolean open)
OpenableThis method is designed to be used by engine. Don't invoke it directly. Otherwise, the client and server might mismatch.
setOpenByClient in interface Openablepublic boolean isFloating()
Floating
isFloating in interface Floatingpublic void setMaximizedByClient(boolean maximized)
MaximizableThis method is designed to be used by engine. Don't invoke it directly. Otherwise, the client and server might mismatch.
setMaximizedByClient in interface Maximizablepublic void setMinimizedByClient(boolean minimized)
MinimizableThis method is designed to be used by engine. Don't invoke it directly. Otherwise, the client and server might mismatch.
setMinimizedByClient in interface Minimizablepublic void setResult(java.lang.Object result)
Updatable
setResult in interface Updatable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||