Class FeatureCollectionTableModel

    • Constructor Detail

      • FeatureCollectionTableModel

        public FeatureCollectionTableModel​(SimpleFeatureCollection features)
        Constructor
        Parameters:
        features - the feature collection to load into the table
    • Method Detail

      • dispose

        public void dispose()
        Cancel the running job, if any
      • getColumnCount

        public int getColumnCount()
        Get the number of columns in the table
        Returns:
        the number of columns
      • getRowCount

        public int getRowCount()
        Get the number of rows in the table
        Returns:
        the number of rows
      • getValueAt

        public Object getValueAt​(int rowIndex,
                                 int columnIndex)
        Get the value of a specified table entry
        Parameters:
        rowIndex - the row index
        columnIndex - the column index
        Returns:
        the table entry