Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libUIComponent / src / org / gvsig / gui / beans / incrementabletask / IIncrementable.java @ 30541

History | View | Annotate | Download (1.92 KB)

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

    
3

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

    
26
/**
27
 * 
28
 *
29
 * @version 20/08/2008
30
 * 
31
 * @author BorSanZa - Borja S?nchez Zamorano (borja.sanchez@iver.es)
32
 */
33
public interface IIncrementable {
34
        /**
35
         * Devuelve el titulo de la ventana IncrementableTask
36
         * @return String
37
         */
38
        public String getTitle();
39

    
40
        /**
41
         * Devuelve el contenido del log de la ventana IncrementableTask
42
         * @return String
43
         */
44
        public String getLog();
45

    
46
        /**
47
         * Devuelve la etiqueta de la ventana IncrementableTask
48
         * @return String
49
         */
50
        public String getLabel();
51
        
52
        /**
53
         * Devuelve el porcentaje de 0 a 100 de la ventana IncrementableTask
54
         * @return int
55
         */
56
        public int getPercent();
57

    
58
        /**
59
         * <p>Determines if this process can be canceled.</p>
60
         * 
61
         * @return <code>true</code> if this process can be canceled, otherwise <code>false</code>
62
         */
63
        public boolean isCancelable();
64

    
65
        /**
66
         * <p>Determines if this process can be paused.</p>
67
         * 
68
         * @return <code>true</code> if this process can be paused, otherwise <code>false</code>
69
         */
70
        public boolean isPausable();
71
}