|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.borg.ui.SunTrayIconProxy
public class SunTrayIconProxy
communicates with the new java built-in system tray APIs
| Constructor Summary | |
|---|---|
SunTrayIconProxy()
|
|
| Method Summary | |
|---|---|
static void |
addAction(String text,
ActionListener action)
Add an action to the action menu |
static SunTrayIconProxy |
getReference()
|
static boolean |
hasTrayIcon()
Checks for presence of the tray icon. |
void |
prefsChanged()
called when preferences changed. |
static void |
startTrayIcon(String trayname)
|
void |
updateImage()
set the icon image to the current date or a fixed icon with a B on it depending on user preference. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunTrayIconProxy()
| Method Detail |
|---|
public static SunTrayIconProxy getReference()
public static boolean hasTrayIcon()
public static void startTrayIcon(String trayname)
public void prefsChanged()
Prefs.Listener
prefsChanged in interface Prefs.Listenerpublic void updateImage()
public static void addAction(String text,
ActionListener action)
text - the text for the menu itemaction - the action listener for the menu item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||