4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.2 $ |
* @version $Revision: 1.3 $ |
* |
* Last modification: $Date: 2003/07/23 11:58:09 $ |
* $Id: Region.java,v 1.2 2003/07/23 11:58:09 ioklasse Exp $ |
* Last modification: $Date: 2003/07/23 19:42:52 $ |
* $Id: Region.java,v 1.3 2003/07/23 19:42:52 ioklasse Exp $ |
*/ |
|
package src.plugins.regionEditorPlugin; |
22,18 → 22,18 |
*/ |
public class Region |
{ |
/* Stores name of region.*/ |
/** Stores name of region.*/ |
private String name; |
|
/* Stores coordinates of region. */ |
/** Stores coordinates of region. */ |
private Rectangle rect; |
|
/* Creates empty region with coordinates and name. */ |
/** Creates empty region with coordinates and name. */ |
public Region() |
{ |
} |
|
/* Construktor creates new region with coordinates and name. |
/** Construktor creates new region with coordinates and name. |
* |
* @param name: Region name. |
* @param rect: Region coordinates. |
44,7 → 44,7 |
this.rect = rect; |
} |
|
/* Returns the name of the region. |
/** Returns the name of the region. |
* |
* @return the name of the region. |
*/ |
53,7 → 53,7 |
return name; |
} |
|
/* Sets the name of the region. |
/** Sets the name of the region. |
* |
* @param name: The name of the region. |
*/ |
62,7 → 62,7 |
this.name = name; |
} |
|
/* Returns the coordinates of the region. |
/** Returns the coordinates of the region. |
* |
* @return the coordinates of the region. |
*/ |
71,7 → 71,7 |
return rect; |
} |
|
/* Sets the coordinates of the region. |
/** Sets the coordinates of the region. |
* |
* @param rect: The coordinates of the region. |
*/ |