Class JmixNotification

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.google.gwt.user.client.ui.PopupPanel
com.vaadin.client.widgets.Overlay
com.vaadin.client.ui.VOverlay
com.vaadin.client.ui.VNotification
io.jmix.ui.widget.client.notification.JmixNotification
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasCloseHandlers<com.google.gwt.user.client.ui.PopupPanel>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.EventPreview, com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.HasOneWidget, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesPopupEvents, Iterable<com.google.gwt.user.client.ui.Widget>

public class JmixNotification extends com.vaadin.client.ui.VNotification
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.client.ui.VNotification

    com.vaadin.client.ui.VNotification.EventListener, com.vaadin.client.ui.VNotification.HideEvent

    Nested classes/interfaces inherited from class com.vaadin.client.widgets.Overlay

    com.vaadin.client.widgets.Overlay.PositionAndSize, com.vaadin.client.widgets.Overlay.ResizeAnimation

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.PopupPanel

    com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback

    Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject

    com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

    com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final String
     

    Fields inherited from class com.vaadin.client.ui.VNotification

    ASSISTIVE, BOTTOM_LEFT, BOTTOM_RIGHT, CAPTION, CENTERED, CENTERED_BOTTOM, CENTERED_TOP, DELAY_FOREVER, DELAY_NONE, delegate, DESCRIPTION, DETAILS, NOTIFICATIONS, position, relativeZIndex, STYLE_SYSTEM, TOP_LEFT, TOP_RIGHT, TRAY_BOTTOM_CENTER_NOTIFICATIONS, TRAY_BOTTOM_LEFT_NOTIFICATIONS, TRAY_BOTTOM_RIGHT_NOTIFICATIONS, typeStyle, Z_INDEX_BASE

    Fields inherited from class com.vaadin.client.ui.VOverlay

    ac

    Fields inherited from class com.vaadin.client.widgets.Overlay

    ADDITIONAL_CLASSNAME_ANIMATE_IN, ADDITIONAL_CLASSNAME_ANIMATE_OUT, CLASSNAME_CONTAINER, CLASSNAME_SHADOW, current, Z_INDEX

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    afterRemoveNotificationFromCollection(com.vaadin.client.ui.VNotification removedNotification, int removedIdx)
     
    protected void
     
    protected List<com.vaadin.client.ui.VNotification>
     
    protected boolean
     
    protected boolean
    isTrayNotification(com.vaadin.client.ui.VNotification notification)
     
    boolean
    onEventPreview(com.google.gwt.user.client.Event event)
     

    Methods inherited from class com.vaadin.client.ui.VNotification

    addEventListener, bringNotificationsToFront, createNotification, createNotification, getDelegate, getDependentStyle, getLastNotification, getPosition, getTypeStyle, hide, hideAfterDelay, isRelativeZIndex, onBrowserEvent, onPreviewNativeEvent, removeEventListener, setDelegate, setPosition, setRelativeZIndex, setTypeStyle, show, show, show, show, show, show, showError, showNotification, showNotification

    Methods inherited from class com.vaadin.client.ui.VOverlay

    getApplicationConnection, getOverlayContainer, getOverlayContainer, setApplicationConnection, setOverlayContainerLabel

    Methods inherited from class com.vaadin.client.widgets.Overlay

    center, getOwner, hide, hide, isFitInWindow, isShimElementEnabled, needsShimElement, onAttach, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setPopupPosition, setVisible, setWidth, setZIndex, updateShadowSizeAndPosition

    Methods inherited from class com.google.gwt.user.client.ui.PopupPanel

    addAutoHidePartner, addCloseHandler, addPopupListener, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setModal, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setWidget, showRelativeTo

    Methods inherited from class com.google.gwt.user.client.ui.SimplePanel

    add, getWidget, iterator, remove, setWidget

    Methods inherited from class com.google.gwt.user.client.ui.Panel

    add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents

    Methods inherited from class com.google.gwt.user.client.ui.UIObject

    addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.gwt.event.shared.HasHandlers

    fireEvent

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

  • Constructor Details

    • JmixNotification

      public JmixNotification()
  • Method Details

    • onEventPreview

      public boolean onEventPreview(com.google.gwt.user.client.Event event)
      Specified by:
      onEventPreview in interface com.google.gwt.user.client.EventPreview
      Overrides:
      onEventPreview in class com.vaadin.client.ui.VNotification
    • beforeAddNotificationToCollection

      protected void beforeAddNotificationToCollection()
      Overrides:
      beforeAddNotificationToCollection in class com.vaadin.client.ui.VNotification
    • afterRemoveNotificationFromCollection

      protected void afterRemoveNotificationFromCollection(com.vaadin.client.ui.VNotification removedNotification, int removedIdx)
      Overrides:
      afterRemoveNotificationFromCollection in class com.vaadin.client.ui.VNotification
    • isTrayNotification

      protected boolean isTrayNotification(com.vaadin.client.ui.VNotification notification)
    • isLastTrayNotification

      protected boolean isLastTrayNotification(int index)
    • getCurrentTrayList

      protected List<com.vaadin.client.ui.VNotification> getCurrentTrayList()