Revision 1082 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/ColorEvent.java

View differences:

ColorEvent.java
9 9
 * @author Vicente Caballero Navarro
10 10
 */
11 11
public class ColorEvent extends FMapEvent {
12
	private static final int COLOR_EVENT = 0;
13
	
12 14
	private Color color;
13 15

  
16
	public static ColorEvent createColorEvent(Color c){
17
		return new ColorEvent(c, COLOR_EVENT);
18
	}
19
	
14 20
	/**
15 21
	 * Crea un nuevo ColorEvent.
16 22
	 *
17 23
	 * @param c Color.
18 24
	 */
19
	public ColorEvent(Color c) {
25
	private ColorEvent(Color c, int eventType) {
20 26
		color = c;
27
		setEventType(eventType);
21 28
	}
22 29

  
23 30
	/**

Also available in: Unified diff