Class D3TopoLayout.VertexData
- java.lang.Object
-
- java.awt.geom.Point2D
-
- java.awt.geom.Point2D.Double
-
- org.opennms.features.topology.app.internal.jung.D3TopoLayout.VertexData
-
- All Implemented Interfaces:
Serializable
,Cloneable
- Enclosing class:
- D3TopoLayout<V,E>
protected static class D3TopoLayout.VertexData extends Point2D.Double
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
-
-
Field Summary
-
Fields inherited from class java.awt.geom.Point2D.Double
x, y
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
VertexData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getCharge()
protected double
getDistance()
protected Point2D
getPrevious()
protected double
getStrength()
protected int
getWeight()
protected double
norm()
protected void
offset(double x, double y)
protected void
offsetPrevious(double x, double y)
protected void
setCharge(int charge)
protected void
setDistance(int distance)
void
setPrevious(double x, double y)
void
setPrevious(Point2D location)
protected void
setStrength(double strength)
protected void
setWeight(int weight)
-
Methods inherited from class java.awt.geom.Point2D.Double
getX, getY, setLocation, toString
-
Methods inherited from class java.awt.geom.Point2D
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
-
-
-
-
Method Detail
-
offset
protected void offset(double x, double y)
-
offsetPrevious
protected void offsetPrevious(double x, double y)
-
setPrevious
public void setPrevious(Point2D location)
-
setPrevious
public void setPrevious(double x, double y)
-
norm
protected double norm()
-
setWeight
protected void setWeight(int weight)
-
getWeight
protected int getWeight()
-
setDistance
protected void setDistance(int distance)
-
getDistance
protected double getDistance()
-
setStrength
protected void setStrength(double strength)
-
getStrength
protected double getStrength()
-
setCharge
protected void setCharge(int charge)
-
getCharge
protected int getCharge()
-
getPrevious
protected Point2D getPrevious()
-
-