org.overlord.sramp.ui.client.services.growl
Class Growl
java.lang.Object
org.overlord.sramp.ui.client.services.growl.Growl
public class Growl
- extends Object
Models a single notification being tracked by the growl service.
- Author:
- eric.wittmann@redhat.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Growl
public Growl(int id,
String title,
String message)
- Constructor.
- Parameters:
id - title - message -
getTimestamp
public Date getTimestamp()
- Returns:
- the timestamp
getTitle
public String getTitle()
- Returns:
- the title
getMessage
public String getMessage()
- Returns:
- the message
getAliveTimer
public com.google.gwt.user.client.Timer getAliveTimer()
- Returns:
- the aliveTimer
getFadeTimer
public com.google.gwt.user.client.Timer getFadeTimer()
- Returns:
- the fadeTimer
setTimestamp
public void setTimestamp(Date timestamp)
- Parameters:
timestamp - the timestamp to set
setTitle
public void setTitle(String title)
- Parameters:
title - the title to set
setMessage
public void setMessage(String message)
- Parameters:
message - the message to set
setAliveTimer
public void setAliveTimer(com.google.gwt.user.client.Timer aliveTimer)
- Parameters:
aliveTimer - the aliveTimer to set
setFadeTimer
public void setFadeTimer(com.google.gwt.user.client.Timer fadeTimer)
- Parameters:
fadeTimer - the fadeTimer to set
getDialog
public GrowlDialog getDialog()
- Returns:
- the dialog
setDialog
public void setDialog(GrowlDialog dialog)
- Parameters:
dialog - the dialog to set
getId
public int getId()
- Returns:
- the id
setId
public void setId(int id)
- Parameters:
id - the id to set
getAutoCloseAnimation
public com.google.gwt.animation.client.Animation getAutoCloseAnimation()
- Returns:
- the autoCloseAnimation
setAutoCloseAnimation
public void setAutoCloseAnimation(com.google.gwt.animation.client.Animation autoCloseAnimation)
- Parameters:
autoCloseAnimation - the autoCloseAnimation to set
getGrowlIndex
public int getGrowlIndex()
- Returns:
- the growlIndex
setGrowlIndex
public void setGrowlIndex(int growlIndex)
- Parameters:
growlIndex - the growlIndex to set
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.