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 protectedVertexData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetCharge()protected doublegetDistance()protected Point2DgetPrevious()protected doublegetStrength()protected intgetWeight()protected doublenorm()protected voidoffset(double x, double y)protected voidoffsetPrevious(double x, double y)protected voidsetCharge(int charge)protected voidsetDistance(int distance)voidsetPrevious(double x, double y)voidsetPrevious(Point2D location)protected voidsetStrength(double strength)protected voidsetWeight(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()
-
-