Class FeatureTablePanel

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

public class FeatureTablePanel extends JPanel implements org.gvsig.tools.observer.Observer
Panel to show a table of Feature data.
Author:
Cèsar Ordiñana
See Also:
  • Constructor Details

    • FeatureTablePanel

      public FeatureTablePanel(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
    • FeatureTablePanel

      public FeatureTablePanel(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
    • FeatureTablePanel

      public FeatureTablePanel(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
    • FeatureTablePanel

      public FeatureTablePanel(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
    • FeatureTablePanel

      public FeatureTablePanel(ConfigurableFeatureTableModel tableModel) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • FeatureTablePanel

      public FeatureTablePanel(ConfigurableFeatureTableModel tableModel, boolean isDoubleBuffered) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
  • Method Details

    • createConfigurationPanel

      public JPanel createConfigurationPanel()
    • getTableModel

      public ConfigurableFeatureTableModel getTableModel()
      Returns the internal Table Model for the Features of the FeatureStore.
      Returns:
      the internal Table Model
    • getFeatureStore

      public org.gvsig.fmap.dal.feature.FeatureStore getFeatureStore()
      Returns the FeatureStore of the Features being shown in the table.
      Returns:
      the store of the features
    • getFeatureQuery

      public org.gvsig.fmap.dal.feature.FeatureQuery getFeatureQuery()
      Returns the FeatureQuery used to get the Features.
      Returns:
      the FeatureQuery
    • setSelectionUp

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

      public FeatureTable getTable() throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • update

      public void update(org.gvsig.tools.observer.Observable observable, Object notification)
      Specified by:
      update in interface org.gvsig.tools.observer.Observer