Class FeatureTypesTablePanel

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

public class FeatureTypesTablePanel extends JPanel implements SelectedFeatureTypeChangeListener
Panel to show a table of Features. It is able to take into account the availability of many FeatureTypes, and if it is the case, allows the user to select the FeatureType of the Features to show.
Author:
2005- Vicente Caballero, 2009- César Ordiñana - gvSIG team
See Also:
  • Constructor Details

    • FeatureTypesTablePanel

      public FeatureTypesTablePanel(org.gvsig.fmap.dal.feature.FeatureStore featureStore) throws org.gvsig.tools.exception.BaseException
      Constructs a Panel to show a table with the features of a FeatureStore.
      Parameters:
      featureStore - to extract the features from
      Throws:
      org.gvsig.tools.exception.BaseException - if there is an error reading data from the FeatureStore
    • FeatureTypesTablePanel

      public FeatureTypesTablePanel(org.gvsig.fmap.dal.feature.FeatureStore featureStore, boolean isDoubleBuffered) throws org.gvsig.tools.exception.BaseException
      Constructs a Panel to show a table with the features of a FeatureStore.
      Parameters:
      featureStore - to extract the features from
      isDoubleBuffered - a boolean, true for double-buffering, which uses additional memory space to achieve fast, flicker-free updates
      Throws:
      org.gvsig.tools.exception.BaseException - if there is an error reading data from the FeatureStore
    • FeatureTypesTablePanel

      public FeatureTypesTablePanel(org.gvsig.fmap.dal.feature.FeatureStore featureStore, org.gvsig.fmap.dal.feature.FeatureQuery featureQuery) throws org.gvsig.tools.exception.BaseException
      Throws:
      org.gvsig.tools.exception.BaseException
    • FeatureTypesTablePanel

      public FeatureTypesTablePanel(org.gvsig.fmap.dal.feature.FeatureStore featureStore, org.gvsig.fmap.dal.feature.FeatureQuery featureQuery, boolean isDoubleBuffered) throws org.gvsig.tools.exception.BaseException
      Parameters:
      isDoubleBuffered -
      Throws:
      org.gvsig.tools.exception.BaseException
    • FeatureTypesTablePanel

      public FeatureTypesTablePanel(FeatureStoreModel model) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • FeatureTypesTablePanel

      public FeatureTypesTablePanel(FeatureStoreModel model, boolean isDoubleBuffered) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
  • Method Details

    • createConfigurationPanel

      public JPanel createConfigurationPanel()
      Returns:
      See Also:
    • change

      public void change(org.gvsig.fmap.dal.feature.FeatureStore featureStore, org.gvsig.fmap.dal.feature.FeatureType featureType)
      Description copied from interface: SelectedFeatureTypeChangeListener
      Called when the selected FeatureType changes.
      Specified by:
      change in interface SelectedFeatureTypeChangeListener
      Parameters:
      featureStore - where the FeatureTypes belong to
      featureType - the new selected FeatureType
    • getTablePanel

      public FeatureTablePanel getTablePanel()
    • getTypesControl

      public FeatureTypeList getTypesControl()
    • setSelectionUp

      public void setSelectionUp(boolean selectionUp)
      Sets that the selected Features to be viewed first.
    • getTableModel

      protected ConfigurableFeatureTableModel getTableModel()
      Returns the internal Table Model for the Features of the FeatureStore.
      Returns:
      the internal Table Model