Class InteractiveTooltip
java.lang.Object
org.jzy3d.plot3d.rendering.tooltips.InteractiveTooltip
- All Implemented Interfaces:
IInteractiveTooltipRenderer,ITooltipRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IActionprotected Stringprotected Rectangleprotected IntegerCoord2dprotected Coord3d -
Constructor Summary
ConstructorsConstructorDescriptionInteractiveTooltip(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()voidrender(Graphics2D g2d) voidupdateScreenPosition(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:
getLastBoundsin interfaceIInteractiveTooltipRenderer
-
render
- Specified by:
renderin interfaceITooltipRenderer
-
updateScreenPosition
- Specified by:
updateScreenPositionin interfaceITooltipRenderer
-