public class IlvDefaultChartToolTip extends Object implements IlvIMapAttributes
IlvDefaultChartHitmapDefinition.getToolTipAsHTML(IlvIMapAttributes)
Constructor and Description |
---|
IlvDefaultChartToolTip(String title,
IlvDataSet dataSet)
Creates a tooltip with a given title and suitable for a given data set
as a whole.
|
IlvDefaultChartToolTip(String title,
IlvDataSet dataSet,
int idx)
Creates a tooltip with a given title and suitable for a given data point
in a data set.
|
IlvDefaultChartToolTip(String title,
IlvTreeListModel model,
TreePath path)
Creates a tooltip with a given title and suitable for a given data object
in a data model.
|
IlvDefaultChartToolTip(String title,
String mainLine)
Creates a tooltip with given title and main line.
|
Modifier and Type | Method and Description |
---|---|
String |
getALT()
Returns the main line given to or compute by the constructor.
|
String |
getExtraAttributes()
Returns extra attributes for interactive effects.
|
String |
getHREF()
Returns the anchor reference for the interactive effect of a hyperlink.
|
String |
getTarget()
Returns the name of the target frame for the interactive effect of a
hyperlink.
|
String |
getTitle()
Returns the title given to or compute by the constructor.
|
public IlvDefaultChartToolTip(String title, String mainLine)
title
- The first line of the tooltip.mainLine
- The second line of the tooltip.public IlvDefaultChartToolTip(String title, IlvDataSet dataSet, int idx)
title
- The first line of the tooltip.dataSet
- A data set represented in the chart.idx
- The index of a data point in the data set.public IlvDefaultChartToolTip(String title, IlvDataSet dataSet)
title
- The first line of the tooltip.dataSet
- A data set represented in the chart.public IlvDefaultChartToolTip(String title, IlvTreeListModel model, TreePath path)
title
- The first line of the tooltip.model
- Tree model.path
- A tree path starting at the tree model root and ending at
the specific tree model node.public String getTitle()
getTitle
in interface IlvIMapAttributes
public String getALT()
getALT
in interface IlvIMapAttributes
public String getHREF()
This method by default returns null
. It can be overridden
in subclasses.
Note: In this JViews release, hyperlink effects are not supported through the hitmap mechanism.
getHREF
in interface IlvIMapAttributes
public String getTarget()
null
can be used to denote the current frame.
This method by default returns null
. It can be overridden
in subclasses.
Note: In this JViews release, hyperlink effects are not supported through the hitmap mechanism.
getTarget
in interface IlvIMapAttributes
public String getExtraAttributes()
onMouseOut
, onMouseOver
, ...).
The returned string must be compliant with the expected attributes
format. For example:
onMouseOver="script code ..." onMouseOut="script code ..."
This method by default returns null
. It can be overridden
in subclasses.
Note: In this JViews release, extra attributes for interactive effects are not supported through the hitmap mechanism.
getExtraAttributes
in interface IlvIMapAttributes
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.