public class NotificationPopupView
extends com.google.gwt.user.client.ui.DecoratedPopupPanel
com.google.gwt.user.client.ui.PopupPanel.AnimationType, com.google.gwt.user.client.ui.PopupPanel.PositionCallback
Constructor and Description |
---|
NotificationPopupView() |
Modifier and Type | Method and Description |
---|---|
void |
addNavigation(String text,
com.google.gwt.user.client.Command command) |
void |
setNotification(String text)
Set the text to display
|
void |
setNotificationWidth(String width)
Set the width of the Notification pop-up
|
void |
setType(NotificationEvent.NotificationType type) |
void |
show(com.google.gwt.user.client.Command onCompleteCommand) |
void |
show(com.google.gwt.user.client.Command onCompleteCommand,
boolean autoHide)
Show the Notification pop-up.
|
clear, doAttachChildren, doDetachChildren, getCellElement, getWidget, iterator, remove, setWidget
addAutoHidePartner, addCloseHandler, addPopupListener, center, getAnimationType, getContainerElement, getGlassElement, getGlassStyleName, getOffsetHeight, getOffsetWidth, getPopupLeft, getPopupTop, getStyleElement, getTitle, hide, hide, isAnimationEnabled, isAutoHideEnabled, isAutoHideOnHistoryEventsEnabled, isGlassEnabled, isModal, isPreviewingAllNativeEvents, isShowing, isVisible, onEventPreview, onKeyDownPreview, onKeyPressPreview, onKeyUpPreview, onPreviewNativeEvent, onUnload, removeAutoHidePartner, removePopupListener, setAnimationEnabled, setAnimationType, setAutoHideEnabled, setAutoHideOnHistoryEventsEnabled, setGlassEnabled, setGlassStyleName, setHeight, setModal, setPopupPosition, setPopupPositionAndShow, setPreviewingAllNativeEvents, setTitle, setVisible, setWidth, show, showRelativeTo
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public void setNotification(String text)
text
- public void setType(NotificationEvent.NotificationType type)
public void setNotificationWidth(String width)
width
- public void show(com.google.gwt.user.client.Command onCompleteCommand)
public void show(com.google.gwt.user.client.Command onCompleteCommand, boolean autoHide)
onCompleteCommand
- public void addNavigation(String text, com.google.gwt.user.client.Command command)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.