|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.wgt.Separator
public class Separator
A separator.
Default Widget.getZclass()
as follows:
getOrient()
is vertical and isBar()
is false, "z-separator-ver" is assumedgetOrient()
is vertical and isBar()
is true, "z-separator-ver-bar" is assumedgetOrient()
is horizontal and isBar()
is false, "z-separator-hor" is assumedgetOrient()
is horizontal and isBar()
is true, "z-separator-hor-bar" is assumed
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 |
getOrient()
Returns the orient. |
String |
getSpacing()
Returns the spacing. |
boolean |
isBar()
Returns whether to display a visual bar as the separator. |
boolean |
isVertical()
Returns whether it is a vertical separator. |
void |
setBar(boolean bar)
Sets whether to display a visual bar as the separator. |
void |
setOrient(String orient)
Sets the orient. |
void |
setSpacing(String spacing)
Sets the spacing. |
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 setOrient(String orient)
orient
- either "horizontal" or "vertical".public String getOrient()
Default: "horizontal".
public void setBar(boolean bar)
bar
- public boolean isBar()
Default: false
public void setSpacing(String spacing)
spacing
- the spacing (such as "0", "5px", "3pt" or "1em")public String getSpacing()
Default: null (depending on CSS).
public boolean isVertical()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |