public class ToolbarEntry
extends com.vaadin.ui.CustomComponent
Modifier and Type | Class and Description |
---|---|
static interface |
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 boolean |
active |
protected ToolbarEntry.ToolbarCommand |
command |
protected Long |
count |
protected com.vaadin.ui.Button |
countButton |
protected com.vaadin.ui.HorizontalLayout |
layout |
protected String |
name |
protected String |
title |
protected com.vaadin.ui.Button |
titleButton |
Constructor and Description |
---|
ToolbarEntry(String key,
String title) |
Modifier and Type | Method and Description |
---|---|
Long |
getCount() |
protected void |
initCountComponent() |
protected void |
initLabelComponent() |
void |
setActive(boolean active) |
void |
setCommand(ToolbarEntry.ToolbarCommand command) |
void |
setCount(Long count)
Sets the count to be displayed.
|
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 String title
protected Long count
protected boolean active
protected ToolbarEntry.ToolbarCommand command
protected String name
protected com.vaadin.ui.Button titleButton
protected com.vaadin.ui.Button countButton
protected com.vaadin.ui.HorizontalLayout layout
public void setCount(Long count)
public Long getCount()
public void setActive(boolean active)
public void setCommand(ToolbarEntry.ToolbarCommand command)
protected void initLabelComponent()
protected void initCountComponent()
Copyright © 2016 Alfresco. All rights reserved.