A class representing a horizontal menu bar. The menu can contain
MenuItem objects, which in turn can contain more MenuBars. These
sub-level MenuBars are represented as vertical menu.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getMoreMenuItem(self)
Get the MenuItem used as the collapse menu item. |
source code
|
|
|
setAutoOpen(self,
autoOpenTopLevelMenu)
Using this method menubar can be put into a special mode where top
level menus opens without clicking on the menu, but automatically
when mouse cursor is moved over the menu. |
source code
|
|
|
isAutoOpen(self)
Detects whether the menubar is in a mode where top level menus are
automatically opened when the mouse cursor is moved over the menu. |
source code
|
|
|
|
|
|
Inherited from abstract_component.AbstractComponent :
__getstate__ ,
__setstate__ ,
addCallback ,
addListener ,
addStyleName ,
attach ,
childRequestedRepaint ,
detach ,
fireComponentErrorEvent ,
fireComponentEvent ,
fireEvent ,
fireRequestRepaintEvent ,
focus ,
getApplication ,
getCSSHeight ,
getCSSWidth ,
getCaption ,
getComponentError ,
getData ,
getDebugId ,
getDescription ,
getErrorHandler ,
getErrorMessage ,
getHeight ,
getHeightUnits ,
getIcon ,
getListeners ,
getLocale ,
getParent ,
getStyle ,
getStyleName ,
getWidth ,
getWidthUnits ,
getWindow ,
handleError ,
hasListeners ,
isEnabled ,
isImmediate ,
isReadOnly ,
isVisible ,
paint ,
parseStringSize ,
registerCallback ,
registerListener ,
removeCallback ,
removeListener ,
removeStyleName ,
requestRepaint ,
requestRepaintRequests ,
setCaption ,
setComponentError ,
setData ,
setDebugId ,
setDescription ,
setEnabled ,
setErrorHandler ,
setHeight ,
setHeightUnits ,
setIcon ,
setImmediate ,
setLocale ,
setParent ,
setReadOnly ,
setSizeFull ,
setSizeUndefined ,
setStyle ,
setStyleName ,
setVisible ,
setWidth ,
setWidthUnits ,
withdrawCallback ,
withdrawListener
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|