cgl.narada.topology.viewer
Class Position
java.lang.Object
cgl.narada.topology.viewer.Position
public class Position
- extends Object
This class is used to record the position, size and color of any node.
The node can be cluster, super cluster, super super cluster etc.
|
Constructor Summary |
Position()
Contructor setting INVALI-VALUES |
Position(double cenX,
double cenY,
double rad)
|
Position(double cenX,
double cenY,
double rad,
Color col)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INVALID_VALUE
public static double INVALID_VALUE
Position
public Position()
- Contructor setting INVALI-VALUES
Position
public Position(double cenX,
double cenY,
double rad)
Position
public Position(double cenX,
double cenY,
double rad,
Color col)
setCenterX
public void setCenterX(double cenX)
setCenterY
public void setCenterY(double cenY)
setRadius
public void setRadius(double rad)
setColor
public void setColor(Color color)
getCenterX
public double getCenterX()
getCenterY
public double getCenterY()
getRadius
public double getRadius()
getColor
public Color getColor()
For comments and suggestions please send
e-mail to
The NaradaBrokering Project