Class InteractiveTooltip
java.lang.Object
org.jzy3d.plot3d.rendering.tooltips.InteractiveTooltip
- All Implemented Interfaces:
IInteractiveTooltipRenderer
,ITooltipRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprotected IAction
protected String
protected Rectangle
protected IntegerCoord2d
protected Coord3d
-
Constructor Summary
ConstructorDescriptionInteractiveTooltip
(Coord3d target, String content, IntegerCoord2d screenLocation) InteractiveTooltip
(Coord3d target, String content, IntegerCoord2d screenLocation, IAction action) -
Method Summary
Modifier and TypeMethodDescriptionReturn screen bounds of the tooltip rectangle used at last call to render()void
render
(Graphics2D g2d) void
updateScreenPosition
(IntegerCoord2d position)
-
Field Details
-
target
-
-
action
-
screenLocation
-
lastBounds
-
-
Constructor Details
-
InteractiveTooltip
-
InteractiveTooltip
public InteractiveTooltip(Coord3d target, String content, IntegerCoord2d screenLocation, IAction action)
-
-
Method Details
-
getLastBounds
Return screen bounds of the tooltip rectangle used at last call to render()- Specified by:
getLastBounds
in interfaceIInteractiveTooltipRenderer
-
render
- Specified by:
render
in interfaceITooltipRenderer
-
updateScreenPosition
- Specified by:
updateScreenPosition
in interfaceITooltipRenderer
-