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 | Field and Description |
---|---|
static ICommand |
ICommand.ADD_LABEL
A
ICommand that can be executed from within the GraphControl
to add another label
to the ILabelOwner that is specified by the
Parameter . |
static ICommand |
ICommand.ADJUST_GROUP_NODE_SIZE
A
ICommand that can be executed from within the GraphControl
to
adjust the size of the selected group nodes . |
static ICommand |
ICommand.BEGIN_EDGE_CREATION
This is an
ICommand that CreateEdgeInputMode instances can execute if they
have been installed
in a CanvasControl . |
static ICommand |
ICommand.CLOSE
A
ICommand to close a document. |
static ICommand |
ICommand.COLLAPSE_GROUP
|
static ICommand |
ICommand.COPY
A
ICommand to copy to the clipboard. |
static ICommand |
ICommand.CUT
A
ICommand to cut an item and place it in the clipboard. |
static ICommand |
ICommand.DECREASE_ZOOM
A
ICommand to decrease the zoom level. |
static ICommand |
ICommand.DELETE
A
ICommand to delete an item. |
static ICommand |
ICommand.DESELECT_ALL
|
static ICommand |
ICommand.DESELECT_ITEM
A
ICommand that can be executed from within the GraphControl
to deselect the item that is specified by the
Parameter . |
static ICommand |
ICommand.DUPLICATE
A
ICommand that can be executed from within the GraphControl
to duplicate items
of the current IGraph . |
static ICommand |
ICommand.EDIT_LABEL
A
ICommand that can be executed from within the GraphControl
to edit the label
that is specified by the Parameter . |
static ICommand |
ICommand.ENTER_GROUP
A
ICommand that can be executed from within the GraphControl
to switch the local root of the current IFoldingView
view to the given group node. |
static ICommand |
ICommand.EXIT_GROUP
A
ICommand that can be executed from within the GraphControl
to exit the current local root of the current IFoldingView
view to the given parent view. |
static ICommand |
ICommand.EXPAND_GROUP
|
static ICommand |
ICommand.EXTEND_SELECTION_DOWN
A
ICommand to extend the selection downwards. |
static ICommand |
ICommand.EXTEND_SELECTION_LEFT
A
ICommand to extend the selection to the left. |
static ICommand |
ICommand.EXTEND_SELECTION_RIGHT
A
ICommand to extend the selection to the right. |
static ICommand |
ICommand.EXTEND_SELECTION_UP
A
ICommand to extend the selection upwards. |
static ICommand |
ICommand.FIT_CONTENT
A
ICommand that invokes fitContent if executed. |
static ICommand |
ICommand.FIT_GRAPH_BOUNDS
The
ICommand that performs the GraphControl.fitGraphBounds(com.yworks.yfiles.geometry.InsetsD)
action. |
static ICommand |
ICommand.GROUP_SELECTION
|
static ICommand |
ICommand.HELP
A
ICommand to open help. |
static ICommand |
ICommand.INCREASE_ZOOM
A
ICommand to increase the zoom level. |
static ICommand |
ICommand.MOVE_DOWN
A
ICommand to move the selection down. |
static ICommand |
ICommand.MOVE_FOCUS_BACK
A
ICommand to move the focus backwards. |
static ICommand |
ICommand.MOVE_FOCUS_DOWN
A
ICommand to move the focus downwards. |
static ICommand |
ICommand.MOVE_FOCUS_FORWARD
A
ICommand to move the focus forwards. |
static ICommand |
ICommand.MOVE_FOCUS_PAGE_DOWN
A
ICommand to move the focus up a page. |
static ICommand |
ICommand.MOVE_FOCUS_PAGE_UP
A
ICommand to move the focus up a page. |
static ICommand |
ICommand.MOVE_FOCUS_UP
A
ICommand to move the focus upwards. |
static ICommand |
ICommand.MOVE_LEFT
A
ICommand to move the selection left. |
static ICommand |
ICommand.MOVE_RIGHT
A
ICommand to move the selection right. |
static ICommand |
ICommand.MOVE_TO_PAGE_DOWN
A
ICommand to move the selection down a page. |
static ICommand |
ICommand.MOVE_TO_PAGE_UP
A
ICommand to move the selection up a page. |
static ICommand |
ICommand.MOVE_UP
A
ICommand to move the selection up. |
static ICommand |
ICommand.NEW
A
ICommand to create a new document. |
static ICommand |
ICommand.OPEN
A
ICommand to open a document. |
static ICommand |
ICommand.PASTE
A
ICommand to paste from the clipboard. |
static ICommand |
ICommand.PRINT
A
ICommand to print. |
static ICommand |
ICommand.PRINT_PREVIEW
A
ICommand that indicates the intention to print and show a preview of what to print beforehand. |
static ICommand |
ICommand.PROPERTIES
A
ICommand to show properties of an item. |
static ICommand |
ICommand.REDO
A
ICommand to redo a previously undone operation. |
static ICommand |
ICommand.REVERSE_EDGE
A
ICommand that reverses the direction of edges. |
static ICommand |
ICommand.SAVE
A
ICommand to save an item. |
static ICommand |
ICommand.SAVE_AS
A
ICommand to save an item under a new name. |
static ICommand |
ICommand.SCROLL_PAGE_DOWN
A
ICommand to scroll down. |
static ICommand |
ICommand.SCROLL_PAGE_LEFT
A
ICommand to scroll left. |
static ICommand |
ICommand.SCROLL_PAGE_RIGHT
A
ICommand to scroll right. |
static ICommand |
ICommand.SCROLL_PAGE_UP
A
ICommand to scroll up. |
static ICommand |
ICommand.SELECT_ALL
A
ICommand to select all items. |
static ICommand |
ICommand.SELECT_ITEM
A
ICommand that can be executed from within the GraphControl
to select the item that is specified by the
Parameter . |
static ICommand |
ICommand.SELECT_TO_PAGE_DOWN
A
ICommand to extend the selection a page downwards. |
static ICommand |
ICommand.SELECT_TO_PAGE_UP
A
ICommand to extend the selection a page upwards. |
static ICommand |
ICommand.SET_CURRENT_ITEM
A
ICommand that invokes CurrentItem if executed. |
static ICommand |
ICommand.TOGGLE_EXPANSION_STATE
A
ICommand that can be executed from within the GraphControl
to toggle
the collapsed/expanded state of currently selected group nodes. |
static ICommand |
ICommand.TOGGLE_ITEM_SELECTION
A
ICommand that can be executed from within the GraphControl
to toggle the selection state of the item that is specified by the
Parameter . |
static ICommand |
ICommand.UNDO
A
ICommand to undo the previous operation. |
static ICommand |
ICommand.UNGROUP_SELECTION
A
ICommand that can be executed from within the GraphControl
to ungroup the currently selected items . |
static ICommand |
ICommand.UPDATE_CONTENT_RECT
A
ICommand that invokes updateContentRect
if executed. |
static ICommand |
ICommand.ZOOM
A
ICommand to set the zoom level. |
static ICommand |
ICommand.ZOOM_TO_CURRENT_ITEM
A
ICommand that changes the Zoom and the ViewPoint
in an animated fashion such that the CurrentItem becomes
fully visible. |
Modifier and Type | Method and Description |
---|---|
static ICommand |
ICommand.createCommand()
Creates a new
ICommand instance that does nothing. |
static ICommand |
ICommand.createCommand(String name)
Creates a new
ICommand instance that does nothing. |
ICommand |
KeyboardInputModeRecognizerBinding.getCommand()
Gets the
ICommand that is associated with this binding. |
ICommand |
KeyboardInputModeKeyBinding.getCommand()
Gets the
ICommand that is associated with this binding. |
ICommand |
KeyboardInputModeCommandBinding.getCommand()
Gets the
ICommand that is associated with this binding. |
abstract ICommand |
KeyboardInputModeBinding.getCommand()
Gets the
ICommand that is associated with this binding. |
Modifier and Type | Method and Description |
---|---|
Collection<ICommand> |
OverviewInputMode.getAvailableCommands()
Gets the list of commands that are available in this instance.
|
Collection<ICommand> |
NavigationInputMode.getAvailableCommands()
Gets the list of commands that are available in this instance.
|
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.
|
KeyboardInputModeCommandBinding |
KeyboardInputMode.addCommandBinding(ICommand command,
KeyboardInputMode.ExecuteCommandHandler execute,
KeyboardInputMode.CanExecuteCommandHandler canExecute)
Adds a command and associated execution handlers to this instance.
|
KeyboardInputModeBinding |
KeyboardInputMode.addKeyBinding(KeyCodeCombination gesture,
ICommand command)
Adds an event handler for a specific key press gesture to this mode.
|
KeyboardInputModeKeyBinding |
KeyboardInputMode.addKeyBinding(KeyCodeCombination gesture,
ICommand command,
Object commandParameter)
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 . |
KeyboardInputModeRecognizerBinding |
KeyboardInputMode.addRecognizerBinding(IEventRecognizer recognizer,
ICommand command,
Object commandParameter)
Adds a given handler to this instance that will be triggered if the IEventRecognizer recognizes a key event
that has been triggered by the canvas control.
|
boolean |
KeyboardInputMode.CanExecuteCommandHandler.canExecuteCommand(ICommand command,
Object parameter,
Object source)
Defines the contract for determining whether a given
ICommand can be executed for the given parameter set. |
boolean |
KeyboardInputMode.ExecuteCommandHandler.executeCommand(ICommand command,
Object parameter,
Object source)
Defines the contract for executign a given
ICommand for the given parameter set. |
Collection<KeyboardInputModeCommandBinding> |
KeyboardInputMode.getCommandBindings(ICommand command)
Returns the command bindings that have been registered using one of this
mode's
addCommandBinding methods for the given command. |
Collection<KeyboardInputModeKeyBinding> |
KeyboardInputMode.getKeyBindings(ICommand command)
Returns the key bindings registered for the given command.
|
Collection<KeyboardInputModeRecognizerBinding> |
KeyboardInputMode.getRecognizerBindings(ICommand command)
Returns the recognizer bindings registered for the given command.
|
void |
KeyboardInputMode.removeCommand(ICommand command)
Removes all previously registered commands from this instance.
|
protected boolean |
TableEditorInputMode.shouldInstallCommand(ICommand command)
Callback method that is used by
TableEditorInputMode.onKeyboardInputModeChanged(KeyboardInputMode, KeyboardInputMode) to determine
which of the built-in ICommand s to install. |
protected boolean |
OverviewInputMode.shouldInstallCommand(ICommand command)
Callback method that is used by
OverviewInputMode.createKeyboardInputMode() to determine which of the built-in
ICommand s to install. |