Class EventTable
java.lang.Object
org.eclipse.swt.widgets.EventTable
Instances of this class implement a simple
look up mechanism that maps an event type
to a listener. Multiple listeners for the
same event type are supported.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionListener[]getListeners(int eventType) voidbooleanhooks(int eventType) (package private) voidremove(int index) voidintsize()voidunhook(int eventType, EventListener listener) void
-
Field Details
-
types
int[] types -
listeners
Listener[] listeners -
level
int level -
GROW_SIZE
static final int GROW_SIZE- See Also:
-
-
Constructor Details
-
EventTable
EventTable()
-
-
Method Details
-
getListeners
-
hook
-
hooks
public boolean hooks(int eventType) -
sendEvent
-
size
public int size() -
remove
void remove(int index) -
unhook
-
unhook
-