|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectceleboss.ui.TrayIcon
This is the main class that launcher CelebOSS.
| Field Summary | |
static int |
ERROR
This is the constant for the Error balloon |
static int |
INFO
This is the constant for the Info balloon |
static int |
WARNING
This is the constant for the Warning balloon |
| Constructor Summary | |
TrayIcon(Launcher parent,
CelebrityManager celeb)
Create a tray icon instance for the CelebOSS system. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent arg0)
An action has been performed. |
void |
balloonChanged(com.jeans.trayicon.TrayBalloonEvent evt)
An event has occured on a raised balloon. |
void |
propertyChange(java.beans.PropertyChangeEvent arg0)
A change has occurred in a monitored property |
void |
showBalloon(java.lang.String title,
java.lang.String message,
int type)
Show a balloon with some text. |
void |
shutdown()
Shutdown the tray icon. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ERROR
public static final int INFO
public static final int WARNING
| Constructor Detail |
public TrayIcon(Launcher parent,
CelebrityManager celeb)
throws java.lang.UnsatisfiedLinkError
parent - Launch that control GUI activityceleb - Manager of the celebrity data.
java.lang.UnsatisfiedLinkError - if the operating system can not support
the concpet of a tray icon.| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed in interface java.awt.event.ActionListenerarg0 - Action description.ActionListener.actionPerformed(java.awt.event.ActionEvent)public void balloonChanged(com.jeans.trayicon.TrayBalloonEvent evt)
balloonChanged in interface com.jeans.trayicon.TrayBalloonListenerevt - Description of the event.TrayBalloonListener.balloonChanged(com.jeans.trayicon.TrayBalloonEvent)public void propertyChange(java.beans.PropertyChangeEvent arg0)
propertyChange in interface java.beans.PropertyChangeListenerarg0 - Description of changePropertyChangeListener.propertyChange(java.beans.PropertyChangeEvent)
public void showBalloon(java.lang.String title,
java.lang.String message,
int type)
title - Balloon title.message - Contentstype - Type of balloonpublic void shutdown()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||