4,10 → 4,10 |
* Coded by: Group 5, software practice summer 2003 |
* University of Bielefeld, Germany |
* |
* @version $Revision: 1.6 $ |
* @version $Revision: 1.7 $ |
* |
* Last modification: $Date: 2003/07/23 23:32:15 $ |
* $Id: ImagePanel.java,v 1.6 2003/07/23 23:32:15 ioklasse Exp $ |
* Last modification: $Date: 2003/07/23 23:39:27 $ |
* $Id: ImagePanel.java,v 1.7 2003/07/23 23:39:27 ioklasse Exp $ |
*/ |
|
package src.plugins.regionEditorPlugin; |
26,7 → 26,7 |
* |
* @author Yulia Klassen, Viktoriya Zudova |
* |
* @version $Revision: 1.6 $ Last modification: $Date: 2003/07/23 23:32:15 $ |
* @version $Revision: 1.7 $ Last modification: $Date: 2003/07/23 23:39:27 $ |
*/ |
class ImagePanel extends JPanel { |
|
45,7 → 45,8 |
/** The height of the image. */ |
private int imageHeight; |
|
/** The scale coef of the image. */ |
|
/* The scale coef (acronym for coeffiecient)of the image. */ |
private double coef; |
|
/** The list of all regions. */ |
144,9 → 145,12 |
repaint(); |
} |
|
/** Returns the scale coef of the image. |
|
/** |
* The methode <code> getCoef </code> retuns the double for |
* scaling the image |
* |
* @return The scale coef of the image. |
* @return coef double: the scale (coefficient) for the Image |
*/ |
public double getCoef() { |
return coef; |
190,10 → 194,13 |
return imageHeight; |
} |
|
/** Sets the selected region. |
|
/** |
* The method<code>setSelectedRegion</code> Returns the current selected region in the Image |
* The Region represenrs a specified arey in the picture with a specified name. |
* |
* @param region: Selected region. |
*/ |
* @param region the selected src.plugins.regionEditorPlugin.Region |
*/ |
public void setSelectedRegion(Region region) { |
this.selectedRegion = region; |
} |