Revision 20098 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/LegendEvent.java
LegendEvent.java | ||
---|---|---|
44 | 44 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.ClassifiableVectorial; |
45 | 45 |
|
46 | 46 |
|
47 |
|
|
47 | 48 |
/** |
48 |
* <p>The class <code>LegendEvent</code> represents an event produced at a legend.</p>
|
|
49 |
* <p><code>LegendEvent</code> represents an event produced at a legend in a layer.</p>
|
|
49 | 50 |
* |
50 |
* <p>Adds the layer to the FMap event information.</p> |
|
51 |
* |
|
52 | 51 |
* @see FMapEvent |
53 | 52 |
*/ |
54 | 53 |
public class LegendEvent extends FMapEvent { |
55 |
|
|
54 |
/** |
|
55 |
* <p>Identifies this event as a change of the value of a legend.</p> |
|
56 |
*/ |
|
56 | 57 |
public static final int LEGEND_VALUE_CHANGED = 200; |
58 |
|
|
59 |
/** |
|
60 |
* <p>Identifies this event as a change of the symbol of a legend.</p> |
|
61 |
*/ |
|
57 | 62 |
public static final int LEGEND_SYMBOL_CHANGED = 201; |
63 |
|
|
64 |
/** |
|
65 |
* <p>Identifies this event as a legend interval change.</p> |
|
66 |
*/ |
|
58 | 67 |
public static final int LEGEND_INTERVAL_CHANGED = 202; |
68 |
|
|
69 |
/** |
|
70 |
* <p>Identifies this event as a clear of a legend.</p> |
|
71 |
*/ |
|
59 | 72 |
public static final int LEGEND_CLEARED = 203; |
73 |
|
|
74 |
/** |
|
75 |
* <p>Identifies this event as a change on the classification of a legend.</p> |
|
76 |
*/ |
|
60 | 77 |
public static final int LEGEND_CLASSIFICATION_CHANGED = 204; |
78 |
|
|
61 | 79 |
/** |
62 | 80 |
* Layer of the legend where the event was produced. |
63 | 81 |
* |
... | ... | |
69 | 87 |
/** |
70 | 88 |
* <p>Returns the layer of the legend where the event was produced, as a classifiable and vector layer.</p> |
71 | 89 |
* |
72 |
* @return ClassifiableVectorial the layer where the event was produced
|
|
90 |
* @return the layer where the event was produced, as classifiable vector
|
|
73 | 91 |
* |
74 | 92 |
* @see #setLayer(ClassifiableVectorial) |
75 | 93 |
*/ |
... | ... | |
79 | 97 |
|
80 | 98 |
/** |
81 | 99 |
* <p>Sets the layer of the legend where the event was produced, as a classifiable and vector layer.</p> |
82 |
* Inserta la capa como Clasificable y vectorial. |
|
83 | 100 |
* |
84 |
* @param layer ClassifiableVectorial the layer where the event was produced
|
|
101 |
* @param layer the layer where the event was produced, as classifiable vector
|
|
85 | 102 |
* |
86 | 103 |
* @see #getLayer() |
87 |
*/
|
|
104 |
*/ |
|
88 | 105 |
public void setLayer(ClassifiableVectorial layer) { |
89 | 106 |
this.layer = layer; |
90 | 107 |
} |
Also available in: Unified diff