public interface IFXOnTypePolicy extends IPolicy<javafx.scene.Node>
IFXOnTypePolicy
interface
will be notified about keyboard events by the FXTypeTool
.Modifier and Type | Method and Description |
---|---|
void |
pressed(javafx.scene.input.KeyEvent event)
This callback method is invoked when the user presses a key while the
host has keyboard focus.
|
void |
released(javafx.scene.input.KeyEvent event)
This callback method is invoked when the user releases a key while the
host has keyboard focus.
|
void |
typed(javafx.scene.input.KeyEvent event)
This callback method is invoked when the user types a unicode key while
the host has keyboard focus.
|
void |
unfocus()
This callback method is invoked when the viewer loses its focus while a
key press/release gesture is running.
|
getAdaptable, setAdaptable
void pressed(javafx.scene.input.KeyEvent event)
event
- The original KeyEvent
.void released(javafx.scene.input.KeyEvent event)
event
- The original KeyEvent
.void typed(javafx.scene.input.KeyEvent event)
event
- The original KeyEvent
.void unfocus()
Copyright (c) 2014 itemis AG and others. All rights reserved.