|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Menubar
A container that usually contains menu elements.
Default HtmlBasedComponent.getZclass(): z-menubar-hor, if getOrient() ==
vertical, z-menubar-ver will be added.(since 3.5.0)
| Field Summary |
|---|
| Fields inherited from interface org.zkoss.zk.ui.Component |
|---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
| Method Summary | |
|---|---|
java.lang.String |
getOrient()
Returns the orient. |
boolean |
isAutodrop()
Returns whether to automatically drop down menus if user moves mouse over it. |
void |
setAutodrop(boolean autodrop)
Sets whether to automatically drop down menus if user moves mouse over it. |
void |
setOrient(java.lang.String orient)
Sets the orient. |
| Methods inherited from interface org.zkoss.zul.impl.api.XulElement |
|---|
getContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
|---|
focus, getHeight, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
| Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
|---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
| Method Detail |
|---|
java.lang.String getOrient()
Default: "horizontal".
void setOrient(java.lang.String orient)
throws WrongValueException
orient - either horizontal or vertical
WrongValueExceptionboolean isAutodrop()
Default: false.
void setAutodrop(boolean autodrop)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||