com.ijchart.xychart.tooltip
Class AbstractToolTipGeneratorAdapter

java.lang.Object
  extended by com.ijchart.xychart.tooltip.AbstractToolTipGeneratorAdapter
All Implemented Interfaces:
IToolTipGenerator
Direct Known Subclasses:
DefaultTooltipGenerator

public abstract class AbstractToolTipGeneratorAdapter
extends java.lang.Object
implements IToolTipGenerator

Title: IJChart

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

An adapter 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.

Constructor Summary
AbstractToolTipGeneratorAdapter()
           
 
Method Summary
 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.

Specified by:
generateToolTip in interface IToolTipGenerator
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

public 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.

Specified by:
generateGroupToolTip in interface IToolTipGenerator
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).