public class ToolbarPopupEntry extends ToolbarEntry
ToolbarEntry.ToolbarCommandcom.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandlercom.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener| Modifier and Type | Field and Description |
|---|---|
protected com.vaadin.ui.MenuBar |
menuBar |
protected com.vaadin.ui.MenuBar.MenuItem |
rootItem |
active, command, count, countButton, layout, name, title, titleButton| Constructor and Description |
|---|
ToolbarPopupEntry(String key,
String title) |
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.ui.MenuBar.MenuItem |
addMenuItem(String title)
Add menu-item.
|
com.vaadin.ui.MenuBar.MenuItem |
addMenuItem(String title,
ToolbarEntry.ToolbarCommand command)
Add a menu-item, which executes the given command when clicked.
|
protected void |
initLabelComponent() |
void |
setActive(boolean active) |
getCount, initCountComponent, setCommand, setCountaddComponent, getComponentCount, getComponentIterator, getComponentType, getCompositionRoot, moveComponentsFrom, paintContent, removeAllComponents, removeComponent, replaceComponent, setComponentType, setCompositionRootaddListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidthaddListener, addListener, addListener, addListener, addListener, addStyleName, changeVariables, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, 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, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setErrorHandler, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidthUnitsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setIcon, setParent, setReadOnly, setStyleName, setVisibleprotected com.vaadin.ui.MenuBar menuBar
protected com.vaadin.ui.MenuBar.MenuItem rootItem
public com.vaadin.ui.MenuBar.MenuItem addMenuItem(String title)
public com.vaadin.ui.MenuBar.MenuItem addMenuItem(String title, ToolbarEntry.ToolbarCommand command)
public void setActive(boolean active)
setActive in class ToolbarEntryprotected void initLabelComponent()
initLabelComponent in class ToolbarEntryCopyright © 2016 Alfresco. All rights reserved.