process(Event)
EventPattern matches a given event type (e.g. the block of code
to run in a more powerful switch statement)
| Modifier and Type | Class and Description |
|---|---|
| public static enum | InputHandler.
Signifies what to do after handling some input:
|
| Modifier and Type | Method and Description |
|---|---|
| public default void | handle(T event)
Implements javafx. Invoked when a specific event of the type for which this handler is registered happens. |
| public InputHandler. |
| handle | back to summary |
|---|---|
| public default void handle(T event) Implements javafx. Doc from javafx. Invoked when a specific event of the type for which this handler is registered happens.
| |
| process | back to summary |
|---|---|
| public InputHandler. When the corresponding | |
EventPattern (PROCEED)
CONSUME)
IGNORE)
| Modifier and Type | Field and Description |
|---|---|
| public static final InputHandler. | CONSUME
Stop trying to match the event type with the next given |
| public static final InputHandler. | IGNORE
Stop trying to match the event type with the next given |
| public static final InputHandler. | PROCEED
Try to continue to match the event type with the next given |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static InputHandler. | |
| public static InputHandler. |
| CONSUME | back to summary |
|---|---|
| public static final InputHandler. Stop trying to match the event type with the next given | |
| IGNORE | back to summary |
|---|---|
| public static final InputHandler. Stop trying to match the event type with the next given | |
| PROCEED | back to summary |
|---|---|
| public static final InputHandler. Try to continue to match the event type with the next given | |
| Result | back to summary |
|---|---|
| private Result() | |
| valueOf | back to summary |
|---|---|
| public static InputHandler. | |
| values | back to summary |
|---|---|
| public static InputHandler. | |