Class LayerTableModel

    • Constructor Detail

      • LayerTableModel

        public LayerTableModel​(Layer layer)
    • Method Detail

      • getLayer

        public Layer getLayer()
      • getFeature

        public Feature getFeature​(int row)
      • getRowCount

        public int getRowCount()
      • isCellEditable

        public boolean isCellEditable​(int rowIndex,
                                      int columnIndex)
      • clear

        public void clear()
      • removeAll

        public void removeAll​(Collection featuresToRemove)
      • addAll

        public void addAll​(Collection newFeatures)
      • dispose

        public void dispose()
        Facilitate garbage collection by releasing references.
      • getFeatures

        public List getFeatures()
      • getSortedColumnName

        public String getSortedColumnName()
        Returns:
        null if the table has not yet been sorted
      • isSortAscending

        public boolean isSortAscending()
      • sort

        public void sort​(String columnName)
      • sort

        public void sort​(String columnName,
                         boolean ascending)
      • getType

        public String getType​(int column)
      • main

        public static void main​(String[] args)