|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gvsig.fmap.mapcontrol.dal.feature.swing.table.FeatureStoreModel
public class FeatureStoreModel
A model for the FeatureTypesTablePanel which unifies the access
to the different models needed by the components included into it.
| Constructor Summary | |
|---|---|
FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store)
Constructor. |
|
FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store,
org.gvsig.fmap.dal.feature.FeatureQuery query)
Constructor. |
|
| Method Summary | |
|---|---|
ConfigurableFeatureTableModel |
getCurrentFeatureTableModel()
Returns the TableModel to use to show data of the current feature
type. |
String |
getCurrentFeatureTypeId()
Returns the id of the current FeatureType. |
org.gvsig.fmap.dal.feature.FeatureQuery |
getFeatureQuery()
|
org.gvsig.fmap.dal.feature.FeatureStore |
getFeatureStore()
|
ConfigurableFeatureTableModel |
getFeatureTableModel(org.gvsig.fmap.dal.feature.FeatureType type)
Returns the TableModel to use to show data of a
FeatureType. |
ConfigurableFeatureTableModel |
getFeatureTableModel(String typeId)
Returns the TableModel to use to show data of a
FeatureType. |
FeatureTypeListModel |
getFeatureTypeListModel()
Returns the FeatureTypeListModel to show a list of available
FeatureTypes. |
void |
setCurrentFeatureTypeId(String currentFeatureTypeId)
Sets the id of the current FeatureType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store,
org.gvsig.fmap.dal.feature.FeatureQuery query)
throws org.gvsig.fmap.dal.exception.DataException
store - the FeatureStore to get data fromquery - the FeatureQuery to use to get data
org.gvsig.fmap.dal.exception.DataException - if there is an error getting the default FeatureType
public FeatureStoreModel(org.gvsig.fmap.dal.feature.FeatureStore store)
throws org.gvsig.fmap.dal.exception.DataException
store - the FeatureStore to get data from
org.gvsig.fmap.dal.exception.DataException - if there is an error getting the default FeatureType| Method Detail |
|---|
public FeatureTypeListModel getFeatureTypeListModel()
FeatureTypeListModel to show a list of available
FeatureTypes.
FeatureTypeListModel to show a list of available
FeatureTypespublic ConfigurableFeatureTableModel getCurrentFeatureTableModel()
TableModel to use to show data of the current feature
type.
public ConfigurableFeatureTableModel getFeatureTableModel(org.gvsig.fmap.dal.feature.FeatureType type)
TableModel to use to show data of a
FeatureType.
type - to use to filter the data
public ConfigurableFeatureTableModel getFeatureTableModel(String typeId)
TableModel to use to show data of a
FeatureType.
typeId - the id of the FeatureType to use to filter the data
public void setCurrentFeatureTypeId(String currentFeatureTypeId)
FeatureType.
currentFeatureTypeId - the id of the current FeatureTypepublic String getCurrentFeatureTypeId()
FeatureType.
FeatureTypepublic org.gvsig.fmap.dal.feature.FeatureQuery getFeatureQuery()
public org.gvsig.fmap.dal.feature.FeatureStore getFeatureStore()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||