Inherits org.qscript.eventsonfire.AbstractEventHandlerStrategy.
Abstract implementation of an EventHandlerStrategy, that uses simple annotations like the EventHandler, PooledEventHandler or SwingEventHandler annotations.
- Author
- Manfred HANTSCHEL
- Parameters
-
<ANNOTATION_TYPE> | the type of the annotation |
EventHandlerInfo org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.createEventHandlerInfo |
( |
Method |
method | ) |
|
|
protectedvirtual |
abstract EventHandlerInfo org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.createEventHandlerInfo |
( |
ANNOTATION_TYPE |
annotation, |
|
|
Method |
method, |
|
|
Class<?>[] |
producerTypesByAnnotation, |
|
|
Class<?>[] |
eventTypesByAnnotation, |
|
|
String[] |
anyTagsByAnnotation, |
|
|
String[] |
eachTagsByAnnotation |
|
) |
| |
|
protectedpure virtual |
Called to create the EventHandlerInfo.
- Parameters
-
annotation | the annotation |
method | the method |
producerTypesByAnnotation | the producer types |
eventTypesByAnnotation | the event types |
anyTagsByAnnotation | the any tags |
eachTagsByAnnotation | the each tags |
- Returns
- the event handler information object
abstract Class<?> [] org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.getAllowedEventTypes |
( |
ANNOTATION_TYPE |
annotation, |
|
|
Method |
method |
|
) |
| |
|
protectedpure virtual |
Returns the allowed event types as specified in the annotation. If the annotation does not specify any special event types, the method returns an empty array.
- Parameters
-
annotation | the annotation |
method | the method |
- Returns
- an array of event types, never null
abstract Class<?> [] org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.getAllowedProducerTypes |
( |
ANNOTATION_TYPE |
annotation, |
|
|
Method |
method |
|
) |
| |
|
protectedpure virtual |
Returns the allowed producer types as specified in the annotation. If the annotation does not specify any special producer types, the method returns an empty array.
- Parameters
-
annotation | the annotation |
method | the method |
- Returns
- an array of producer types, never null
abstract Class<ANNOTATION_TYPE> org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.getAnnotationType |
( |
| ) |
|
|
protectedpure virtual |
Returns the type of the annotation
- Returns
- the type of the annotation
abstract String [] org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.getAnyTags |
( |
ANNOTATION_TYPE |
annotation, |
|
|
Method |
method |
|
) |
| |
|
protectedpure virtual |
Returns the anyTag of the annotation.
- Parameters
-
annotation | the annotation |
method | the method |
- Returns
- an array of strings, never null
abstract String [] org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.getEachTags |
( |
ANNOTATION_TYPE |
annotation, |
|
|
Method |
method |
|
) |
| |
|
protectedpure virtual |
Returns the eachTag of the annotation.
- Parameters
-
annotation | the annotation |
method | the method |
- Returns
- an array of strings, never null
The documentation for this class was generated from the following file:
- /Users/peter/git/qscript-repos/Q-script/src/org/qscript/eventsonfire/AbstractAnnotatedEventHandlerStrategy.java