public class GraphDropSite
extends java.util.HashMap
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
X_VALUE_KEY
The key for retrieving the x value from the map.
|
static java.lang.String |
Y_VALUE_KEY
The key for retrieving the y value from the map.
|
| Constructor and Description |
|---|
GraphDropSite(java.lang.Double oldX,
java.lang.Double oldY,
java.lang.Double newX,
java.lang.Double newY)
Internal Use Only.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Number |
getNewX()
Deprecated.
this value should be retrieved by calling get(X_VALUE_KEY).
|
java.lang.Number |
getNewY()
Deprecated.
this value should be retrieved by calling get(Y_VALUE_KEY).
|
java.lang.Number |
getOldX()
Deprecated.
this value should be retrieved from the GraphDragContext
in the Transferable.
|
java.lang.Number |
getOldY()
Deprecated.
this value should be retrieved from the GraphDragContext
in the Transferable.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuespublic static final java.lang.String X_VALUE_KEY
public static final java.lang.String Y_VALUE_KEY
public GraphDropSite(java.lang.Double oldX,
java.lang.Double oldY,
java.lang.Double newX,
java.lang.Double newY)
oldX - the x value of the marker before the drag and dropoldY - the y value of the marker before the drag and dropnewX - the x value of the marker after the drag and dropnewY - the y value of the marker after the drag and drop@Deprecated public java.lang.Number getOldX()
@Deprecated public java.lang.Number getOldY()
@Deprecated public java.lang.Number getNewX()
@Deprecated public java.lang.Number getNewY()