root / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / gui / tables / EditionTable.java @ 3996
History | View | Annotate | Download (1.91 KB)
1 |
package com.iver.cit.gvsig.gui.tables; |
---|---|
2 |
|
3 |
import java.io.IOException; |
4 |
|
5 |
import com.hardcode.gdbms.engine.values.Value; |
6 |
import com.iver.cit.gvsig.fmap.core.IRow; |
7 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
8 |
import com.iver.cit.gvsig.fmap.edition.EditionException; |
9 |
|
10 |
import javax.swing.JPanel; |
11 |
|
12 |
|
13 |
/**
|
14 |
* DOCUMENT ME!
|
15 |
*
|
16 |
* @author Vicente Caballero Navarro
|
17 |
*/
|
18 |
public interface EditionTable { |
19 |
/**
|
20 |
* DOCUMENT ME!
|
21 |
* @throws EditionException
|
22 |
*/
|
23 |
public void startEditing() throws EditionException; |
24 |
|
25 |
/**
|
26 |
* DOCUMENT ME!
|
27 |
*/
|
28 |
public void stopEditing(); |
29 |
|
30 |
/**
|
31 |
* DOCUMENT ME!
|
32 |
*
|
33 |
* @param index DOCUMENT ME!
|
34 |
*/
|
35 |
public void hideColumns(int[] index); |
36 |
|
37 |
/**
|
38 |
* DOCUMENT ME!
|
39 |
*
|
40 |
* @param index DOCUMENT ME!
|
41 |
*/
|
42 |
public void setUneditableColumns(int[] index); |
43 |
|
44 |
/**
|
45 |
* DOCUMENT ME!
|
46 |
*
|
47 |
* @param numColumns DOCUMENT ME!
|
48 |
* @param values DOCUMENT ME!
|
49 |
*/
|
50 |
public void setDefaultValues(int[] numColumns, Value[] values); |
51 |
|
52 |
/**
|
53 |
* DOCUMENT ME!
|
54 |
*
|
55 |
* @return DOCUMENT ME!
|
56 |
*/
|
57 |
public Value getDefaultValue();
|
58 |
|
59 |
/**
|
60 |
* DOCUMENT ME!
|
61 |
*
|
62 |
* @return DOCUMENT ME!
|
63 |
*/
|
64 |
public int[] getSelectedColumns(); |
65 |
|
66 |
/**
|
67 |
* DOCUMENT ME!
|
68 |
* @throws IOException
|
69 |
*/
|
70 |
public void cancelEditing() throws IOException; |
71 |
|
72 |
/**
|
73 |
* DOCUMENT ME!
|
74 |
*
|
75 |
* @return DOCUMENT ME!
|
76 |
*/
|
77 |
public boolean isEditing(); |
78 |
|
79 |
/**
|
80 |
* DOCUMENT ME!
|
81 |
*/
|
82 |
public void refresh(); |
83 |
public void addRow(IRow[] rows) throws DriverIOException, IOException; |
84 |
public void copyRow() throws DriverIOException, IOException; |
85 |
public void cutRow() throws DriverIOException, IOException; |
86 |
public void removeRow() throws DriverIOException, IOException; |
87 |
public void addColumn(); |
88 |
public void removeColumn(); |
89 |
public boolean isCopied(); |
90 |
public void pasteRow() throws DriverIOException, IOException; |
91 |
|
92 |
} |