public class CubaMenuBar
extends com.vaadin.ui.MenuBar
com.vaadin.ui.MenuBar.Command, com.vaadin.ui.MenuBar.MenuItem
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<com.vaadin.ui.MenuBar.MenuItem,java.lang.String> |
cubaIds |
protected java.util.Map<com.vaadin.ui.MenuBar.MenuItem,java.lang.String> |
shortcuts |
Constructor and Description |
---|
CubaMenuBar() |
Modifier and Type | Method and Description |
---|---|
void |
addMenuItem(com.vaadin.ui.MenuBar.MenuItem item) |
void |
addMenuItem(com.vaadin.ui.MenuBar.MenuItem item,
int index) |
com.vaadin.ui.MenuBar.MenuItem |
createMenuItem(java.lang.String caption,
com.vaadin.server.Resource icon,
com.vaadin.ui.MenuBar.Command command) |
com.vaadin.ui.MenuBar.MenuItem |
createSeparator() |
java.util.List<com.vaadin.ui.MenuBar.MenuItem> |
getMenuItems() |
protected com.haulmont.cuba.web.widgets.client.menubar.CubaMenuBarState |
getState() |
protected com.haulmont.cuba.web.widgets.client.menubar.CubaMenuBarState |
getState(boolean markAsDirty) |
boolean |
hasMenuItems() |
boolean |
isVertical() |
protected void |
paintAdditionalItemParams(com.vaadin.server.PaintTarget target,
com.vaadin.ui.MenuBar.MenuItem item) |
void |
removeMenuItem(com.vaadin.ui.MenuBar.MenuItem item) |
void |
setCubaId(com.vaadin.ui.MenuBar.MenuItem item,
java.lang.String id) |
void |
setShortcut(com.vaadin.ui.MenuBar.MenuItem item,
java.lang.String str) |
void |
setVertical(boolean useMoreMenuItem) |
addItem, addItem, addItem, addItemBefore, changeVariables, createMenuElement, focus, getCustomAttributes, getItems, getMoreMenuItem, getSize, getTabIndex, isAutoOpen, isHtmlContentAllowed, paintContent, readDesign, readMenuElement, removeItem, removeItems, setAutoOpen, setHtmlContentAllowed, setMenuItemSeparator, setMoreMenuItem, setTabIndex, writeDesign
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, beforeClientResponse, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCubaId, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setCubaId, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightUndefined, setIcon, setId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthUndefined
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, addStyleNames, attach, getCaption, getCubaId, getDescription, getIcon, getId, getLocale, getParent, getPrimaryStyleName, getStyleName, getUI, isEnabled, isVisible, removeListener, removeStyleName, removeStyleNames, setCaption, setCubaId, setEnabled, setIcon, setId, setParent, setPrimaryStyleName, setStyleName, setStyleName, setVisible
addAttachListener, addDetachListener, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected java.util.Map<com.vaadin.ui.MenuBar.MenuItem,java.lang.String> shortcuts
protected java.util.Map<com.vaadin.ui.MenuBar.MenuItem,java.lang.String> cubaIds
protected com.haulmont.cuba.web.widgets.client.menubar.CubaMenuBarState getState()
getState
in class com.vaadin.ui.MenuBar
protected com.haulmont.cuba.web.widgets.client.menubar.CubaMenuBarState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.MenuBar
public boolean isVertical()
public void setVertical(boolean useMoreMenuItem)
public void setShortcut(com.vaadin.ui.MenuBar.MenuItem item, java.lang.String str)
public void setCubaId(com.vaadin.ui.MenuBar.MenuItem item, java.lang.String id)
protected void paintAdditionalItemParams(com.vaadin.server.PaintTarget target, com.vaadin.ui.MenuBar.MenuItem item) throws com.vaadin.server.PaintException
paintAdditionalItemParams
in class com.vaadin.ui.MenuBar
com.vaadin.server.PaintException
public com.vaadin.ui.MenuBar.MenuItem createMenuItem(java.lang.String caption, com.vaadin.server.Resource icon, com.vaadin.ui.MenuBar.Command command)
public void addMenuItem(com.vaadin.ui.MenuBar.MenuItem item)
public void addMenuItem(com.vaadin.ui.MenuBar.MenuItem item, int index)
public void removeMenuItem(com.vaadin.ui.MenuBar.MenuItem item)
public java.util.List<com.vaadin.ui.MenuBar.MenuItem> getMenuItems()
public boolean hasMenuItems()
public com.vaadin.ui.MenuBar.MenuItem createSeparator()