net.sourceforge.plantuml.geom.kinetic
Class Point2DCharge
java.lang.Object
java.awt.geom.Point2D
java.awt.geom.Point2D.Double
net.sourceforge.plantuml.geom.kinetic.Point2DCharge
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class Point2DCharge
- extends java.awt.geom.Point2D.Double
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class java.awt.geom.Point2D |
java.awt.geom.Point2D.Double, java.awt.geom.Point2D.Float |
Fields inherited from class java.awt.geom.Point2D.Double |
x, y |
Methods inherited from class java.awt.geom.Point2D.Double |
getX, getY |
Methods inherited from class java.awt.geom.Point2D |
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Point2DCharge
public Point2DCharge(double x,
double y)
Point2DCharge
public Point2DCharge(java.awt.geom.Point2D pt,
double ch)
apply
public void apply(VectorForce value)
setLocation
public final void setLocation(double x,
double y)
- Overrides:
setLocation
in class java.awt.geom.Point2D.Double
setLocation
public final void setLocation(java.awt.geom.Point2D p)
- Overrides:
setLocation
in class java.awt.geom.Point2D
toString
public java.lang.String toString()
- Overrides:
toString
in class java.awt.geom.Point2D.Double
getCharge
public final double getCharge()
setCharge
public final void setCharge(double charge)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.awt.geom.Point2D
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.awt.geom.Point2D
setMoveObserver
public final void setMoveObserver(MoveObserver moveObserver)
Copyright © 2013. All Rights Reserved.