com.supermap.mapping

Class ThemeDotDensity



  • public class ThemeDotDensity
    extends Theme
    Point density layer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void dispose()
      Releases the point density layer
      boolean fromXML(java.lang.String xml)
      Gets the point density layer from a xml file
      java.lang.String getDotExpression()
      Returns the field or field expression which is used for creating a point density thematic map
      GeoStyle getStyle()
      Returns the style of points in a density thematic map
      double getValue()
      Returns values denoted by each point in a thematic map
      void setDotExpression(java.lang.String value)
      Sets the field or field expression which is used for creating a point density thematic map
      void setStyle(GeoStyle style)
      Sets the style of points in a density thematic map
      void setValue(double value)
      Sets values denoted by each point in a thematic map
      java.lang.String toString()
      Turns the point density layer into a xml file
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ThemeDotDensity

        public ThemeDotDensity()
        Construction method
      • ThemeDotDensity

        public ThemeDotDensity(ThemeDotDensity themeDotDensity)
        Construction method
        Parameters:
        themeDotDensity - Point density layer
    • Method Detail

      • getValue

        public double getValue()
        Returns values denoted by each point in a thematic map
        Returns:
        Returns values denoted by each point in a thematic map
      • setValue

        public void setValue(double value)
        Sets values denoted by each point in a thematic map
        Parameters:
        value - Sets values denoted by each point in a thematic map
      • getDotExpression

        public java.lang.String getDotExpression()
        Returns the field or field expression which is used for creating a point density thematic map
        Returns:
        Returns the field or field expression which is used for creating a point density thematic map
      • setDotExpression

        public void setDotExpression(java.lang.String value)
        Sets the field or field expression which is used for creating a point density thematic map
        Parameters:
        value - Sets the field or field expression which is used for creating a point density thematic map
      • getStyle

        public GeoStyle getStyle()
        Returns the style of points in a density thematic map
        Returns:
        Returns the style of points in a density thematic map
      • setStyle

        public void setStyle(GeoStyle style)
        Sets the style of points in a density thematic map
        Parameters:
        style - Sets the style of points in a density thematic map
      • fromXML

        public boolean fromXML(java.lang.String xml)
        Gets the point density layer from a xml file
        Overrides:
        fromXML in class Theme
        Parameters:
        xml - The XML strings that contains the information about a thematic map.
        Returns:
        A boolean, return true if it is removed successfully; false otherwise.
      • dispose

        public void dispose()
        Releases the point density layer
      • toString

        public java.lang.String toString()
        Turns the point density layer into a xml file
        Specified by:
        toString in class Theme
        Returns:
        The formatted string for the thematic map.