| java.lang.Object org.apache.beehive.controls.runtime.generator.EventAdaptor
EventAdaptor | public class EventAdaptor (Code) | | The EventAdaptor class represents the generated class that is necessary to route
events for a EventSet onto implemented EventHandlers on an implementation class.
|
EventAdaptor | public EventAdaptor(AptEventField eventField, AptEventSet eventSet)(Code) | | Constructs a new EventAdaptor for events declared on an EventSet
|
addHandler | public void addHandler(AptEvent event, AptMethod eventHandler)(Code) | | Adds a new EventHandler for a Event to the EventAdaptor
|
getClassName | public String getClassName()(Code) | | Returns the name of the generated class for this adaptor.
|
getEventField | public AptEventField getEventField()(Code) | | Returns the event field associated with this event adaptor
|
getEventSet | public AptEventSet getEventSet()(Code) | | Returns the EventSet associated with this Adaptor
|
getEventSetBinding | public String getEventSetBinding()(Code) | | Returns any formal type parameter declaration for EventSet interface associated with
the adaptor class. This will bind the formal types of the interface based on any type
binding from the event field declaration
|
getFormalClassName | public String getFormalClassName()(Code) | | Returns the name of the generated class for this adaptor, including any formal type
declarations from the associate event set.
|
getHandler | public AptMethod getHandler(AptEvent event)(Code) | | Returns the EventHandler for a ControlEvent on this EventAdaptor
|
hasHandler | public boolean hasHandler(AptEvent event)(Code) | | Returns true if there is an EventHandler for ControlEvent on this EventAdaptor
|
|
|