net.sourceforge.plantuml.geom.kinetic
Class Point2DCharge

java.lang.Object
  extended by java.awt.geom.Point2D
      extended by java.awt.geom.Point2D.Double
          extended by net.sourceforge.plantuml.geom.kinetic.Point2DCharge
All Implemented Interfaces:
Serializable, Cloneable

public class Point2DCharge
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
Point2DCharge(double x, double y)
           
Point2DCharge(Point2D pt, double ch)
           
 
Method Summary
 void apply(VectorForce value)
           
 boolean equals(Object obj)
           
 double getCharge()
           
 int hashCode()
           
 void setCharge(double charge)
           
 void setLocation(double x, double y)
           
 void setLocation(Point2D p)
           
 void setMoveObserver(MoveObserver moveObserver)
           
 String toString()
           
 
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
 

Constructor Detail

Point2DCharge

public Point2DCharge(double x,
                     double y)

Point2DCharge

public Point2DCharge(Point2D pt,
                     double ch)
Method Detail

apply

public void apply(VectorForce value)

setLocation

public final void setLocation(double x,
                              double y)
Overrides:
setLocation in class Point2D.Double

setLocation

public final void setLocation(Point2D p)
Overrides:
setLocation in class Point2D

toString

public String toString()
Overrides:
toString in class Point2D.Double

getCharge

public final double getCharge()

setCharge

public final void setCharge(double charge)

hashCode

public int hashCode()
Overrides:
hashCode in class Point2D

equals

public boolean equals(Object obj)
Overrides:
equals in class Point2D

setMoveObserver

public final void setMoveObserver(MoveObserver moveObserver)


Copyright © 2013. All Rights Reserved.