public interface CustomToolTipCallback
Graph provides by default. To provide custom tool tips, you implement this interface. Then you call the Graph.setCustomToolTipCallback method to register the callback with the graph.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getToolTipText(java.lang.String defaultToolTipText, ComponentHandle componentHandle)
Retrieves the customized text for tooltips.
|
java.lang.String getToolTipText(java.lang.String defaultToolTipText,
ComponentHandle componentHandle)
Graph calls this method to retrieve the custom text for the tooltip.defaultToolTipText - The tool tip text that the Graph provides by default.componentHandle - The ComponentHandle for the component to which this tool tip applies. The componentHandle will actually be one of the following subclasses of ComponentHandle: DataComponentHandle, GroupComponentHandle, NonDataComponentHandle, PageItemComponentHandle, or SeriesComponentHandle.