Revision 21577 trunk/libraries/libUIComponent/src-test-ui/org/gvsig/gui/beans/imagenavigator/TestImageNavigator.java
TestImageNavigator.java | ||
---|---|---|
65 | 65 |
* (non-Javadoc) |
66 | 66 |
* @see org.gvsig.gui.beans.imagenavigator.IClientImageNavigator#drawImage(java.awt.Graphics2D, double, double, double, double, double, int, int) |
67 | 67 |
*/ |
68 |
public void drawImage(Graphics2D g, double x1, double y1, double x2, double y2, double zoom, int width, int height) throws ImageUnavailable { |
|
68 |
public void drawImage(Graphics2D g, double x1, double y1, double x2, double y2, double zoom, int width, int height) throws ImageUnavailableException {
|
|
69 | 69 |
if (true) { |
70 |
throw new ImageUnavailable("No es posible la visualizaci?n de la capa."); |
|
70 |
throw new ImageUnavailableException("No es posible la visualizaci?n de la capa.");
|
|
71 | 71 |
} |
72 | 72 |
double usex1 = (((0 - x1) * width) / (width/zoom)); |
73 | 73 |
double usey1 = (((0 - y1) * height) / (height/zoom)); |
Also available in: Unified diff