svn-gvsig-desktop / trunk / libraries / libUIComponent / src / org / gvsig / gui / beans / incrementabletask / IIncrementable.java @ 25760
History | View | Annotate | Download (1.98 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 |
* @author Pablo Piqueras Bartolom? (pablo.piqueras@iver.es)
|
33 |
*/
|
34 |
public interface IIncrementable { |
35 |
/**
|
36 |
* Devuelve el titulo de la ventana IncrementableTask
|
37 |
* @return String
|
38 |
*/
|
39 |
public String getTitle(); |
40 |
|
41 |
/**
|
42 |
* Devuelve el contenido del log de la ventana IncrementableTask
|
43 |
* @return String
|
44 |
*/
|
45 |
public String getLog(); |
46 |
|
47 |
/**
|
48 |
* Devuelve la etiqueta de la ventana IncrementableTask
|
49 |
* @return String
|
50 |
*/
|
51 |
public String getLabel(); |
52 |
|
53 |
/**
|
54 |
* Devuelve el porcentaje de 0 a 100 de la ventana IncrementableTask
|
55 |
* @return int
|
56 |
*/
|
57 |
public int getPercent(); |
58 |
|
59 |
/**
|
60 |
* <p>Determines if this process can be canceled.</p>
|
61 |
*
|
62 |
* @return <code>true</code> if this process can be canceled, otherwise <code>false</code>
|
63 |
*/
|
64 |
public boolean isCancelable(); |
65 |
|
66 |
/**
|
67 |
* <p>Determines if this process can be paused.</p>
|
68 |
*
|
69 |
* @return <code>true</code> if this process can be paused, otherwise <code>false</code>
|
70 |
*/
|
71 |
public boolean isPausable(); |
72 |
} |