|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.regexlab.j2e.SystemTray
public class SystemTray
System Tray icon class.
| Field Summary | |
|---|---|
static int |
INFOTYPE_ERROR
win2k style balloon info type |
static int |
INFOTYPE_INFO
win2k style balloon info type |
static int |
INFOTYPE_NONE
win2k style balloon info type |
static int |
INFOTYPE_WARNING
win2k style balloon info type |
static int |
LEFT_CLICK
system tray mouse event |
static int |
LEFT_DOUBLE_CLICK
system tray mouse event |
static int |
MIDDLE_CLICK
system tray mouse event |
static int |
MIDDLE_DOUBLE_CLICK
system tray mouse event |
static int |
MOUSE_MOVE
system tray mouse event |
static int |
RIGHT_CLICK
system tray mouse event |
static int |
RIGHT_DOUBLE_CLICK
system tray mouse event |
| Constructor Summary | |
|---|---|
SystemTray(int nIcon,
java.lang.String szTip)
Construct a SystemTray without windows 2000 style balloon info. |
|
SystemTray(int nIcon,
java.lang.String szTip,
java.lang.String szInfo,
java.lang.String szInfoTitle,
int nInfoType)
Construct a SystemTray with windows 2000 style balloon info. |
|
| Method Summary | |
|---|---|
void |
Change(int nIcon,
java.lang.String szTip)
Change the system tray. |
void |
Change(int nIcon,
java.lang.String szTip,
java.lang.String szInfo,
java.lang.String szInfoTitle,
int nInfoType)
Change the system tray. |
void |
Hide()
Hide system tray. |
static void |
setSystemTrayCallback(SystemTrayCallback callback)
Set the mouse event callback handler. |
void |
Show()
Show system tray. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INFOTYPE_NONE
public static final int INFOTYPE_INFO
public static final int INFOTYPE_WARNING
public static final int INFOTYPE_ERROR
public static final int MOUSE_MOVE
public static final int LEFT_CLICK
public static final int LEFT_DOUBLE_CLICK
public static final int RIGHT_CLICK
public static final int RIGHT_DOUBLE_CLICK
public static final int MIDDLE_CLICK
public static final int MIDDLE_DOUBLE_CLICK
| Constructor Detail |
|---|
public SystemTray(int nIcon,
java.lang.String szTip)
nIcon - - Icon number in the exefile. The first icon's number is 1.szTip - - Tooltip text of the icon.
public SystemTray(int nIcon,
java.lang.String szTip,
java.lang.String szInfo,
java.lang.String szInfoTitle,
int nInfoType)
nIcon - - Icon number in the exefile. The first icon's number is 1.szTip - - Tooltip text of the icon.szInfo - - Balloon info text.szInfoTitle - - Balloon info title.nInfoType - - Icon type of the balloon info.| Method Detail |
|---|
public void Change(int nIcon,
java.lang.String szTip)
nIcon - - Icon number in the exefile. The first icon's number is 1.szTip - - Tooltip text of the icon.
public void Change(int nIcon,
java.lang.String szTip,
java.lang.String szInfo,
java.lang.String szInfoTitle,
int nInfoType)
nIcon - - Icon number in the exefile. The first icon's number is 1.szTip - - Tooltip text of the icon.szInfo - - Balloon info text.szInfoTitle - - Balloon info title.nInfoType - - Icon type of the balloon info.public void Show()
public void Hide()
public static void setSystemTrayCallback(SystemTrayCallback callback)
callback - - Handler to receive mouse event.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||