Class BoxAndWhiskerToolTipGenerator

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        For serialization.
        See Also:
        Constant Field Values
      • DEFAULT_TOOL_TIP_FORMAT

        public static final java.lang.String DEFAULT_TOOL_TIP_FORMAT
        The default tooltip format string.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BoxAndWhiskerToolTipGenerator

        public BoxAndWhiskerToolTipGenerator()
        Creates a default tool tip generator.
      • BoxAndWhiskerToolTipGenerator

        public BoxAndWhiskerToolTipGenerator​(java.lang.String format,
                                             java.text.NumberFormat formatter)
        Creates a tool tip formatter.
        Parameters:
        format - the tool tip format string.
        formatter - the formatter.
    • Method Detail

      • createItemArray

        protected java.lang.Object[] createItemArray​(CategoryDataset dataset,
                                                     int series,
                                                     int item)
        Creates the array of items that can be passed to the MessageFormat class for creating labels.
        Overrides:
        createItemArray in class AbstractCategoryItemLabelGenerator
        Parameters:
        dataset - the dataset (null not permitted).
        series - the series (zero-based index).
        item - the item (zero-based index).
        Returns:
        The items (never null).
      • equals

        public boolean equals​(java.lang.Object obj)
        Tests if this object is equal to another.
        Overrides:
        equals in class StandardCategoryToolTipGenerator
        Parameters:
        obj - the other object.
        Returns:
        A boolean.