Class CGDNode
java.lang.Object
repast.simphony.visualization.cgd.graph.CGDNode
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(int ch) int
getIndex()
double
getX()
double
getY()
void
setBoundingBox
(double _width, double _height) void
void
setIndex
(int i) void
setPosition
(double _x, double _y) void
setPosition
(Point2D.Double new_position) void
setX
(double _x) void
setY
(double _y)
-
Field Details
-
maxNIndex
public static int maxNIndex -
x
protected double x -
y
protected double y -
width
protected double width -
height
protected double height -
isDummy
protected boolean isDummy
-
-
Constructor Details
-
CGDNode
public CGDNode() -
CGDNode
public CGDNode(int _index) -
CGDNode
-
CGDNode
public CGDNode(double _x, double _y)
-
-
Method Details
-
addChild
public void addChild(int ch) -
setX
public void setX(double _x) -
getX
public double getX() -
setY
public void setY(double _y) -
getY
public double getY() -
getIndex
public int getIndex() -
setIndex
public void setIndex(int i) -
getIdentifier
-
setIdentifier
-
getChildren
-
getBoundingBox
-
getPosition
-
setPosition
public void setPosition(double _x, double _y) -
setPosition
-
setBoundingBox
public void setBoundingBox(double _width, double _height)
-