Interface IClassifiedVectorLegend

All Superinterfaces:
Cloneable, org.gvsig.tools.lang.Cloneable, DrawingObservable, IClassifiedLegend, ILegend, IVectorLegend, Legend, org.gvsig.tools.persistence.Persistent
All Known Subinterfaces:
IVectorialIntervalLegend, IVectorialUniqueValueLegend

public interface IClassifiedVectorLegend extends IClassifiedLegend, IVectorLegend
Interface that offers the methods to classify the legend.
  • Method Details

    • clear

      void clear()
      Deletes all the information of classification: intervals, values, or other classifying elements
    • getClassifyingFieldNames

      String[] getClassifyingFieldNames()
      Returns the name of the field
      Returns:
      Name of the field. TODO refactor to allow more than one field name
    • setClassifyingFieldNames

      void setClassifyingFieldNames(String[] fieldNames)
      Inserts the name of the field
      Parameters:
      fieldNames - Names of the fields. TODO refactor to allow more than one field name
    • addSymbol

      void addSymbol(Object key, ISymbol symbol)
      Inserts a symbol.
      Parameters:
      key - .
      symbol - .
    • delSymbol

      void delSymbol(Object key)
      Deletes a symbol using for that its key which is the parameter of the method.
      Parameters:
      key - clave.
    • replace

      void replace(ISymbol oldSymbol, ISymbol newSymbol)
      Removes oldSymbol from the Legend and substitutes it with the newSymbol
      Parameters:
      oldSymbol -
      newSymbol -
    • getClassifyingFieldTypes

      int[] getClassifyingFieldTypes()
    • setClassifyingFieldTypes

      void setClassifyingFieldTypes(int[] fieldTypes)