|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.maxistech.desktopex.SystemTrayEvent
An event that indicates that notification is generated from a system tray. Notification occurs when mouse cursor is over or a mouse button is clicked on a system tray.
| Field Summary | |
static int |
BUTTON1
Indicates mouse button #1; used by getButton() |
static int |
BUTTON2
Indicates mouse button #2; used by getButton() |
static int |
BUTTON3
Indicates mouse button #3; used by getButton() |
static int |
NOBUTTON
Indicates no mouse buttons; used by getButton() |
| Constructor Summary | |
SystemTrayEvent(SystemTray source,
int button,
int x,
int y)
Constructs a new SystemTrayEvent |
|
| Method Summary | |
int |
getButton()
Returns which, if any, of the mouse buttons has changed state. |
int |
getX()
Gets the horizontal x position of this event relative to the screen. |
int |
getY()
Gets the horizontal x position of this event relative to the screen. |
String |
toString()
|
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int NOBUTTON
getButton()
public static final int BUTTON1
getButton()
public static final int BUTTON2
getButton()
public static final int BUTTON3
getButton()
| Constructor Detail |
public SystemTrayEvent(SystemTray source,
int button,
int x,
int y)
SystemTrayEvent
source - the system tray that generates this eventbutton - mouse button, if any, that triggers this eventx - horizontal x position of the event relative to the screeny - vertical y position of the event relative to the screen| Method Detail |
public int getButton()
NOBUTTON,
BUTTON1,
BUTTON2,
BUTTON3public int getX()
public int getY()
public String toString()
toString in class EventObject
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||