com.leafdigital.notification.api
Interface Notification

All Superinterfaces:
Singleton

public interface Notification
extends Singleton

Singleton that provides popup notification facilities.

See Also:
NotificationListMsg

Method Summary
 boolean hasTrayIcon()
          Checks whether the tray icon (owned by this plugin) exists or not.
 void notify(java.lang.String type, java.lang.String title, java.lang.String message)
          Creates the notification popup.
 

Method Detail

notify

void notify(java.lang.String type,
            java.lang.String title,
            java.lang.String message)
Creates the notification popup.

Parameters:
type - Type (must have been previously registered via NotificationListMsg)
title - Title for popup
message - Text for popup (empty string if none)

hasTrayIcon

boolean hasTrayIcon()
Checks whether the tray icon (owned by this plugin) exists or not.

Returns:
True if there is a tray icon


Copyright © 2011 Samuel Marshall. All rights reserved.