Class GeoFeatureElementOptions


  • public final class GeoFeatureElementOptions
    extends BarElementOptions
    The styling of the new element GeoFeatureElementOptions is based on Bar element with some additional options for the outline and graticule.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getDefaultBorderWidth

        protected int getDefaultBorderWidth()
        Description copied from class: CommonElementOptions
        This method must be overrided by all element where the border width is stored in different object.
        Overrides:
        getDefaultBorderWidth in class BarElementOptions
        Returns:
        an undefined integer
      • setBorderWidth

        public void setBorderWidth​(BarBorderWidth borderWidth)
        It doesn't do anything because you can set the border width only by a number.
        Overrides:
        setBorderWidth in class BarElementOptions
        Parameters:
        borderWidth - the border width.
      • setOutlineBackgroundColor

        public void setOutlineBackgroundColor​(IsColor backgroundColor)
        Sets the outline background color.
        Parameters:
        backgroundColor - the outline background color.
      • setOutlineBackgroundColor

        public void setOutlineBackgroundColor​(String backgroundColor)
        Sets the outline background color.
        Parameters:
        backgroundColor - the outline background color.
      • getOutlineBackgroundColorAsString

        public String getOutlineBackgroundColorAsString()
        Returns the outline background color.
        Returns:
        the outline background color.
      • getOutlineBackgroundColor

        public IsColor getOutlineBackgroundColor()
        Returns the outline background color.
        Returns:
        the outline background color.
      • setOutlineBorderWidth

        public void setOutlineBorderWidth​(int borderWidth)
        Sets the outline border width.
        Parameters:
        borderWidth - the outline border width.
      • getOutlineBorderWidth

        public int getOutlineBorderWidth()
        Returns the outline border width.
        Returns:
        the outline border width.
      • setOutlineBorderColor

        public void setOutlineBorderColor​(IsColor borderColor)
        Sets the outline border color.
        Parameters:
        borderColor - the outline border color.
      • setOutlineBorderColor

        public void setOutlineBorderColor​(String borderColor)
        Sets the outline border color.
        Parameters:
        borderColor - the outline border color.
      • getOutlineBorderColorAsString

        public String getOutlineBorderColorAsString()
        Returns the outline border color.
        Returns:
        the outline border color.
      • getOutlineBorderColor

        public IsColor getOutlineBorderColor()
        Returns the outline border color.
        Returns:
        the outline border color.
      • setGraticuleBorderWidth

        public void setGraticuleBorderWidth​(int borderWidth)
        Sets the graticule border width.
        Parameters:
        borderWidth - the graticule border width.
      • getGraticuleBorderWidth

        public int getGraticuleBorderWidth()
        Returns the graticule border width.
        Returns:
        the graticule border width.
      • setGraticuleBorderColor

        public void setGraticuleBorderColor​(String borderColor)
        Sets the graticule border color.
        Parameters:
        borderColor - the graticule border color.
      • setGraticuleBorderColor

        public void setGraticuleBorderColor​(IsColor borderColor)
        Sets the graticule border color.
        Parameters:
        borderColor - the graticule border color.
      • getGraticuleBorderColorAsString

        public String getGraticuleBorderColorAsString()
        Returns the graticule border color.
        Returns:
        the graticule border color.
      • getGraticuleBorderColor

        public IsColor getGraticuleBorderColor()
        Returns the graticule border color.
        Returns:
        the graticule border color.