org.jzy3d.plot3d.rendering.tooltips
Class InteractiveTooltip

java.lang.Object
  extended by org.jzy3d.plot3d.rendering.tooltips.InteractiveTooltip
All Implemented Interfaces:
IInteractiveTooltipRenderer, ITooltipRenderer

public class InteractiveTooltip
extends java.lang.Object
implements IInteractiveTooltipRenderer


Constructor Summary
InteractiveTooltip(Coord3d target, java.lang.String content, IntegerCoord2d screenLocation)
           
InteractiveTooltip(Coord3d target, java.lang.String content, IntegerCoord2d screenLocation, IAction action)
           
 
Method Summary
 java.awt.Rectangle getLastBounds()
          Return screen bounds of the tooltip rectangle used at last call to render()
 void render(java.awt.Graphics2D g2d)
           
 void updateScreenPosition(IntegerCoord2d position)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractiveTooltip

public InteractiveTooltip(Coord3d target,
                          java.lang.String content,
                          IntegerCoord2d screenLocation)

InteractiveTooltip

public InteractiveTooltip(Coord3d target,
                          java.lang.String content,
                          IntegerCoord2d screenLocation,
                          IAction action)
Method Detail

getLastBounds

public java.awt.Rectangle getLastBounds()
Return screen bounds of the tooltip rectangle used at last call to render()

Specified by:
getLastBounds in interface IInteractiveTooltipRenderer

render

public void render(java.awt.Graphics2D g2d)
Specified by:
render in interface ITooltipRenderer

updateScreenPosition

public void updateScreenPosition(IntegerCoord2d position)
Specified by:
updateScreenPosition in interface ITooltipRenderer