org.lucci.madhoc.network.net
Class Location

java.lang.Object
  extended by org.lucci.up.data.DataElement
      extended by org.lucci.up.data.Point
          extended by org.lucci.madhoc.network.net.Location
All Implemented Interfaces:
java.lang.Cloneable

public class Location
extends org.lucci.up.data.Point


Constructor Summary
Location(double x, double y)
           
 
Method Summary
 Cel getCel()
           
 Station getComputer()
           
 void setCel(Cel newCel)
           
 void setComputer(Station device)
           
 void setX(double x)
           
 void setXY(double x, double y)
           
 void setY(double y)
           
 
Methods inherited from class org.lucci.up.data.Point
clone, getDistanceTo, getX, getY, rotate, toString, translate
 
Methods inherited from class org.lucci.up.data.DataElement
addListener, addRenderer, draw, getListeners, getRendererAt, getRendererCount, removeAllRenderers, removeListener, removeRenderer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(double x,
                double y)
Method Detail

getCel

public Cel getCel()

setCel

public void setCel(Cel newCel)

getComputer

public Station getComputer()

setXY

public void setXY(double x,
                  double y)

setX

public void setX(double x)
Overrides:
setX in class org.lucci.up.data.Point

setY

public void setY(double y)
Overrides:
setY in class org.lucci.up.data.Point

setComputer

public void setComputer(Station device)