Class FeatureTypeList

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.gvsig.fmap.mapcontrol.dal.feature.swing.table.FeatureTypeList
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FeatureTypeList extends JPanel
Shows a list of FeatureTypes to allow the user to select one of them.
Author:
2005- Vicente Caballero, 2009- César Ordiñana - gvSIG team
See Also:
  • Constructor Details

    • FeatureTypeList

      public FeatureTypeList(org.gvsig.fmap.dal.feature.FeatureStore featureStore, org.gvsig.fmap.dal.feature.FeatureQuery featureQuery)
      Creates a new FeatureTypeList which loads the available FeatureTypes from a FeatureStore and a FeatureQuery.
      Parameters:
      featureStore - the store to load the FeatureTypes from
      featureQuery - the query to load the FeatureType from, if any
    • FeatureTypeList

      public FeatureTypeList(FeatureTypeListModel model)
      Creates a new FeatureTypeList which loads the available FeatureTypes from a FeatureTypeListModel.
      Parameters:
      model - the model to get the FeatureTypes from
  • Method Details

    • addSelectedFeatureTypeChangeListener

      public void addSelectedFeatureTypeChangeListener(SelectedFeatureTypeChangeListener listener)
    • removeSelectedFeatureTypeChangeListener

      public void removeSelectedFeatureTypeChangeListener(SelectedFeatureTypeChangeListener listener)
    • getSelectedFeatureType

      public org.gvsig.fmap.dal.feature.FeatureType getSelectedFeatureType()
      Returns the currently selected FeatureType.
      Returns:
      the currently selected FeatureType
    • getFeatureTypesSize

      public int getFeatureTypesSize()
      Returns the number of available FeatureTypes.
      Returns:
      the number of available FeatureTypes