org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl

Class VectorialIntervalLegend

    • Field Detail

      • VECTORIAL_INTERVAL_LEGEND_PERSISTENCE_DEFINITION_NAME

        public static final String VECTORIAL_INTERVAL_LEGEND_PERSISTENCE_DEFINITION_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • VectorialIntervalLegend

        public VectorialIntervalLegend()
        Constructor method
      • VectorialIntervalLegend

        public VectorialIntervalLegend(int type)
        Constructor method
        Parameters:
        type - type of the shape.
    • Method Detail

      • getEndColor

        public Color getEndColor()
        Returns the final color
        Returns:
        Color final color.
      • setEndColor

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

        public Color getStartColor()
        Returns the initial color.
        Returns:
        Color initial color.
      • setStartColor

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

        public int getShapeType()
        Description copied from interface: IVectorLegend
        Returns the type of the shape.
        Returns:
        Returns the type of the shapes that the legend is ready to use.
      • setShapeType

        public void setShapeType(int shapeType)
        Description copied from interface: IVectorLegend
        Defines the type of the shape.
        Parameters:
        shapeType - type of the shape.
      • getClassName

        public String getClassName()
      • createInterval

        public IInterval createInterval(double min,
                               double max)