|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Menubar
public class Menubar
A container that usually contains menu elements.
Default HtmlBasedComponent.getSclass(): menubar.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl |
| Field Summary |
|---|
| Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH |
| Fields inherited from interface org.zkoss.zk.ui.Component |
|---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
| Constructor Summary | |
|---|---|
Menubar()
|
|
Menubar(java.lang.String orient)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getOrient()
Returns the orient (the same as AbstractComponent.getMold()). |
java.lang.String |
getOuterAttrs()
|
boolean |
insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component insertBefore)
|
boolean |
isAutodrop()
Returns whether to automatically drop down menus if user moves mouse over it. |
void |
onDrawNewChild(org.zkoss.zk.ui.Component child,
java.lang.StringBuffer out)
|
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 class org.zkoss.zul.impl.XulElement |
|---|
getAction, getAllOnClickAttrs, getContext, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setPopup, setTooltip |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
addEventListener, appendAsapAttr, focus, getDraggable, getDroppable, getHeight, getLeft, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, isAsapRequired, newExtraCtrl, removeEventListener, setClass, setDraggable, setDroppable, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
addAnnotation, addAnnotation, addEventHandler, addSharedAnnotationMap, addSharedEventHandlerMap, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getEventHandler, getExtraCtrl, getFellow, getFellowIfAny, getId, getListenerIterator, getMold, getMoldURI, getNamespace, getPage, getParent, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, invalidate, isChildable, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, toString, unsetVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Menubar()
public Menubar(java.lang.String orient)
orient - either horizontal or vertical| Method Detail |
|---|
public java.lang.String getOrient()
AbstractComponent.getMold()).
Default: "horizontal".
public void setOrient(java.lang.String orient)
throws org.zkoss.zk.ui.WrongValueException
orient - either horizontal or vertical
org.zkoss.zk.ui.WrongValueExceptionpublic final boolean isAutodrop()
Default: false.
public void setAutodrop(boolean autodrop)
public java.lang.String getOuterAttrs()
getOuterAttrs in class XulElement
public boolean insertBefore(org.zkoss.zk.ui.Component child,
org.zkoss.zk.ui.Component insertBefore)
insertBefore in interface org.zkoss.zk.ui.ComponentinsertBefore in class org.zkoss.zk.ui.AbstractComponent
public void onDrawNewChild(org.zkoss.zk.ui.Component child,
java.lang.StringBuffer out)
throws java.io.IOException
onDrawNewChild in interface org.zkoss.zk.ui.ComponentonDrawNewChild in class org.zkoss.zk.ui.AbstractComponentjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||