|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ijchart.xychart.tooltip.AbstractToolTipGeneratorAdapter
com.ijchart.xychart.tooltip.DefaultTooltipGenerator
public class DefaultTooltipGenerator
Title: IJChart
Description: a chart library for the Java(tm) platform.
The default tooltip generator of a chart shape,this class is immutable.Copyright: Copyright (c) 2013
Company:
| Field Summary | |
|---|---|
static boolean |
DEFAULT_TOOLTIP_GENERATOR_GROUP
The default flag controls whether or not the data type is group. |
| Constructor Summary | |
|---|---|
DefaultTooltipGenerator()
No argument constructor. |
|
DefaultTooltipGenerator(boolean group)
No argument constructor. |
|
DefaultTooltipGenerator(IChartDataFormatter formatter)
Constructor. |
|
DefaultTooltipGenerator(IChartDataFormatter formatter,
boolean group)
Constructor. |
|
| Method Summary | |
|---|---|
protected java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object. |
java.lang.String |
generateGroupToolTip(IMatrixDataset dataset,
int row,
int column,
int index)
Returns this data formatter. |
int |
hashCode()
Returns a hash code. |
boolean |
isGroup()
The flag controls whether or not the data type is group. |
java.lang.String |
toString()
Returns a string representation of this Range. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DEFAULT_TOOLTIP_GENERATOR_GROUP
| Constructor Detail |
|---|
public DefaultTooltipGenerator()
public DefaultTooltipGenerator(boolean group)
group - boolean
The flag controls whether or not the data type is group.public DefaultTooltipGenerator(IChartDataFormatter formatter)
formatter - IFormatter
The data formatter (null permitted).
public DefaultTooltipGenerator(IChartDataFormatter formatter,
boolean group)
formatter - IFormatter
The data formatter (null permitted).group - boolean
The flag controls whether or not the data type is group.| Method Detail |
|---|
public IChartDataFormatter getFormatter()
public boolean isGroup()
isGroup in interface IToolTipGenerator
public java.lang.String generateToolTip(IMatrixDataset dataset,
int row,
int column)
generateToolTip in interface IToolTipGeneratorgenerateToolTip in class AbstractToolTipGeneratorAdapterdataset - 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.
public java.lang.String generateGroupToolTip(IMatrixDataset dataset,
int row,
int column,
int index)
generateGroupToolTip in interface IToolTipGeneratorgenerateGroupToolTip in class AbstractToolTipGeneratorAdapterdataset - 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.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj -
The object to test against (null permitted).
public int hashCode()
hashCode in class java.lang.Object
protected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException - if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||