public class Node
extends java.lang.Object
implements java.io.Serializable, com.google.gwt.user.client.rpc.IsSerializable
| Constructor and Description |
|---|
Node(java.lang.String id)
Instantiates a new node.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getID()
Gets the id.
|
float |
getX()
Gets the x.
|
float |
getY()
Gets the y.
|
int |
hashCode() |
void |
setIgnore(boolean b)
Sets the ignore.
|
void |
setPosition(float x,
float y)
Sets the position.
|
boolean |
shouldIgnore()
Should ignore.
|
public Node(java.lang.String id)
id - the idpublic java.lang.String getID()
public float getX()
public float getY()
public int hashCode()
hashCode in class java.lang.Objectpublic void setIgnore(boolean b)
b - the new ignorepublic void setPosition(float x,
float y)
x - the xy - the ypublic boolean shouldIgnore()