public class TooltipContainer extends Object
Constructor and Description |
---|
TooltipContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addTooltip(TooltipExtent extent,
String text)
Adds a tooltip at the given position.
|
String |
getTooltipText(Point p)
Returns the first tooltip text found for a given position.
|
public void addTooltip(TooltipExtent extent, String text)
Adds a tooltip at the given position.
extent
- the area in which the tooltip should be showntext
- the text to be shownCopyright © 2023. All rights reserved.