root / branches / v2_0_0_prep / libraries / libUIComponent / src / org / gvsig / gui / beans / imagenavigator / IClientImageNavigator.java @ 22758
History | View | Annotate | Download (794 Bytes)
1 |
package org.gvsig.gui.beans.imagenavigator; |
---|---|
2 |
|
3 |
import java.awt.Graphics2D; |
4 |
/**
|
5 |
* Interfaz que debe implementar quien quiera dibujar en ImageNavigator
|
6 |
* @version 12/06/2008
|
7 |
* @author BorSanZa - Borja S?nchez Zamorano (borja.sanchez@iver.es)
|
8 |
*/
|
9 |
public interface IClientImageNavigator { |
10 |
|
11 |
/**
|
12 |
* Metodo que es invocado cuando ImageNavigator va a pintar la imagen.
|
13 |
* Pasa un Graphics para hacer el dibujado, y luego todas las posibles
|
14 |
* posiciones para hacer el pintado.
|
15 |
*
|
16 |
* @param g
|
17 |
* @param x1
|
18 |
* @param y1
|
19 |
* @param x2
|
20 |
* @param y2
|
21 |
* @param zoom
|
22 |
* @param width
|
23 |
* @param height
|
24 |
* @throws ImageUnavailableException
|
25 |
*/
|
26 |
public void drawImage(Graphics2D g, double x1, double y1, double x2, double y2, double zoom, int width, int height) throws ImageUnavailableException; |
27 |
} |