|
||||||||||
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.box.Splitter
public class Splitter
An element which should appear before or after an element inside a box
(Box
).
When the splitter is dragged, the sibling elements of the splitter are
resized. If getCollapse()
is true, a grippy in placed
inside the splitter, and one sibling element of the splitter is collapsed
when the grippy is clicked.
Default Widget.getZclass()
: z-splitter.
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 |
getCollapse()
Returns the collapse of this button. |
String |
getOrient()
Returns the orient. |
boolean |
isOpen()
Returns whether it is open (i.e., not collapsed. |
boolean |
isVertical()
Returns if it is a vertical box. |
void |
setCollapse(String collapse)
Sets the collapse of this button. |
void |
setOpen(boolean open,
Offset opts)
Opens or collapses the splitter. |
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 boolean isOpen()
getCollapse()
is not "none".
Default: true.
public void setOpen(boolean open, Offset opts)
getCollapse()
is not "none".
open
- opts
- public boolean isVertical()
public String getOrient()
Box.getOrient()
).
public String getCollapse()
public void setCollapse(String collapse)
collapse
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |