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. |
Modifier and Type | Field and Description |
---|---|
static EventType<Touch2DEvent> |
Touch2DEvent.ANY
Any Touch2DEvent.
|
static EventType<Touch2DEvent> |
Touch2DEvent.DOWN
A touch point went down.
|
static EventType<Touch2DEvent> |
Touch2DEvent.ENTERED
A touch point has entered the control's bounds.
|
static EventType<Touch2DEvent> |
Touch2DEvent.EXITED
A touch point has exited the control's bounds.
|
static EventType<Touch2DEvent> |
Touch2DEvent.LONG_PRESS
A long press has been recognized.
|
static EventType<Touch2DEvent> |
Touch2DEvent.LOST_CAPTURE
Touch capture has been lost while the device was down.
|
static EventType<Touch2DEvent> |
Touch2DEvent.MOVED
A pointer has been moved.
|
static EventType<Touch2DEvent> |
Touch2DEvent.NONE
Not a touch event.
|
static EventType<Touch2DEvent> |
Touch2DEvent.TAPPED
A touch tap has been recognized.
|
static EventType<Touch2DEvent> |
Touch2DEvent.UP
A touch point went up.
|
Modifier and Type | Method and Description |
---|---|
Touch2DEvent |
CanvasControl.getLastTouch2DEvent()
Gets the last
touch event triggered by this instance. |
Modifier and Type | Method and Description |
---|---|
protected void |
CanvasControl.onTouch2DDown(Touch2DEvent e)
Callback method that is called when a finger has been put on the touch screen.
|
protected void |
CanvasControl.onTouch2DEntered(Touch2DEvent e)
Callback method that is called when a finger on the touch screen enters the control.
|
protected void |
CanvasControl.onTouch2DExited(Touch2DEvent e)
Callback method that is called when a finger on the touch screen exits the control.
|
protected void |
CanvasControl.onTouch2DLongPress(Touch2DEvent e)
Callback method that is called when a long press gesture has been performed with a finger on the touch screen.
|
protected void |
CanvasControl.onTouch2DLostCapture(Touch2DEvent e)
Callback method that is called when the touch capture is lost.
|
protected void |
CanvasControl.onTouch2DMoved(Touch2DEvent e)
Callback method that is called when a finger has been moved on the touch screen.
|
protected void |
CanvasControl.onTouch2DTapped(Touch2DEvent e)
Callback method that is called when a tap gesture has been performed with a finger on the touch screen.
|
protected void |
CanvasControl.onTouch2DUp(Touch2DEvent e)
Callback method that is called when a finger has been removed from the surface of the touch screen.
|
Constructor and Description |
---|
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.
|