Package | Description |
---|---|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
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 ModifierKeys |
ModifierKeys.ALT |
static ModifierKeys |
ModifierKeys.CONTROL |
static ModifierKeys |
ModifierKeys.NONE |
static ModifierKeys |
ModifierKeys.SHIFT |
static ModifierKeys |
ModifierKeys.SHORTCUT |
static ModifierKeys |
ModifierKeys.WINDOWS |
Modifier and Type | Method and Description |
---|---|
static ModifierKeys |
ModifierKeys.fromEvent(IEventArgs e) |
static ModifierKeys |
ModifierKeys.fromEvent(KeyEvent args) |
static ModifierKeys |
ModifierKeys.fromEvent(MouseEvent args) |
static ModifierKeys |
ModifierKeys.fromEvent(ScrollEvent args) |
static ModifierKeys |
ModifierKeys.fromEvent(TouchEvent args) |
static ModifierKeys |
ModifierKeys.fromKeyCombination(KeyCombination combination) |
static ModifierKeys |
ModifierKeys.fromName(String name) |
static ModifierKeys |
ModifierKeys.fromOrdinal(int value) |
protected ModifierKeys |
ModifierKeys.fromOrdinalImpl(int ordinal) |
ModifierKeys |
Touch2DEvent.getChangedModifiers()
Returns the modifier keys that have changed for this event.
|
ModifierKeys |
Mouse2DEvent.getChangedModifiers()
Returns the modifier keys that have changed for this event.
|
protected ModifierKeys[] |
ModifierKeys.getItems() |
ModifierKeys |
Touch2DEvent.getModifiers()
The state of the modifier keys at the time of the event creation.
|
ModifierKeys |
Mouse2DEvent.getModifiers()
The state of the modifier keys at the time of the event creation.
|
ModifierKeys |
KeyEventArgs.getModifiers()
Gets the modifiers.
|
ModifierKeys |
CompoundKeyEvent.getModifiers()
Returns the state of the modifiers at the time of the event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CanvasControl.redispatchMouse2DEvent(ModifierKeys newModifiers)
Redispatches a previously fired mouse event appropriately, e.g. if the view port has changed.
|
static KeyCombination.ModifierValue[] |
ModifierKeys.toModifierValues(ModifierKeys modifiers) |
Constructor and Description |
---|
Mouse2DEvent(Object source,
EventType<Mouse2DEvent> eventType,
PointD location,
MouseButtons changedButtons,
ModifierKeys changedModifiers,
MouseButtons buttons,
ModifierKeys modifiers)
Constructs a new mouse event argument.
|
Mouse2DEvent(Object source,
EventType<Mouse2DEvent> eventType,
PointD location,
MouseButtons changedButtons,
ModifierKeys changedModifiers,
MouseButtons buttons,
ModifierKeys modifiers,
int mouseWheelDelta,
ScrollType scrollType,
int scrollAmount,
int clickCount)
Constructs a new mouse event argument.
|
Touch2DEvent(Object source,
EventType<Touch2DEvent> eventType,
PointD location,
Touch2DPoint touchPoint,
ModifierKeys changedModifiers,
ModifierKeys modifiers)
Constructs a new Touch2DEvent argument.
|
Touch2DEvent(Object source,
EventType<Touch2DEvent> eventType,
PointD location,
Touch2DPoint touchPoint,
ModifierKeys changedModifiers,
ModifierKeys modifiers,
int tapCount)
Constructs a new touch event argument.
|
Modifier and Type | Method and Description |
---|---|
ModifierKeys |
ClickInputMode.getModifiers()
Returns the state of the modifier keys at the time of the end of the gesture.
|
ModifierKeys |
ClickEventArgs.getModifiers()
Gets the state of the modifiers at the time of the click.
|
Modifier and Type | Method and Description |
---|---|
KeyboardInputModeBinding |
KeyboardInputMode.addKeyBinding(KeyCode key,
ModifierKeys modifiers,
ICommand command,
Object commandParameter)
Adds an event handler for a specific key press gesture to this mode.
|
static IEventRecognizer |
IEventRecognizer.createKeyEventRecognizer(EventType<KeyEvent> type,
KeyCode data,
ModifierKeys modifiers)
Creates an event recognizer for a given key and type using a given set of modifiers.
|
Constructor and Description |
---|
ClickEventArgs(IInputModeContext context,
PointD location,
ModifierKeys modifiers,
MouseButtons mouseButtons,
int clickCount)
Initializes a new instance of the
ClickEventArgs class. |