root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / layers / LayerDrawingListener.java @ 20098
History | View | Annotate | Download (1.74 KB)
1 |
package com.iver.cit.gvsig.fmap.layers; |
---|---|
2 |
|
3 |
/**
|
4 |
* <p><code>LayerDrawingListener</code> defines listeners
|
5 |
* to catch and handle drawing events from layers.</p>
|
6 |
*/
|
7 |
public interface LayerDrawingListener { |
8 |
/**
|
9 |
* <p>Called before a layer of type {@link FLayer FLayer} or {@link FLayers FLayers} is drawn.</p>
|
10 |
*
|
11 |
* @param e a layer event object
|
12 |
*
|
13 |
* @throws CancelationException if cancels the operation, this exception will have the message
|
14 |
* that user will see.
|
15 |
*
|
16 |
* @see LayerDrawEvent
|
17 |
*/
|
18 |
void beforeLayerDraw(LayerDrawEvent e) throws CancelationException; |
19 |
|
20 |
/**
|
21 |
* <p>Process to execute after a layer had been drawn.</p>
|
22 |
*
|
23 |
* @param e a layer event object
|
24 |
*
|
25 |
* @throws CancelationException if cancels the operation, this exception will have the message
|
26 |
* that user will see.
|
27 |
*
|
28 |
* @see LayerDrawEvent
|
29 |
*/
|
30 |
void afterLayerDraw(LayerDrawEvent e) throws CancelationException; |
31 |
|
32 |
/**
|
33 |
* <p>Process to execute before a {@link GraphicLayer GraphicLayer} had been drawn.</p>
|
34 |
*
|
35 |
* @param e a layer event object
|
36 |
*
|
37 |
* @throws CancelationException if cancels the operation, this exception will have the message
|
38 |
* that user will see.
|
39 |
*
|
40 |
* @see LayerDrawEvent
|
41 |
*/
|
42 |
void beforeGraphicLayerDraw(LayerDrawEvent e) throws CancelationException; |
43 |
|
44 |
/**
|
45 |
* <p>Process to execute after a {@link GraphicLayer GraphicLayer} had been drawn.</p>
|
46 |
*
|
47 |
* @param e a layer event object
|
48 |
*
|
49 |
* @throws CancelationException if cancels the operation, this exception will have the message
|
50 |
* that user will see.
|
51 |
*
|
52 |
* @see LayerDrawEvent
|
53 |
*/
|
54 |
void afterLayerGraphicDraw(LayerDrawEvent e) throws CancelationException; |
55 |
} |