Class NotificationFactory.DefaultNotification
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.notification.Notification
hu.rts.mike.example.dev.crm.component.factory.NotificationFactory.DefaultNotification
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasTheme,com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.notification.NotificationVariant>,Serializable
- Enclosing class:
- NotificationFactory
private static class NotificationFactory.DefaultNotification
extends com.vaadin.flow.component.notification.Notification
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.flow.component.notification.Notification
com.vaadin.flow.component.notification.Notification.OpenedChangeEvent, com.vaadin.flow.component.notification.Notification.Position -
Constructor Summary
ConstructorsConstructorDescriptionDefaultNotification(String title, String subText, com.vaadin.flow.component.icon.Icon icon, int duration, com.vaadin.flow.component.notification.NotificationVariant variant) -
Method Summary
Modifier and TypeMethodDescriptionprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.html.DivaddTitleAndSubText(String title, String subText) Methods inherited from class com.vaadin.flow.component.notification.Notification
add, addAttachListener, addComponentAtIndex, addDetachListener, addOpenedChangeListener, close, getClassNames, getDuration, getPosition, getStyle, isOpened, onAttach, onDetach, open, setClassName, setDuration, setOpened, setPosition, setText, show, showMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, hasClassName, removeClassName, removeClassNames, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariants
-
Constructor Details
-
DefaultNotification
-
-
Method Details
-
addTitleAndSubText
-
addCloseButton
private com.vaadin.flow.component.button.Button addCloseButton()
-