public class

NotificationMole

extends Composite
java.lang.Object
   ↳ com.google.gwt.user.client.ui.UIObject
     ↳ com.google.gwt.user.client.ui.Widget
       ↳ com.google.gwt.user.client.ui.Composite
         ↳ com.google.gwt.user.client.ui.NotificationMole

Class Overview

Simple widget for providing notification feedback.

Summary

Nested Classes
interface NotificationMole.Style Default CSS styles for this widget. 
[Expand]
Inherited Constants
From class com.google.gwt.user.client.ui.UIObject
Public Constructors
NotificationMole()
Public Methods
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(String message)
Set the message text and then display the notification.
void show()
Display the notification with the existing message.
void showDelayed(int delay)
Display the notification, but after a delay.
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.Composite
From class com.google.gwt.user.client.ui.Widget
From class com.google.gwt.user.client.ui.UIObject
From class java.lang.Object
From interface com.google.gwt.event.logical.shared.HasAttachHandlers
From interface com.google.gwt.event.shared.HasHandlers
From interface com.google.gwt.user.client.EventListener
From interface com.google.gwt.user.client.ui.IsWidget

Public Constructors

public NotificationMole ()

Public Methods

public void hide ()

Hides the notification.

public void hideNow ()

Force mole to hide and discard outstanding show attempts.

public void setAnimationDuration (int duration)

Sets the animation duration in milliseconds. The animation duration defaults to 0 if this method is never called.

Parameters
duration the animation duration in milliseconds.

public void setMessage (String message)

Sets the message text to be displayed.

Parameters
message the text to be displayed.

public void show (String message)

Set the message text and then display the notification.

public void show ()

Display the notification with the existing message.

public void showDelayed (int delay)

Display the notification, but after a delay.

Parameters
delay delay in milliseconds.