|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.ui.client.services.AbstractService
org.overlord.sramp.ui.client.services.growl.GrowlService
public class GrowlService
Implements the lightweight notification service.
| Constructor Summary | |
|---|---|
GrowlService()
Constructor. |
|
| Method Summary | |
|---|---|
int |
growl(String title,
String message)
Growls a simple message at the user. |
int |
growl(String title,
String message,
GrowlType type)
Growls at the user. |
int |
growl(String title,
String message,
RemoteServiceException error)
Called by clients to notify the user of an error. |
protected void |
onGrowlClosed(Growl growl)
Called when a growl is closed, either by the user clicking on the close button or the alive timer fires. |
void |
onProgressComplete(int growlId,
String title,
String message)
Called by clients to inform the growl service that a progress style growl has completed successfully. |
void |
onProgressComplete(int growlId,
String title,
com.google.gwt.user.client.ui.Widget message)
Called by clients to inform the growl service that a progress style growl has completed successfully. |
void |
onProgressError(int growlId,
String title,
RemoteServiceException error)
Called by clients to inform the growl service that a progress style growl has completed with an error. |
void |
onProgressError(int growlId,
String title,
String message)
Called by clients to inform the growl service that a progress style growl has completed with an error. |
| Methods inherited from class org.overlord.sramp.ui.client.services.AbstractService |
|---|
start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.overlord.sramp.ui.client.services.IService |
|---|
start |
| Constructor Detail |
|---|
public GrowlService()
| Method Detail |
|---|
public int growl(String title,
String message)
IGrowlService
growl in interface IGrowlServiceIGrowlService.growl(java.lang.String, java.lang.String)
public int growl(String title,
String message,
GrowlType type)
IGrowlService
growl in interface IGrowlServiceIGrowlService.growl(java.lang.String, java.lang.String, org.overlord.sramp.ui.client.services.growl.GrowlType)
public int growl(String title,
String message,
RemoteServiceException error)
IGrowlService
growl in interface IGrowlServicetitle - the title for the growl dialogmessage - the message to show the usererror - the error that occuredIGrowlService.growl(java.lang.String, java.lang.String, org.overlord.sramp.ui.shared.rsvcs.RemoteServiceException)
public void onProgressComplete(int growlId,
String title,
String message)
IGrowlService
onProgressComplete in interface IGrowlServicegrowlId - the ID of the growl to update - returned by a previous call to growl()title - the new title for the growl dialogmessage - the new message for the growl dialogIGrowlService.onProgressComplete(int, java.lang.String, java.lang.String)
public void onProgressComplete(int growlId,
String title,
com.google.gwt.user.client.ui.Widget message)
IGrowlService
onProgressComplete in interface IGrowlServicegrowlId - the ID of the growl to update - returned by a previous call to growl()title - the new title for the growl dialogmessage - the new message for the growl dialogIGrowlService.onProgressComplete(int, java.lang.String, com.google.gwt.user.client.ui.Widget)
public void onProgressError(int growlId,
String title,
String message)
IGrowlService
onProgressError in interface IGrowlServicegrowlId - the ID of the growl to update - returned by a previous call to growl()title - the new title for the growl dialogmessage - the new message for the growl dialogIGrowlService.onProgressError(int, java.lang.String, java.lang.String)
public void onProgressError(int growlId,
String title,
RemoteServiceException error)
IGrowlService
onProgressError in interface IGrowlServicegrowlId - the ID of the growl to update - returned by a previous call to growl()title - the new title for the growl dialogerror - the error that occurredIGrowlService.onProgressError(int, java.lang.String, org.overlord.sramp.ui.shared.rsvcs.RemoteServiceException)protected void onGrowlClosed(Growl growl)
growl -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||