com.brayan.SECS.BLL
Class TrayIconManager

java.lang.Object
  extended by com.brayan.SECS.BLL.TrayIconManager

public class TrayIconManager
extends java.lang.Object

This class manages the Tray Icon and offers appropriate methods to modify it. The Manager should prevent notifications to become overwritten by subsequent message. Queue!

Author:
Brayan

Field Summary
private  java.lang.String appendix
           
private static TrayIconManager ref
          class variables
private  java.awt.TrayIcon ti
           
private  java.lang.String titlePrefix
           
 
Constructor Summary
private TrayIconManager()
          constructor not allowed to be called externally
 
Method Summary
 java.lang.Object clone()
           
static TrayIconManager getSingletonObject()
           
private  void init()
           
 void showInfoMsg(java.lang.String title, java.lang.String msg)
          Displays Recommendations to the user
 void showMsg(java.lang.String title, java.lang.String msg)
          Display Hints to the users
 void showWarningMsg(java.lang.String title, java.lang.String msg)
          Displays Corporate Directives including Contact information.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ref

private static TrayIconManager ref
class variables


ti

private java.awt.TrayIcon ti

titlePrefix

private java.lang.String titlePrefix

appendix

private java.lang.String appendix
Constructor Detail

TrayIconManager

private TrayIconManager()
constructor not allowed to be called externally

Method Detail

getSingletonObject

public static TrayIconManager getSingletonObject()

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

init

private void init()

showInfoMsg

public void showInfoMsg(java.lang.String title,
                        java.lang.String msg)
Displays Recommendations to the user

Parameters:
title -
msg -

showWarningMsg

public void showWarningMsg(java.lang.String title,
                           java.lang.String msg)
Displays Corporate Directives including Contact information.

Parameters:
title -
msg -

showMsg

public void showMsg(java.lang.String title,
                    java.lang.String msg)
Display Hints to the users

Parameters:
title -
msg -