|
|||||||||
| Home >> All >> org >> eclipse >> swt >> [ widgets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.swt.widgets
Class EventTable

java.lang.Objectorg.eclipse.swt.widgets.EventTable
- class EventTable
- extends java.lang.Object
Instances of this class implement a simple look up mechanism that maps an event type to a listener. Muliple listeners for the same event type are supported.
| Field Summary | |
(package private) int |
level
|
(package private) Listener[] |
listeners
|
(package private) int[] |
types
|
| Constructor Summary | |
(package private) |
EventTable()
|
| Method Summary | |
void |
hook(int eventType,
Listener listener)
|
boolean |
hooks(int eventType)
|
(package private) void |
remove(int index)
|
void |
sendEvent(Event event)
|
int |
size()
|
void |
unhook(int eventType,
Listener listener)
|
void |
unhook(int eventType,
org.eclipse.swt.internal.SWTEventListener listener)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
types
int[] types
listeners
Listener[] listeners
level
int level
| Constructor Detail |
EventTable
EventTable()
| Method Detail |
hook
public void hook(int eventType,
Listener listener)
hooks
public boolean hooks(int eventType)
sendEvent
public void sendEvent(Event event)
size
public int size()
remove
void remove(int index)
unhook
public void unhook(int eventType,
Listener listener)
unhook
public void unhook(int eventType,
org.eclipse.swt.internal.SWTEventListener listener)
|
|||||||||
| Home >> All >> org >> eclipse >> swt >> [ widgets overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.eclipse.swt.widgets.EventTable