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 InertiaPolicies |
InertiaPolicies.ALWAYS
Always move the viewport using inertia no matter what input gesture has been used.
|
static InertiaPolicies |
InertiaPolicies.MOUSE
Move the viewport using inertia when the mouse has been used to drag the viewport.
|
static InertiaPolicies |
InertiaPolicies.NEVER
Never move the viewport using inertia.
|
static InertiaPolicies |
InertiaPolicies.TOUCH
Move the viewport using inertia when touch has been used to drag the viewport.
|
Modifier and Type | Method and Description |
---|---|
static InertiaPolicies |
InertiaPolicies.fromName(String name) |
static InertiaPolicies |
InertiaPolicies.fromOrdinal(int value) |
protected InertiaPolicies |
InertiaPolicies.fromOrdinalImpl(int ordinal) |
InertiaPolicies |
MoveViewportInputMode.getInertia()
Gets the mode that determines when to use inertia when dragging the viewport.
|
protected InertiaPolicies[] |
InertiaPolicies.getItems() |
Modifier and Type | Method and Description |
---|---|
void |
MoveViewportInputMode.setInertia(InertiaPolicies value)
Sets the mode that determines when to use inertia when dragging the viewport.
|