svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.swing / org.gvsig.fmap.dal.swing.api / src / main / java / org / gvsig / fmap / dal / swing / FeatureTableModel.java @ 42775
History | View | Annotate | Download (1.76 KB)
1 |
|
---|---|
2 |
package org.gvsig.fmap.dal.swing; |
3 |
|
4 |
import java.util.Locale; |
5 |
import javax.swing.table.TableModel; |
6 |
import org.gvsig.fmap.dal.feature.Feature; |
7 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
8 |
import org.gvsig.fmap.dal.feature.FeatureQuery; |
9 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
10 |
import org.gvsig.fmap.dal.feature.FeatureType; |
11 |
import org.gvsig.fmap.dal.feature.paging.FeaturePagingHelper; |
12 |
import org.gvsig.tools.exception.BaseException; |
13 |
|
14 |
|
15 |
public interface FeatureTableModel extends TableModel { |
16 |
|
17 |
public Locale getLocaleOfData(); |
18 |
|
19 |
public void setLocaleOfData(Locale locale); |
20 |
|
21 |
public void setAllVisible(); |
22 |
|
23 |
public int getOriginalColumnIndex(int index); |
24 |
|
25 |
public String getOriginalColumnName(int index); |
26 |
|
27 |
public FeatureAttributeDescriptor getColumnDescriptor(int columnIndex); |
28 |
|
29 |
public String getColumnFormattingPattern(int columnIndex); |
30 |
|
31 |
public String getColumnFormattingPattern(String columnName); |
32 |
|
33 |
public void setColumnFormattingPattern(String columnName, String pattern); |
34 |
|
35 |
public boolean isColumnVisible(String columnName); |
36 |
|
37 |
public void setColumnVisible(String columnName, boolean visible); |
38 |
|
39 |
public String getColumnAlias(String columnName); |
40 |
|
41 |
public void setColumnAlias(String columnName, String alias); |
42 |
|
43 |
public void setColumnOrder(String columnName, boolean ascending) throws BaseException; |
44 |
|
45 |
public Feature getFeatureAt(int rowIndex); |
46 |
|
47 |
public FeatureQuery getFeatureQuery();
|
48 |
|
49 |
public FeatureStore getFeatureStore();
|
50 |
|
51 |
public FeatureType getFeatureType();
|
52 |
|
53 |
public FeaturePagingHelper getFeaturePager();
|
54 |
|
55 |
public void setSelectionUp(boolean selectionUp); |
56 |
|
57 |
public boolean isSelectionUp(); |
58 |
|
59 |
public boolean isSelectionLocked(); |
60 |
|
61 |
public int getSelectionCount(); |
62 |
|
63 |
} |