|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Detail
The detail component is used to display a detailed section where a master row and multiple detail rows are on the same row.
Event:
Default HtmlBasedComponent.getZclass(): z-detail.
Default HtmlBasedComponent.getWidth(): 18px. It depends on the width of the icon of the
detail.
| 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 |
getContentSclass()
Returns the style class used for the content block. |
java.lang.String |
getContentStyle()
Returns the CSS style for the content block of the window. |
java.lang.String |
getImage()
Returns the URI of the button image. |
boolean |
isOpen()
Returns whether the detail is open. |
void |
setContentSclass(java.lang.String scls)
Sets the style class used for the content block. |
void |
setContentStyle(java.lang.String style)
Sets the CSS style for the content block of the window. |
void |
setImage(java.lang.String img)
Sets the URI of the button image. |
void |
setOpen(boolean open)
Sets whether the detail is open. |
| 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 |
| Method Detail |
|---|
java.lang.String getContentStyle()
void setContentStyle(java.lang.String style)
Default: null.
java.lang.String getContentSclass()
void setContentSclass(java.lang.String scls)
java.lang.String getImage()
void setImage(java.lang.String img)
img - the URI of the button image. If null or empty, the default URI
is used.void setOpen(boolean open)
boolean isOpen()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||