|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Row
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)
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.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
Detail getDetailChildApi()
Grid getGridApi()
java.lang.String getAlign()
Default: null (system default: left unless CSS specified).
void setAlign(java.lang.String align)
boolean isNowrap()
Default: null (system default: wrap).
void setNowrap(boolean nowrap)
java.lang.String getValign()
Default: null (system default: top).
void setValign(java.lang.String valign)
java.lang.Object getValue()
Default: null.
Note: the value is application dependent, you can place whatever value you want.
void setValue(java.lang.Object value)
value
- the value.
Note: the value is application dependent, you can place whatever value you want.
java.lang.String getSpans()
Cell
instead.
Default: empty.
void setSpans(java.lang.String spans) throws WrongValueException
Cell
instead.
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.
WrongValueException
Group getGroupApi()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |