com.ijchart.xychart.tooltip
Interface IToolTipGenerator

All Known Implementing Classes:
AbstractToolTipGeneratorAdapter, DefaultTooltipGenerator

public interface IToolTipGenerator

Title: IJChart

Description: a chart library for the Java(tm) platform.

Interface for generator the tooltip of a chart shape.

Copyright: Copyright (c) 2013

Company:

Version:
1.0
Author:
zhang feng min,shanghai china. Contract me by email.

Method Summary
 java.lang.String generateGroupToolTip(IMatrixDataset dataset, int row, int column, int index)
           The flag controls whether or not the data type is group.
 

Method Detail

isGroup

boolean isGroup()
The flag controls whether or not the data type is group.

Returns:
boolean A boolean.

generateToolTip

java.lang.String generateToolTip(IMatrixDataset dataset,
                                 int row,
                                 int column)
Generates a tooltip for the specified item. The tooltip is typically a formatted version of the data value, but any text can be used.

Parameters:
dataset - IMatrixDataset The dataset (null not permitted).
row - int The dataset row number,must be greater than or equal to 0.
column - int The dataset column number,must be greater than or equal to 0.
Returns:
String The tooltip text (possibly null).

generateGroupToolTip

java.lang.String generateGroupToolTip(IMatrixDataset dataset,
                                      int row,
                                      int column,
                                      int index)
Generates a tooltip for the specified item. The tooltip is typically a formatted version of the data value, but any text can be used.

Parameters:
dataset - IMatrixDataset The dataset (null not permitted).
row - int The dataset row number,must be greater than or equal to 0.
column - int The dataset column number,must be greater than or equal to 0.
index - int The index of a dataset data.
Returns:
String The tooltip text (possibly null).