Skip navigation links
org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl

Class VectorialIntervalLegend

    • Field Detail

      • VECTORIAL_INTERVAL_LEGEND_PERSISTENCE_DEFINITION_NAME

        public static final java.lang.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 java.awt.Color getEndColor()
        Returns the final color
        Returns:
        Color final color.
      • setEndColor

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

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

        public void setStartColor(java.awt.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 java.lang.String getClassName()
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Description copied from interface: Cloneable
        Creates a copy of the object.
        Overrides:
        clone in class AbstractIntervalLegend
        Returns:
        a copy of the object
        Throws:
        java.lang.CloneNotSupportedException - if the instance of the object cannot be cloned. As this is extending Cloneable so its sure it implements it, so this exception may be used for problems on specific object instances.
        See Also:
        Object#clone()}.
      • createInterval

        public IInterval createInterval(double min,
                                        double max)