public class JmixNotification
extends com.vaadin.client.ui.VNotification
com.vaadin.client.ui.VNotification.EventListener, com.vaadin.client.ui.VNotification.HideEvent
com.vaadin.client.widgets.Overlay.PositionAndSize, com.vaadin.client.widgets.Overlay.ResizeAnimation
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
Modifier and Type | Field and Description |
---|---|
static int |
MARGIN_SIZE |
static java.lang.String |
TRAY_STYLE |
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
Constructor and Description |
---|
JmixNotification() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterRemoveNotificationFromCollection(com.vaadin.client.ui.VNotification removedNotification,
int removedIdx) |
protected void |
beforeAddNotificationToCollection() |
protected java.util.List<com.vaadin.client.ui.VNotification> |
getCurrentTrayList() |
protected boolean |
isLastTrayNotification(int index) |
protected boolean |
isTrayNotification(com.vaadin.client.ui.VNotification notification) |
boolean |
onEventPreview(com.google.gwt.user.client.Event event) |
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
getApplicationConnection, getOverlayContainer, getOverlayContainer, setApplicationConnection, setOverlayContainerLabel
center, getOwner, hide, hide, isFitInWindow, isShimElementEnabled, needsShimElement, onAttach, onDetach, positionOrSizeUpdated, setFitInWindow, setHeight, setOwner, setPopupPosition, setVisible, setWidth, setZIndex, updateShadowSizeAndPosition
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
add, getWidget, iterator, remove, setWidget
add, adopt, clear, doAttachChildren, doDetachChildren, orphan, remove
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onLoad, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
public static final java.lang.String TRAY_STYLE
public static final int MARGIN_SIZE
public boolean onEventPreview(com.google.gwt.user.client.Event event)
onEventPreview
in interface com.google.gwt.user.client.EventPreview
onEventPreview
in class com.vaadin.client.ui.VNotification
protected void beforeAddNotificationToCollection()
beforeAddNotificationToCollection
in class com.vaadin.client.ui.VNotification
protected void afterRemoveNotificationFromCollection(com.vaadin.client.ui.VNotification removedNotification, int removedIdx)
afterRemoveNotificationFromCollection
in class com.vaadin.client.ui.VNotification
protected boolean isTrayNotification(com.vaadin.client.ui.VNotification notification)
protected boolean isLastTrayNotification(int index)
protected java.util.List<com.vaadin.client.ui.VNotification> getCurrentTrayList()