|
|||||||||
| Home >> All >> org >> modama >> gui >> [ viewer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.modama.gui.viewer
Interface ICoordinatesystem

- All Known Subinterfaces:
- IViewer
- All Known Implementing Classes:
- JAIAdjustableImage, WrappedJAIAdjustableImage
- public interface ICoordinatesystem
a interface that could be implemented by classes like the JAIAdjustableImage that consist a zoomable, moveable object. It defines functions to convert screen coordinates to objectcoordinates.
| Method Summary | |
java.awt.geom.Point2D.Double |
getCoordinate(java.awt.Point screen)
|
double |
getCoordinateX(int screenx)
|
double |
getCoordinateY(int screeny)
|
java.awt.Point |
getScreen(java.awt.geom.Point2D.Double object)
|
int |
getScreenX(double objectx)
|
int |
getScreenY(double objecty)
|
| Method Detail |
getCoordinateX
public double getCoordinateX(int screenx)
getCoordinateY
public double getCoordinateY(int screeny)
getCoordinate
public java.awt.geom.Point2D.Double getCoordinate(java.awt.Point screen)
getScreenX
public int getScreenX(double objectx)
getScreenY
public int getScreenY(double objecty)
getScreen
public java.awt.Point getScreen(java.awt.geom.Point2D.Double object)
|
|||||||||
| Home >> All >> org >> modama >> gui >> [ viewer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC