Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.swt.widgets
Class EventTable  view EventTable download EventTable.java

java.lang.Object
  extended byorg.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)