@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Repeatable(value=EventHandlers.class) public @interface EventHandler
| Modifier and Type | Required Element and Description |
|---|---|
String[] |
value
The event type(s) to be handled.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String[] |
mode
The wiring mode(s).
|
OnFailure |
onFailure
Action to be taken if event handler cannot be wired.
|
boolean |
syncToClient
If true, register the handler with the client.
|
String[] |
target
The event target(s).
|
public abstract String[] value
public abstract String[] mode
public abstract String[] target
public abstract OnFailure onFailure
Copyright © 2018 Fujion Framework. All rights reserved.