public class ToolbarPopupEntry extends ToolbarEntry
ToolbarEntry.ToolbarCommand
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler
com.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, setCount
addComponent, getComponentCount, getComponentIterator, getComponentType, getCompositionRoot, moveComponentsFrom, paintContent, removeAllComponents, removeComponent, replaceComponent, setComponentType, setCompositionRoot
addListener, addListener, attach, detach, fireComponentAttachEvent, fireComponentDetachEvent, removeListener, removeListener, requestRepaintAll, setEnabled, setHeight, setWidth
addListener, 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, setWidthUnits
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setIcon, setParent, setReadOnly, setStyleName, setVisible
protected 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 ToolbarEntry
protected void initLabelComponent()
initLabelComponent
in class ToolbarEntry
Copyright © 2016 Alfresco. All rights reserved.