public interface Drag
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Drag.Dragable<C>
Drag actions
|
| Modifier and Type | Method and Description |
|---|---|
static Operation |
by(double fromX,
double fromY,
double dx,
double dy)
Create an operation dragging from an absolute position to a relative position
from there
|
static Operation |
by(Duration d,
double fromX,
double fromY,
double dx,
double dy)
Create an operation dragging from an absolute position to a relative position
from there
|
static Operation |
to(double fromX,
double fromY,
double toX,
double toY)
Create an operation dragging from an absolute position to another absolute
position
|
static Operation |
to(Duration d,
double fromX,
double fromY,
double toX,
double toY)
Create an operation dragging from an absolute position to another absolute
position in the provided duration
|
static Operation to(double fromX, double fromY, double toX, double toY)
fromX - the start x coordinate on screenfromY - the start y coordinate on screentoX - the end x coordinate on screentoY - the end y coordinate on screenstatic Operation to(Duration d, double fromX, double fromY, double toX, double toY)
d - the durationfromX - the start x coordinate on screenfromY - the start y coordinate on screentoX - the end x coordinate on screentoY - the end y coordinate on screenstatic Operation by(double fromX, double fromY, double dx, double dy)
fromX - the start x coordinate on screenfromY - the start y coordinate on screendx - delta of the x coordinatedy - delta of the y coordinatestatic Operation by(Duration d, double fromX, double fromY, double dx, double dy)
d - the durationfromX - the start x coordinate on screenfromY - the start y coordinate on screendx - delta of the x coordinatedy - delta of the y coordinateCopyright © 2017. All rights reserved.