|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzk.Object
zk.Widget
zul.Widget
zkmax.layout.Cardlayout
public class Cardlayout
A layout allow end user change view like change card.
The selectedIndex attribute decide which child widget will be shown (aka in view port).
Notice: When remove child, selectedIndex will decrease if last child is selected
Note: On tablet, the data-swipeable is always enable.
| 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 | |
|---|---|
void |
getOrient()
Returns the orient. |
int |
getSelectedIndex()
Returns the index of the widget in view port. |
boolean |
isHorizontal()
Return if orient is horizontal or not. |
boolean |
isVertical()
Return if orient is vertical or not. |
void |
setOrient(String orient)
Set the orient. |
void |
setSelectedIndex(int value)
Assign the index of widget will be shown. |
| 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 verticalpublic void getOrient()
Default: "horizontal".
public int getSelectedIndex()
public void setSelectedIndex(int value)
value - public boolean isVertical()
public boolean isHorizontal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||