Class TextTooltipRenderer
- java.lang.Object
-
- org.jzy3d.plot3d.rendering.tooltips.TextTooltipRenderer
-
- All Implemented Interfaces:
ITooltipRenderer
public class TextTooltipRenderer extends Object implements ITooltipRenderer
-
-
Field Summary
Fields Modifier and Type Field Description protected Rectangle
lastBounds
protected IntegerCoord2d
screenLocation
protected Coord3d
target
protected String
text
-
Constructor Summary
Constructors Constructor Description TextTooltipRenderer(String text, IntegerCoord2d screen, Coord3d target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(Graphics2D g2d)
void
updateScreenPosition(IntegerCoord2d position)
void
updateTargetCoordinate(Coord3d target)
-
-
-
Field Detail
-
target
protected Coord3d target
-
screenLocation
protected IntegerCoord2d screenLocation
-
lastBounds
protected Rectangle lastBounds
-
text
protected String text
-
-
Constructor Detail
-
TextTooltipRenderer
public TextTooltipRenderer(String text, IntegerCoord2d screen, Coord3d target)
-
-
Method Detail
-
render
public void render(Graphics2D g2d)
- Specified by:
render
in interfaceITooltipRenderer
-
updateScreenPosition
public void updateScreenPosition(IntegerCoord2d position)
- Specified by:
updateScreenPosition
in interfaceITooltipRenderer
-
updateTargetCoordinate
public void updateTargetCoordinate(Coord3d target)
-
-