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 MouseButtons |
MouseButtons.LEFT
The left mouse button.
|
static MouseButtons |
MouseButtons.MIDDLE
The middle mouse button.
|
static MouseButtons |
MouseButtons.NONE
No mouse button.
|
static MouseButtons |
MouseButtons.RIGHT
The right mouse button.
|
static MouseButtons |
MouseButtons.X1
Extra mouse button 1.
|
static MouseButtons |
MouseButtons.X2
Extra mouse button 2.
|
Modifier and Type | Method and Description |
---|---|
static MouseButtons |
MouseButtons.fromEvent(MouseEvent e) |
static MouseButtons |
MouseButtons.fromName(String name) |
static MouseButtons |
MouseButtons.fromOrdinal(int value) |
protected MouseButtons |
MouseButtons.fromOrdinalImpl(int ordinal) |
MouseButtons |
Mouse2DEvent.getButtons()
The state of the mouse buttons at the time of the event creation.
|
MouseButtons |
Mouse2DEvent.getChangedButtons()
Returns the mouse buttons that have changed for this event.
|
protected MouseButtons[] |
MouseButtons.getItems() |
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.
|
Modifier and Type | Method and Description |
---|---|
MouseButtons |
ClickInputMode.getActiveButtons()
Determines for which button(s) mouse clicks should be processed.
|
MouseButtons |
ClickEventArgs.getMouseButtons()
Gets the
MouseButtons that have changed for this event. |
Modifier and Type | Method and Description |
---|---|
void |
ClickInputMode.setActiveButtons(MouseButtons value)
Determines for which button(s) mouse clicks should be processed.
|
Constructor and Description |
---|
ClickEventArgs(IInputModeContext context,
PointD location,
ModifierKeys modifiers,
MouseButtons mouseButtons,
int clickCount)
Initializes a new instance of the
ClickEventArgs class. |