Package | Description |
---|---|
com.github.gwtd3.api | |
com.github.gwtd3.api.behaviour | |
com.github.gwtd3.api.core | |
com.github.gwtd3.api.layout | |
com.github.gwtd3.api.svg |
Modifier and Type | Method and Description |
---|---|
static Coords |
Coords.create(double x,
double y) |
static Coords |
D3.eventAsCoords()
Retrieve the current event if any, as a
Coords object containing
the x and y of the mouse. |
static Coords |
D3.eventAsDCoords()
Retrieve the current event if any, as a
Coords object containing
the dx and dy representing the element's coordinates relative to its
position at the beginning of the gesture. |
static Coords |
D3.mouseAsCoords(com.google.gwt.dom.client.Node container)
Returns the x and y coordinates of the current d3.event, relative to the
specified container.
|
Coords |
Coords.x(double x)
set the x coords
|
Coords |
Coords.y(double y)
set the y coords
|
Modifier and Type | Method and Description |
---|---|
Drag |
Drag.origin(DatumFunction<Coords> o)
Set the origin accessor to the specified function.
|
Modifier and Type | Method and Description |
---|---|
Coords |
Value.asCoords()
Return the value casted to a
Coords object. |
Modifier and Type | Method and Description |
---|---|
static Link |
Link.create(Coords source,
Coords target)
Create a basic link object starting at one coordinate and ending at
another
|
Modifier and Type | Method and Description |
---|---|
Diagonal |
Diagonal.source(Coords source)
Sets the source accessor to be constant.
|
Diagonal |
Diagonal.target(Coords target)
Sets the target accessor to be constant.
|
Copyright © 2015 gwt-d3. All rights reserved.