Interface IVectorialIntervalLegend

All Superinterfaces:
Cloneable, org.gvsig.tools.lang.Cloneable, DrawingObservable, IClassifiedLegend, IClassifiedVectorLegend, ILegend, IVectorLegend, Legend, org.gvsig.tools.persistence.Persistent

public interface IVectorialIntervalLegend extends IClassifiedVectorLegend
Interface that allows the methods to classify the legend through intervals.
  • Field Details

  • Method Details

    • setDefaultSymbol

      void setDefaultSymbol(ISymbol s)
      Description copied from interface: IVectorLegend
      Establishes the default symbol of a legend. In a SingleSymbolLegend the symbol is established by calling this method.
      Specified by:
      setDefaultSymbol in interface IVectorLegend
      Parameters:
      s - default symbol.
    • getInterval

      IInterval getInterval(Object v)
    • getIntervalType

      int getIntervalType()
    • getSymbolByInterval

      ISymbol getSymbolByInterval(IInterval key)
      Returns the symbol starting from an interval
      Parameters:
      key - interval.
      Returns:
      symbol.
    • setIntervalType

      void setIntervalType(int tipoClasificacion)
      Inserts the type of the classification of the intervals.
      Parameters:
      tipoClasificacion - type of the classification.
    • setStartColor

      void setStartColor(Color startColor)
      Inserts the initial color
      Parameters:
      startColor - initial color.
    • setEndColor

      void setEndColor(Color endColor)
      Inserts the final color.
      Parameters:
      endColor - final color.
    • getStartColor

      Color getStartColor()
      Returns the initial color.
      Returns:
      Color initial color.
    • getEndColor

      Color getEndColor()
      Returns the final color
      Returns:
      Color final color.
    • calculateIntervals

      IInterval[] calculateIntervals(org.gvsig.fmap.dal.feature.FeatureStore featureStore, String selectedItem, int intervalCount, int shapeType) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • setIntervals

      void setIntervals(IInterval[] intervals)
    • createSymbols

      Map<IInterval,ISymbol> createSymbols(IInterval[] intervals)