dsto.dfc.util.win32
Class TaskBar
java.lang.Object
dsto.dfc.util.win32.TaskBar
public class TaskBar
- extends Object
Utilties for accessing the Windows taskbar, including the tray.
- Version:
- $Revision$
Nested Class Summary |
static class |
TaskBar.TrayIcon
Represents an icon added to the tray. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uidCounter
protected static int uidCounter
TaskBar
public TaskBar()
addTrayIcon
public static TaskBar.TrayIcon addTrayIcon(Win32Icon icon,
String tooltip)
addTrayIcon
public static TaskBar.TrayIcon addTrayIcon(Win32Icon icon,
String tooltip,
TrayIconListener listener)
- Throws:
IllegalArgumentException
- If there are too many icons.
removeTrayIcon
public static void removeTrayIcon(TaskBar.TrayIcon trayIcon)
taskbarCallback
protected static void taskbarCallback(int uid,
int event)
winAddTrayIcon
protected static boolean winAddTrayIcon(int hicon,
String tooltip,
int uid)
winUpdateTrayIcon
protected static void winUpdateTrayIcon(int uid,
int handle)
winRemoveTrayIcon
protected static void winRemoveTrayIcon(int uid)
Copyright © 2008 Commonwealth of Australia