|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzk.Object
zk.Widget
zul.Widget
zkex.grid.Detail
public class 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 Widget.getZclass(): z-detail.
Default Widget.getWidth(): 18px. It depends on the width of the icon of
the detail.
Available in ZK PE and EE
| Field Summary |
|---|
| Fields inherited from class zk.Widget |
|---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
| Fields inherited from class zk.Object |
|---|
$class, $oid |
| Method Summary | |
|---|---|
String |
getContentSclass()
Returns the style class used for the content block. |
String |
getContentStyle()
Returns the CSS style for the content block of the window. |
boolean |
isOpen()
Returns whether the detail is open. |
void |
onStripe(Event evt)
A callback function for changing stripe |
void |
open(boolean open,
boolean silent)
Do open and close behave of the detail |
void |
setContentSclass(String scls)
Sets the style class used for the content block. |
void |
setContentStyle(String style)
Sets the CSS style for the content block of the window. |
void |
setOpen(boolean open)
Sets whether the detail is open. |
| Methods inherited from class zul.Widget |
|---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from class zk.Object |
|---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setOpen(boolean open)
open - public boolean isOpen()
public void setContentStyle(String style)
Default: null.
style - public String getContentStyle()
public void setContentSclass(String scls)
scls - public String getContentSclass()
public void onStripe(Event evt)
evt -
public void open(boolean open,
boolean silent)
open - sets whether the detail is opensilent - sets whether it will notify server
when the detail is open
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||