Package | Description |
---|---|
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Class and Description |
---|---|
class |
KeyboardInputModeCommandBinding
A token returned by
KeyboardInputMode 's factory methods that can be
used to KeyboardInputModeCommandBinding.remove() the created command binding again. |
class |
KeyboardInputModeKeyBinding
A token returned by
KeyboardInputMode 's factory methods that can be
used to KeyboardInputModeKeyBinding.remove() the created key binding again. |
class |
KeyboardInputModeRecognizerBinding
A token returned by
KeyboardInputMode 's factory methods that can be
used to KeyboardInputModeRecognizerBinding.remove() the created recognizer binding again. |
Modifier and Type | Method and Description |
---|---|
KeyboardInputModeBinding |
KeyboardInputMode.addCommandBinding(ICommand command)
Adds a command and associated execution handlers to this instance.
|
KeyboardInputModeBinding |
KeyboardInputMode.addCommandBinding(ICommand command,
KeyboardInputMode.ExecuteCommandHandler execute)
Adds a command and associated execution handlers to this instance.
|
KeyboardInputModeBinding |
KeyboardInputMode.addHandler(IEventRecognizer recognizer,
KeyboardInputMode.ExecuteCommandHandler handler)
Adds an event handler for key events recognized by the given
IEventRecognizer . |
KeyboardInputModeBinding |
KeyboardInputMode.addHandler(KeyCodeCombination accelerator,
KeyboardInputMode.ExecuteCommandHandler handler)
Adds an event handler for the given
KeyCodeCombination to this mode. |
KeyboardInputModeBinding |
KeyboardInputMode.addKeyBinding(KeyCodeCombination gesture,
ICommand command)
Adds an event handler for a specific key press gesture to this mode.
|
KeyboardInputModeBinding |
KeyboardInputMode.addKeyBinding(KeyCode key,
ModifierKeys modifiers,
ICommand command,
Object commandParameter)
Adds an event handler for a specific key press gesture to this mode.
|
KeyboardInputModeBinding |
KeyboardInputMode.addRecognizerBinding(IEventRecognizer recognizer,
ICommand command)
Adds a given handler to this instance that will be triggered if the
IEventRecognizer recognizes a key event
that has been triggered by the CanvasControl . |