|
||||||||||
| 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.Rows.ExtraCtrl
protected class Rows.ExtraCtrl
A utility class to implement AbstractComponent.getExtraCtrl().
It is used only by component developers.
| Constructor Summary | |
|---|---|
protected |
Rows.ExtraCtrl()
|
| Method Summary | |
|---|---|
java.util.Set |
getAvailableAtClient()
Returns a set of child components that are available at the client, or null if ALL available. |
boolean |
isCropper()
Returns whether it is a cropper, i.e., cropping is applied. |
| 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 |
| Constructor Detail |
|---|
protected Rows.ExtraCtrl()
| Method Detail |
|---|
public boolean isCropper()
CropperNote: this method is called when an child is detached, so
you have to count one more for the total number of children.
Example <= must be used, not <:
getChildCount() <= getPageSize()
The result of returning false is the same as not declaring
with Cropper.
isCropper in interface Cropperpublic java.util.Set getAvailableAtClient()
CropperComponent.getChildren().
In order words, you must use LinkedHashSet or similar to ensure the order
in the returned set.
Note: for better performance, it is better to return null if all children are available at the client.
getAvailableAtClient in interface Cropper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||