Interface ILegendNodePropertiesOwner

All Known Implementing Classes:
AbstractLineVisualSet, AbstractPolylineVisualSet, GanttPiecewisePolylineVisualSet, GanttPolylineVisualSet, LineBarVisualSet, LineVisualSet, PiecewisePolylineVisualSet, PointsVisualSet, PolylineVisualSet

public interface ILegendNodePropertiesOwner
Interface of legend node properties owners. Provides a set of methods corresponding to it. Used for visual sets which have a representation in the chart legend.
Author:
Aleksey Kirillov
  • Method Details

    • getLegendColor

      Color getLegendColor()
      Returns the color of the legend's icon corresponding to this VisualSet
      Returns:
      the color of the legend's icon corresponding to this VisualSet
    • setLegendText

      ILegendNodePropertiesOwner setLegendText(Supplier<String> legendTextProvider)
      Sets the legend label text represents this visual set.
      Parameters:
      legendTextProvider - the legend label text represents this visual set
      Returns:
      reference to this object
    • getLegendText

      String getLegendText()
      Returns the legend label text represents this visual set.
      Returns:
      the legend label text represents this visual set