Class TooltipAttribute

java.lang.Object
org.moeaframework.analysis.plot.style.TooltipAttribute
All Implemented Interfaces:
PlotAttribute, StyleAttribute

public class TooltipAttribute extends Object implements StyleAttribute
Styles the tooltip displayed when hovering the mouse over a data point.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new style attribute that displays tooltips.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(org.jfree.chart.plot.Plot plot, int dataset, int series)
    Applies the style to a specific dataset and series.
    of()
    Returns a style attribute that displays tooltips when hovering the mouse over data points.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.moeaframework.analysis.plot.style.StyleAttribute

    apply
  • Constructor Details

    • TooltipAttribute

      public TooltipAttribute()
      Constructs a new style attribute that displays tooltips.
  • Method Details

    • apply

      public void apply(org.jfree.chart.plot.Plot plot, int dataset, int series)
      Description copied from interface: StyleAttribute
      Applies the style to a specific dataset and series.
      Specified by:
      apply in interface StyleAttribute
      Parameters:
      plot - the plot
      dataset - the index of the dataset
      series - the index of the series
    • of

      public static TooltipAttribute of()
      Returns a style attribute that displays tooltips when hovering the mouse over data points.
      Returns:
      the resulting style attribute