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