gov.nasa.worldwind.examples.util
Class ToolTip
java.lang.Object
gov.nasa.worldwind.examples.util.ToolTip
- All Implemented Interfaces:
- Pickable, OrderedRenderable, Renderable
public class ToolTip - extends Object
- implements OrderedRenderable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToolTip
public ToolTip(String text,
int x,
int y)
doRender
protected void doRender(DrawContext dc)
drawToolTip
protected void drawToolTip(DrawContext dc,
String text,
int x,
int y)
getDistanceFromEye
public double getDistanceFromEye()
- Specified by:
getDistanceFromEye in interface OrderedRenderable
pick
public void pick(DrawContext dc,
Point pickPoint)
- Specified by:
pick in interface Pickable
render
public void render(DrawContext dc)
- Description copied from interface:
Renderable
- Causes this
Renderable to render itself using the DrawContext provided. The
DrawContext provides the elevation model, openGl instance, globe and other information required for
drawing. It is recommended that the DrawContext is non-null as most implementations do not support
null DrawContexts.
- Specified by:
render in interface Renderable
- Parameters:
dc - the DrawContext to be used- See Also:
DrawContext
|
|