public class Progress extends Object implements com.google.gwt.user.client.ui.HasAnimation, com.google.gwt.user.client.ui.IsWidget
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_STYLE_NAME |
| Constructor and Description |
|---|
Progress() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.Widget |
asWidget() |
String |
getMessage()
Gets the message to be displayed to the user
|
String |
getTitle() |
void |
hide()
Hides the progress dialog
|
boolean |
isAnimationEnabled() |
void |
setAnimationEnabled(boolean animationEnabled) |
void |
setHeight(String height) |
void |
setMessage(com.google.gwt.safehtml.shared.SafeHtml message)
Sets the message to be displayed to the user
|
void |
setMessage(String message)
Sets the message to be displayed to the user
|
void |
setStyleName(String styleName) |
void |
setTitle(com.google.gwt.safehtml.shared.SafeHtml title) |
void |
setTitle(String title) |
void |
setWidth(String width) |
void |
show() |
static Progress |
show(String message)
Shows a progress dialog
|
static Progress |
show(String message,
String styleName,
boolean animationEnabled)
Shows a progress dialog
|
public static final String DEFAULT_STYLE_NAME
public boolean isAnimationEnabled()
isAnimationEnabled in interface com.google.gwt.user.client.ui.HasAnimationHasAnimation.isAnimationEnabled()public void setAnimationEnabled(boolean animationEnabled)
setAnimationEnabled in interface com.google.gwt.user.client.ui.HasAnimationHasAnimation.setAnimationEnabled(boolean)public String getMessage()
public void setMessage(com.google.gwt.safehtml.shared.SafeHtml message)
message - public void setMessage(String message)
message - public void show()
public void hide()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget in interface com.google.gwt.user.client.ui.IsWidgetpublic void setStyleName(String styleName)
styleName - public void setWidth(String width)
width - public void setHeight(String height)
height - public void setTitle(com.google.gwt.safehtml.shared.SafeHtml title)
title - public void setTitle(String title)
title - public String getTitle()
public static Progress show(String message)
message - the text to be displayed in the body of the message boxpublic static Progress show(String message, String styleName, boolean animationEnabled)
message - the text to be displayed in the body of the message boxstyleName - the name of the CSS class to be applied in the message box elementanimationEnabled - true to enable animations while showing or hiding the message boxCopyright © 2014. All rights reserved.