Class HtmlLegendItem


  • public final class HtmlLegendItem
    extends Object
    Object used to invoke TilesFactory in order to get the PointStyle representation for legend.
    This object is used internally even if is public, used only by HtmlLegend plugin.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getChart

        public IsChart getChart()
        Returns the chart instance
        Returns:
        the chart instance
      • getLegendItem

        public LegendLabelItem getLegendItem()
        Returns the legend item instance, needed to create the point style for legend.
        Returns:
        the legend item instance
      • getSize

        public int getSize()
        Returns the size of the tile for point style legend.
        Returns:
        the size of the tile for point style legend
      • getRadius

        public double getRadius()
        Sets the radius of the tile for point style legend.
        Returns:
        the radius of the tile for point style legend
      • toUniqueKey

        public final String toUniqueKey()
        Returns the string JSON representation of the object as unique key or null if legend item is not consistent.
        Returns:
        the string JSON representation of the object as unique key or null if legend item is not consistent