public class NotificationBadge extends AbstractBadge implements MessagesManager.MessageListener
com.vaadin.ui.HasComponents.ComponentAttachDetachNotifier, com.vaadin.ui.HasComponents.ComponentAttachEvent, com.vaadin.ui.HasComponents.ComponentAttachListener, com.vaadin.ui.HasComponents.ComponentDetachEvent, com.vaadin.ui.HasComponents.ComponentDetachListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, 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 | Method and Description |
---|---|
void |
detach() |
String |
getCaption() |
void |
messageCleared(Message message) |
void |
messageRemoved(String id) |
void |
messageSent(Message message) |
protected void |
onBadgeDeselected() |
addStyleName, beforeClientResponse, getComponentError, getCompositionRoot, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getPrimaryStyleName, getState, getState, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, iterator, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setCompositionRoot, setDebugId, setDescription, setDescription, setHeight, setHeight, setHeightUndefined, setIcon, setId, setPrimaryStyleName, setSizeFull, setSizeUndefined, setStyleName, setStyleName, setWidth, setWidth, setWidthUndefined
addContextClickListener, addListener, addShortcutListener, attach, findAncestor, fireComponentErrorEvent, fireComponentEvent, focus, getActionManager, getCustomAttributes, getData, getLocale, getParent, isConnectorEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, setData, setEnabled, setLocale, setParent, setReadOnly, setRequiredIndicatorVisible, setResponsive, setVisible, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, 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, setErrorHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addListener, addStyleNames, attach, getLocale, getParent, getUI, isEnabled, isVisible, readDesign, removeListener, removeStyleNames, setEnabled, setParent, setVisible, writeDesign
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
forEach, spliterator
public void messageSent(Message message)
messageSent
in interface MessagesManager.MessageListener
public void messageCleared(Message message)
messageCleared
in interface MessagesManager.MessageListener
public void messageRemoved(String id)
messageRemoved
in interface MessagesManager.MessageListener
public String getCaption()
getCaption
in interface com.vaadin.ui.Component
getCaption
in class com.vaadin.ui.Composite
public void detach()
detach
in interface com.vaadin.server.ClientConnector
detach
in class com.vaadin.ui.AbstractComponent
protected void onBadgeDeselected()
onBadgeDeselected
in class AbstractBadge
Copyright © 2019 Magnolia International Ltd.. All rights reserved.