|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.zekr.ui.helper.EventUtils
public class EventUtils
Constructor Summary | |
---|---|
EventUtils()
|
Method Summary | |
---|---|
static void |
sendEvent(org.eclipse.swt.widgets.Control control,
int eventType,
java.lang.String eventName)
Creates and sends an event of type eventType to the specified shell. |
static void |
sendEvent(org.eclipse.swt.widgets.Control control,
java.lang.String eventName)
Creates and sends an event of type EventProtocol.CUSTOM_ZEKR_EVENT to the specified shell. |
static void |
sendEvent(int eventType,
java.lang.String eventName)
Creates and sends an event of type eventType to all shells listening for this event. |
static void |
sendEvent(java.lang.String eventName)
Creates and sends an event of type EventProtocol.CUSTOM_ZEKR_EVENT to all shells listening
for this event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventUtils()
Method Detail |
---|
public static void sendEvent(java.lang.String eventName)
EventProtocol.CUSTOM_ZEKR_EVENT
to all shells listening
for this event. Event.data
is set as eventName
parameter.
eventName
- Event.data
to be sentpublic static void sendEvent(int eventType, java.lang.String eventName)
eventType
to all shells listening for this event.
Event.data
is set as eventName
parameter.
eventType
- Event.type
to be senteventName
- Event.data
to be sentpublic static void sendEvent(org.eclipse.swt.widgets.Control control, int eventType, java.lang.String eventName)
eventType
to the specified shell.
Event.data
is set as eventName
parameter.
control
- event targeteventType
- Event.type
to be senteventName
- Event.data
to be sentpublic static void sendEvent(org.eclipse.swt.widgets.Control control, java.lang.String eventName)
EventProtocol.CUSTOM_ZEKR_EVENT
to the specified shell.
Event.data
is set as eventName
parameter.
control
- event targeteventName
- Event.data
to be sent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |