Class FlagItem

All Implemented Interfaces:
Serializable

public class FlagItem extends DataSeriesItem
DataSeriesItem that can hold also title and text values. Used in flags charts.
See Also:
  • Constructor Details

    • FlagItem

      public FlagItem(Number x, String title)
      Constructs an item with X and Title values
      Parameters:
      x -
      title -
    • FlagItem

      public FlagItem(Instant instant, String title)
      Constructs an item with X and Title values
      Parameters:
      instant -
      title -
    • FlagItem

      public FlagItem(Number x, String title, String text)
      Constructs an item with X, Title and Text values
      Parameters:
      x -
      title -
    • FlagItem

      public FlagItem(Instant instant, String title, String text)
      Constructs an item with X, Title and Text values
      Parameters:
      instant -
      title -
      text -
  • Method Details

    • setTitle

      public void setTitle(String title)
      Sets the title of the flag
      Parameters:
      title -
    • getTitle

      public String getTitle()
      Returns:
      the title of the flag
    • getText

      public String getText()
      See Also:
    • setText

      public void setText(String text)
      Sets the text to be displayed when the flag is highlighted