org.apache.beehive.controls.runtime.generator.apt
Class AptEventSet

Object
  extended by ControlEventSet
      extended by AptEventSet

public class AptEventSet
extends ControlEventSet

The AptEventSet class represents a control EventSet where the events are derived using APT metadata.


Constructor Summary
AptEventSet(AptControlInterface controlIntf, InterfaceDeclaration eventSet, AnnotationProcessorEnvironment env)
          Constructs a new AptEventSet instance from APT metadata
 
Method Summary
 String getName()
          Returns the fully qualified EventSet name
protected  ArrayList<ControlEvent> initEvents()
          Initializes the list of ControlEvents associated with this ControlEventSet
 
Methods inherited from class ControlEventSet
getAddListenerMethod, getEvents, getNotifierClass, getNotifierExtends, getRemoveListenerMethod, getShortName, init
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AptEventSet

public AptEventSet(AptControlInterface controlIntf,
                   InterfaceDeclaration eventSet,
                   AnnotationProcessorEnvironment env)
Constructs a new AptEventSet instance from APT metadata

Parameters:
controlIntf - the declaring control interface
eventSet - the EventSet class
env - the associated AnnotationProcessorEnvironment
Method Detail

initEvents

protected ArrayList<ControlEvent> initEvents()
Initializes the list of ControlEvents associated with this ControlEventSet

Specified by:
initEvents in class ControlEventSet

getName

public String getName()
Returns the fully qualified EventSet name

Specified by:
getName in class ControlEventSet