All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class relaaja.MovableModel

java.lang.Object
   |
   +----java.util.Observable
           |
           +----relaaja.MovableModel

public abstract class MovableModel
extends Observable
implements Observer, Serializable
Siirrettävä verkon solmu, abstrakti yliluokka. Toteuttaa solmun sijainnin asetuksen.

Author:
Tiina Tamminen

Variable Index

 o location

Constructor Index

 o MovableModel()

Method Index

 o getLocation()
Palauttaa verkon solmun sijainnin.
 o setLocation(Location)
Asettaa verkon solmun sijainnin.

Variables

 o location
 protected Location location

Constructors

 o MovableModel
 public MovableModel()

Methods

 o setLocation
 public void setLocation(Location newLocation)
Asettaa verkon solmun sijainnin.

Parameters:
newLocation - - uusi sijainti
 o getLocation
 public Location getLocation()
Palauttaa verkon solmun sijainnin.

Returns:
solmun sijainti

All Packages  Class Hierarchy  This Package  Previous  Next  Index