org.zkoss.zul.api
Interface Row

All Superinterfaces:
java.lang.Cloneable, Component, HtmlBasedComponent, Scope, java.io.Serializable, XulElement
All Known Subinterfaces:
Group, Groupfoot
All Known Implementing Classes:
Group, Groupfoot, Row

public interface Row
extends XulElement

A single row in a Rows element. Each child of the Row element is placed in each successive cell of the grid. The row with the most child elements determines the number of columns in each row.

Default HtmlBasedComponent.getZclass(): z-row. (since 3.5.0)

Since:
3.5.2
Author:
tomyeh

Field Summary
 
Fields inherited from interface org.zkoss.zk.ui.Component
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE
 
Method Summary
 java.lang.String getAlign()
          Returns the horizontal alignment of the whole row.
 Detail getDetailChildApi()
          Returns the child detail component.
 Grid getGridApi()
          Returns the grid that contains this row.
 Group getGroupApi()
          Returns the group that this row belongs to, or null.
 java.lang.String getSpans()
          Deprecated. As of release 5.0.0, use Cell instead.
 java.lang.String getValign()
          Returns the vertical alignment of the whole row.
 java.lang.Object getValue()
          Returns the value.
 boolean isNowrap()
          Returns the nowrap.
 void setAlign(java.lang.String align)
          Sets the horizontal alignment of the whole row.
 void setNowrap(boolean nowrap)
          Sets the nowrap.
 void setSpans(java.lang.String spans)
          Deprecated. As of release 5.0.0, use Cell instead.
 void setValign(java.lang.String valign)
          Sets the vertical alignment of the whole row.
 void setValue(java.lang.Object value)
          Sets the value.
 
Methods inherited from interface org.zkoss.zul.impl.api.XulElement
getAction, getContext, getCtrlKeys, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip
 
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex
 
Methods inherited from interface org.zkoss.zk.ui.Component
addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, setWidgetListener, setWidgetOverride, unsetVariable
 
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
 

Method Detail

getDetailChildApi

Detail getDetailChildApi()
Returns the child detail component.


getGridApi

Grid getGridApi()
Returns the grid that contains this row.


getAlign

java.lang.String getAlign()
Returns the horizontal alignment of the whole row.

Default: null (system default: left unless CSS specified).


setAlign

void setAlign(java.lang.String align)
Sets the horizontal alignment of the whole row.


isNowrap

boolean isNowrap()
Returns the nowrap.

Default: null (system default: wrap).


setNowrap

void setNowrap(boolean nowrap)
Sets the nowrap.


getValign

java.lang.String getValign()
Returns the vertical alignment of the whole row.

Default: null (system default: top).


setValign

void setValign(java.lang.String valign)
Sets the vertical alignment of the whole row.


getValue

java.lang.Object getValue()
Returns the value.

Default: null.

Note: the value is application dependent, you can place whatever value you want.


setValue

void setValue(java.lang.Object value)
Sets the value.

Parameters:
value - the value.

Note: the value is application dependent, you can place whatever value you want.


getSpans

java.lang.String getSpans()
Deprecated. As of release 5.0.0, use Cell instead.

Returns the spans, which is a list of numbers separated by comma.

Default: empty.


setSpans

void setSpans(java.lang.String spans)
              throws WrongValueException
Deprecated. As of release 5.0.0, use Cell instead.

Sets the spans, which is a list of numbers separated by comma.

For example, "1,2,3" means the second column will span two columns and the following column span three columns, while others occupies one column.

Throws:
WrongValueException

getGroupApi

Group getGroupApi()
Returns the group that this row belongs to, or null.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo