Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libUIComponent / src / org / gvsig / gui / beans / incrementabletask / IncrementableEvent.java @ 31952

History | View | Annotate | Download (1.76 KB)

1
package org.gvsig.gui.beans.incrementabletask;
2

    
3
/* gvSIG. Geographic Information System of the Valencian Government
4
 *
5
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
6
 * of the Valencian Government (CIT)
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 2
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *  
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program; if not, write to the Free Software
20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
21
 * MA  02110-1301, USA.
22
 * 
23
 */
24

    
25
import java.util.EventObject;
26
/**
27
 * Se utiliza para poder definir que acci?n esta ocurriendo en un momento dado
28
 * en la ventana IncrementableTask
29
 *
30
 * @version 23/04/2007
31
 * @author BorSanZa - Borja S?nchez Zamorano (borja.sanchez@iver.es)
32
 */
33
public class IncrementableEvent extends EventObject {
34
        private static final long serialVersionUID = 75795297813891036L;
35

    
36
        /**
37
         * Definir si la acci?n que esta ocurriendo es la de resumir.
38
         */
39
        public static final int RESUMED = 1;
40

    
41
        /**
42
         * Definir si la acci?n que esta ocurriendo es la de suspender
43
         */
44
        public static final int SUSPENDED = 2;
45

    
46
        /**
47
         * Definir si la acci?n que esta ocurriendo es la de cancelar.
48
         */
49
        public static final int CANCELED = 3;
50

    
51
        /**
52
         * Constructor de IncrementableEvent
53
         * @param source
54
         */
55
        public IncrementableEvent(Object source) {
56
                super(source);
57
        }
58
}