com.limegroup.gnutella.gui.notify
Class NotifyUserProxy

java.lang.Object
  extended bycom.limegroup.gnutella.gui.notify.NotifyUserProxy
All Implemented Interfaces:
NotifyUser

public class NotifyUserProxy
extends java.lang.Object
implements NotifyUser

This class acts as a proxy for a platform-specific user notification class.


Method Summary
 void addNotify()
          Adds the notification gui object to the desktop.
 void hideNotify()
          Hides the user notification mechanism.
static NotifyUserProxy instance()
          Instance accessor method for the single object of this class, following the singleton pattern.
 void removeNotify()
          Removes the notification gui object from the desktop.
 void updateDesc(java.lang.String desc)
          Updates the user notification description,
 void updateImage(java.lang.String imageFileName)
          Updates the user notification image file
 void updateNotify(java.lang.String imageFileName, java.lang.String desc)
          Updates the user notification image file and description,
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static NotifyUserProxy instance()
Instance accessor method for the single object of this class, following the singleton pattern.

Returns:
a NotifyUserProxy instance for this object

addNotify

public void addNotify()
Description copied from interface: NotifyUser
Adds the notification gui object to the desktop.

Specified by:
addNotify in interface NotifyUser

removeNotify

public void removeNotify()
Description copied from interface: NotifyUser
Removes the notification gui object from the desktop.

Specified by:
removeNotify in interface NotifyUser

updateNotify

public void updateNotify(java.lang.String imageFileName,
                         java.lang.String desc)
Description copied from interface: NotifyUser
Updates the user notification image file and description,

Specified by:
updateNotify in interface NotifyUser
Parameters:
imageFileName - the name of the image file to update to, relative to the current directory, as in "LimeWire.ico"
desc - the description to use

updateDesc

public void updateDesc(java.lang.String desc)
Description copied from interface: NotifyUser
Updates the user notification description,

Specified by:
updateDesc in interface NotifyUser
Parameters:
desc - the description to use

updateImage

public void updateImage(java.lang.String imageFileName)
Description copied from interface: NotifyUser
Updates the user notification image file

Specified by:
updateImage in interface NotifyUser
Parameters:
imageFileName - the name of the image file to update to, relative to the current directory, as in "LimeWire.ico"

hideNotify

public void hideNotify()
Description copied from interface: NotifyUser
Hides the user notification mechanism.

Specified by:
hideNotify in interface NotifyUser