|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventAdaptor
public class EventAdaptor
The EventAdaptor class represents the generated class that is necessary to route events for a EventSet onto implemented EventHandlers on an implementation class.
Constructor Summary | |
---|---|
EventAdaptor(EventField eventField,
ControlEventSet eventSet)
Constructs a new EventAdaptor for events declared on an EventSet |
Method Summary | |
---|---|
void |
addHandler(ControlEvent event,
GenMethod eventHandler)
Adds a new EventHandler for a ControlEvent to the EventAdaptor |
String |
getClassName()
Returns the name of the generated class for this adaptor |
ControlEventSet |
getEventSet()
Returns the EventSet associated with this Adaptor |
GenMethod |
getHandler(ControlEvent event)
Returns the EventHandler for a ControlEvent on this EventAdaptor |
boolean |
hasHandler(ControlEvent event)
Returns true if there is an EventHandler for ControlEvent on this EventAdaptor |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventAdaptor(EventField eventField, ControlEventSet eventSet)
Method Detail |
---|
public String getClassName()
public ControlEventSet getEventSet()
public void addHandler(ControlEvent event, GenMethod eventHandler)
public boolean hasHandler(ControlEvent event)
public GenMethod getHandler(ControlEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |