|
||||||||||
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.menu.Menubar
public class Menubar
A container that usually contains menu elements.
Default Widget.getZclass()
: z-menubar
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 | |
---|---|
boolean |
checkScrollable()
Returns whether the menubar scrolling is enabled in horizontal orient. |
String |
getOrient()
Returns the orient. |
boolean |
isAutodrop()
Returns whether to automatically drop down menus if user moves mouse over it. |
boolean |
isScrollable()
Returns whether the menubar scrolling is enabled. |
void |
setAutodrop(boolean autodrop)
Sets whether to automatically drop down menus if user moves mouse over it. |
void |
setOrient(String orient)
Sets the orient. |
void |
setScrollable(boolean scrollable)
Sets whether to enable the menubar scrolling |
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 String getOrient()
Default: "horizontal".
public void setScrollable(boolean scrollable)
scrollable
- public boolean isScrollable()
Default: false.
public void setAutodrop(boolean autodrop)
autodrop
- public boolean isAutodrop()
Default: false.
public boolean checkScrollable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |