net.sourceforge.plantuml.graph
Class ElectricCharge

java.lang.Object
  extended by net.sourceforge.plantuml.graph.ElectricCharge

public class ElectricCharge
extends Object


Constructor Summary
ElectricCharge(double x, double y, double charge)
           
 
Method Summary
 double getCharge()
           
 Point2D getPosition()
           
 boolean isMoveable()
           
 void move(double deltax, double deltay)
           
 void setMoveable(boolean moveable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectricCharge

public ElectricCharge(double x,
                      double y,
                      double charge)
Method Detail

getPosition

public Point2D getPosition()

getCharge

public double getCharge()

isMoveable

public final boolean isMoveable()

setMoveable

public final void setMoveable(boolean moveable)

move

public void move(double deltax,
                 double deltay)


Copyright © 2013. All Rights Reserved.