public class Rows extends XulElement
Row element.
Default getZclass(): z-rows.(since 3.5.0)
| Modifier and Type | Class and Description |
|---|---|
protected class |
Rows.Children |
protected class |
Rows.ExtraCtrl
A utility class to implement
HtmlBasedComponent.getExtraCtrl(). |
| Constructor and Description |
|---|
Rows() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterInsert(org.zkoss.zk.ui.Component comp)
Callback if a child has been inserted.
|
void |
beforeChildAdded(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component refChild) |
void |
beforeParentChanged(org.zkoss.zk.ui.Component parent) |
protected void |
beforeRemove(org.zkoss.zk.ui.Component comp)
Callback if a child will be removed (not removed yet).
|
Object |
clone() |
<T extends org.zkoss.zk.ui.Component> |
getChildren() |
Object |
getExtraCtrl() |
Grid |
getGrid()
Returns the grid that contains this rows.
|
int |
getGroupCount()
Returns the number of groups.
|
List<Group> |
getGroups()
Returns a list of all
Group. |
int |
getVisibleItemCount()
Returns the number of visible descendant
Row. |
String |
getZclass() |
boolean |
hasGroup()
Returns whether Group exists.
|
boolean |
insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component refChild) |
boolean |
removeChild(org.zkoss.zk.ui.Component child)
If the child is a group, its groupfoot will be removed at the same time.
|
protected void |
renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) |
void |
setHflex(String flex)
|
void |
setWidth(String width)
|
getContext, getCtrlKeys, getPopup, getPropertyAccess, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getAction, getDraggable, getDroppable, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, service, setAction, setClass, setDraggable, setDroppable, setFocus, setHeight, setHeightDirectly, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setTopDirectly, setVflex, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addClientEvent, addEventHandler, addEventListener, addEventListener, addForward, addForward, addForward, addForward, addMoved, addRedrawCallback, addScopeListener, addShadowRoot, addShadowRootBefore, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableBindingAnnotation, disableClientUpdate, enableBindingAnnotation, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getAutag, getClientAttribute, getClientDataAttribute, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getEventListenerMap, getEventListeners, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNextSibling, getPage, getParent, getPreviousSibling, getRedrawCallback, getRoot, getShadowRoots, getShadowVariable, getShadowVariable0, getSpaceOwner, getSpecialRendererOutput, getStubonly, getSubBindingAnnotationCount, getTemplate, getTemplateNames, getUuid, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasBindingAnnotation, hasFellow, hasFellow, hasSubBindingAnnotation, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onPageAttached, onPageDetached, onWrongValue, query, queryAll, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeEventListener, removeForward, removeForward, removeRedrawCallback, removeScopeListener, removeShadowRoot, render, render, render, replace, response, response, response, service, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setAutag, setClientAttribute, setClientDataAttribute, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setStubonly, setSubBindingAnnotationCount, setTemplate, setVisible, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, updateByClient, updateSubBindingAnnotationCount, willPassivate, willPassivate, willSerialize, willSerializepublic Grid getGrid()
It is the same as AbstractComponent.getParent().
public int getGroupCount()
public boolean hasGroup()
public int getVisibleItemCount()
Row.public void beforeParentChanged(org.zkoss.zk.ui.Component parent)
beforeParentChanged in interface org.zkoss.zk.ui.sys.ComponentCtrlbeforeParentChanged in class org.zkoss.zk.ui.AbstractComponentpublic void beforeChildAdded(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component refChild)
beforeChildAdded in interface org.zkoss.zk.ui.sys.ComponentCtrlbeforeChildAdded in class org.zkoss.zk.ui.AbstractComponentpublic boolean insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component refChild)
insertBefore in interface org.zkoss.zk.ui.ComponentinsertBefore in class org.zkoss.zk.ui.AbstractComponentpublic boolean removeChild(org.zkoss.zk.ui.Component child)
removeChild in interface org.zkoss.zk.ui.ComponentremoveChild in class org.zkoss.zk.ui.AbstractComponentprotected void afterInsert(org.zkoss.zk.ui.Component comp)
Default: invalidate if it is the paging mold and it affects the view of the active page.
protected void beforeRemove(org.zkoss.zk.ui.Component comp)
Default: invalidate if it is the paging mold and it affects the view of the active page.
public String getZclass()
getZclass in class org.zkoss.zk.ui.HtmlBasedComponentpublic void setWidth(String width)
Grid and Column instead.setWidth in class org.zkoss.zk.ui.HtmlBasedComponentpublic void setHflex(String flex)
Grid and Column instead.setHflex in class org.zkoss.zk.ui.HtmlBasedComponentpublic Object clone()
clone in interface org.zkoss.zk.ui.Componentclone in class XulElementpublic <T extends org.zkoss.zk.ui.Component> List<T> getChildren()
getChildren in interface org.zkoss.zk.ui.ComponentgetChildren in class org.zkoss.zk.ui.AbstractComponentprotected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer)
throws IOException
renderProperties in class XulElementIOExceptionpublic Object getExtraCtrl()
getExtraCtrl in interface org.zkoss.zk.ui.sys.ComponentCtrlgetExtraCtrl in class org.zkoss.zk.ui.HtmlBasedComponentCopyright © 2015. All rights reserved.