svn-gvsig-desktop / trunk / libraries / libUIComponent / src / org / gvsig / gui / beans / imagenavigator / IClientImageNavigator.java @ 21577
History | View | Annotate | Download (794 Bytes)
1 | 11492 | bsanchez | package org.gvsig.gui.beans.imagenavigator; |
---|---|---|---|
2 | |||
3 | import java.awt.Graphics2D; |
||
4 | 21540 | bsanchez | /**
|
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 | 11492 | bsanchez | public interface IClientImageNavigator { |
10 | |||
11 | /**
|
||
12 | 21540 | bsanchez | * 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 | 11492 | bsanchez | *
|
16 | 21540 | bsanchez | * @param g
|
17 | * @param x1
|
||
18 | * @param y1
|
||
19 | * @param x2
|
||
20 | * @param y2
|
||
21 | 11492 | bsanchez | * @param zoom
|
22 | 21540 | bsanchez | * @param width
|
23 | * @param height
|
||
24 | 21577 | nbrodin | * @throws ImageUnavailableException
|
25 | 11492 | bsanchez | */
|
26 | 21577 | nbrodin | public void drawImage(Graphics2D g, double x1, double y1, double x2, double y2, double zoom, int width, int height) throws ImageUnavailableException; |
27 | 11492 | bsanchez | } |