oracle.dss.graph
Interface CustomToolTipCallback
- public interface CustomToolTipCallback
This interface provides a callback for overriding the tool tips that the 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.
- See Also:
Graph.setCustomToolTipCallback(oracle.dss.graph.CustomToolTipCallback)
Method Summary |
java.lang.String |
getToolTipText(java.lang.String defaultToolTipText, ComponentHandle componentHandle)
Retrieves the customized text for tooltips. |
getToolTipText
public java.lang.String getToolTipText(java.lang.String defaultToolTipText,
ComponentHandle componentHandle)
- Retrieves the customized text for tooltips. The default tooltip handler for the
Graph
calls this method to retrieve the custom text for the tooltip.
-
- Parameters:
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
.
- Returns:
- The text to display in the tooltip.
Copyright © 2003, Oracle. All Rights Reserved.