|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAptType
AptEventSet
public class AptEventSet
The AptEventSet class represents a control EventSet where the events are derived using APT metadata.
Constructor Summary | |
---|---|
AptEventSet(AptControlInterface controlIntf,
InterfaceDeclaration eventSet,
TwoPhaseAnnotationProcessor ap)
Constructs a new AptEventSet instance from APT metadata |
Method Summary | |
---|---|
String |
getAddListenerMethod()
Returns the name of the method used to register a new EventSet listener |
InterfaceDeclaration |
getDeclaration()
Returns the underlying APT InterfaceDeclaration associated with this event set |
String |
getDescriptorName()
Returns the programmatic descriptor name to be returned by the EventDescriptor for the event set. |
int |
getEventCount()
Returns the number of Events for this EventSet and any super event set |
Collection<AptEvent> |
getEvents()
Returns the list of Events associated with this EventSet |
EventSetInfo |
getEventSetInfo()
Returns any EventSetInfo associated with the event set (or null if none) |
String |
getGetListenersMethod()
Returns the name of the method used to retrieve the (unicast) EventSet listener |
String |
getInfoInitializer()
Returns the name of a custom-generated method to initialize MethodDescriptor bean info for the events in this EventSet |
String |
getNotifierClass()
Returns the name of the generated notifier class for this ControlEventSet |
String |
getNotifierExtends()
Returns any 'extends' clause that should be placed on the generated notifier class |
String |
getRemoveListenerMethod()
Returns the name of the method used to register a new EventSet listener |
AptEventSet |
getSuperEventSet()
Returns any EventSet from which this event set derives (or null if none) |
protected AptMethodSet<AptEvent> |
initEvents()
Initializes the list of Events associated with this EventSet |
AptEventSet |
initSuperEventSet()
Checks to see if this EventSet extends on declared on a parent control interface. |
boolean |
isUnicast()
Returns 'true' if the event set support only unicast (single listener) events, false otherwise. |
Methods inherited from class AptType |
---|
getClassName, getFormalClassName, getFormalShortName, getFormalTypeParameterNames, getFormalTypeParameters, getPackage, getShortName, getTypeDeclaration, setDeclaration |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AptEventSet(AptControlInterface controlIntf, InterfaceDeclaration eventSet, TwoPhaseAnnotationProcessor ap)
controlIntf
- the declaring control interfaceeventSet
- the EventSet classap
- the associated AnnotationProcessorMethod Detail |
---|
public AptEventSet initSuperEventSet()
public AptEventSet getSuperEventSet()
protected AptMethodSet<AptEvent> initEvents()
public Collection<AptEvent> getEvents()
public boolean isUnicast()
public int getEventCount()
public String getDescriptorName()
public String getNotifierClass()
public String getNotifierExtends()
public String getAddListenerMethod()
public String getRemoveListenerMethod()
public String getGetListenersMethod()
public String getInfoInitializer()
public EventSetInfo getEventSetInfo()
public InterfaceDeclaration getDeclaration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |