
public class NotificationMole extends Composite
| Modifier and Type | Class and Description |
|---|---|
static interface |
NotificationMole.Style
Default CSS styles for this widget.
|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledDEBUG_ID_PREFIX| Constructor and Description |
|---|
NotificationMole() |
| Modifier and Type | Method and Description |
|---|---|
void |
hide()
Hides the notification.
|
void |
hideNow()
Force mole to hide and discard outstanding show attempts.
|
void |
setAnimationDuration(int duration)
Sets the animation duration in milliseconds.
|
void |
setMessage(String message)
Sets the message text to be displayed.
|
void |
show()
Display the notification with the existing message.
|
void |
show(String message)
Set the message text and then display the notification.
|
void |
showDelayed(int delay)
Display the notification, but after a delay.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toStringpublic void hide()
public void hideNow()
public void setAnimationDuration(int duration)
duration - the animation duration in milliseconds.public void setMessage(String message)
message - the text to be displayed.public void show()
public void show(String message)
public void showDelayed(int delay)
delay - delay in milliseconds.Copyright © 2018. All rights reserved.