Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.exportto / org.gvsig.exportto.swing / org.gvsig.exportto.swing.api / src / main / java / org / gvsig / export / swing / JExportProcessPanel.java @ 43925

History | View | Annotate | Download (1.95 KB)

1 40559 jjdelcerro
/**
2
 * gvSIG. Desktop Geographic Information System.
3 40435 jjdelcerro
 *
4 40559 jjdelcerro
 * Copyright (C) 2007-2013 gvSIG Association.
5 40435 jjdelcerro
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8 40559 jjdelcerro
 * as published by the Free Software Foundation; either version 3
9 40435 jjdelcerro
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21 40559 jjdelcerro
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23 40435 jjdelcerro
 */
24 43925 jjdelcerro
package org.gvsig.export.swing;
25 40435 jjdelcerro
26 43925 jjdelcerro
import org.gvsig.export.ExportParameters;
27
import org.gvsig.export.ExportProcess;
28
import org.gvsig.tools.swing.api.Component;
29 40435 jjdelcerro
30
31
32 43925 jjdelcerro
public interface JExportProcessPanel extends Component {
33 40435 jjdelcerro
34 43925 jjdelcerro
    public static final int BUTTON_BACK = 0;
35
    public static final int BUTTON_NEXT = 1;
36
    public static final int BUTTON_FINISH = 2;
37
    public static final int BUTTON_CANCEL = 3;
38
39
    public interface ExportFinishListener {
40 40435 jjdelcerro
41 43925 jjdelcerro
        public void cancelled(JExportProcessPanel exportPanel);
42
43
        public void finished(JExportProcessPanel exportPanel);
44
    }
45
46 40435 jjdelcerro
    /**
47 43925 jjdelcerro
     * @param listener
48 40435 jjdelcerro
     */
49 43925 jjdelcerro
    public void addFinishListener(ExportFinishListener listener);
50
51
    public void setButtonEnabled(int button, boolean enabled);
52
53
    public void setButtonText(int button, String text);
54
55
    public boolean isButtonEnabled(int button);
56
57
    public String getButtonText(int button);
58
59
    public ExportProcess getProcess();
60
61
    public ExportParameters getParameters();
62
63 40435 jjdelcerro
}