Revision 26225 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/LayerEvent.java

View differences:

LayerEvent.java
62 62
	/**
63 63
	 * <p>Identifies this event as a action of change of the visibility status of a layer.</p>
64 64
	 */
65
	private static final int VISIBILITY_CHANGED = 0;

65
	public static final int VISIBILITY_CHANGED = 0;
66 66

  
67 67
	/**
68 68
	 * <p>Identifies this event as a action of change of the activation status of a layer.</p>
69 69
	 */
70
	private static final int ACTIVATION_CHANGED = 1;

70
	public static final int ACTIVATION_CHANGED = 1;
71 71
	
72 72
	/**
73 73
	 * <p>Identifies this event as a action of a change of the name of a layer.</p>
74 74
	 */
75
	private static final int NAME_CHANGED = 2;

75
	public static final int NAME_CHANGED = 2;
76 76
	
77 77
	/**
78 78
	 * <p>Identifies this event as a action of change of the edition status of a layer.</p>
79 79
	 */
80
	private static final int EDITION_CHANGED = 3;
80
	public static final int EDITION_CHANGED = 3;
81

  
82
	/**
83
	 * <p>Identifies this event as a action of change of any property that affects to draw of the layer.</p>
84
	 */
85
	public static final int DRAW_VALUES_CHANGED = 4;
81 86

  
82 87
	/**
83 88
	 * <p>Creates a new layer event notifying a "visibility changed" action.</p>
......
103 108
		return new LayerEvent(default1, property, ACTIVATION_CHANGED);
104 109
	}
105 110
	
111
	public static LayerEvent createDrawValuesChangedEvent(FLyrDefault default1, String property){
112
		return new LayerEvent(default1, property, DRAW_VALUES_CHANGED);
113
	}
114

  
106 115
	/**
107 116
	 * <p>Creates a new layer event notifying an action of "change of the name of a layer".</p>
108 117
	 * 

Also available in: Unified diff