@Retention(RUNTIME)
@Target({METHOD,TYPE})
public @interface ActionHandler
The value of this annotation describes the field(s) this EventListener
will be added to.
- Since:
- 1.0
-
Optional Element Summary
Optional Elements
Modifier and Type |
Optional Element |
Description |
java.lang.Class<? extends java.util.EventListener> |
type |
|
java.lang.String[] |
value |
|
-
Element Details
-
java.lang.String[] value
- Returns:
- the field names this listener should be added to
- Default:
- {}
-
java.lang.Class<? extends java.util.EventListener> type
- Returns:
- the type of this listener when a method is annotated
- Default:
- java.awt.event.ActionListener.class