gov.nasa.worldwind.examples.analytics
Class AnalyticSurfaceLegend.OrderedLabel
java.lang.Object
gov.nasa.worldwind.examples.analytics.AnalyticSurfaceLegend.OrderedLabel
- All Implemented Interfaces:
- Pickable, OrderedRenderable, Renderable
- Enclosing class:
- AnalyticSurfaceLegend
protected static class AnalyticSurfaceLegend.OrderedLabel
- extends java.lang.Object
- implements OrderedRenderable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attr
protected final AnalyticSurfaceLegend.LabelAttributes attr
halign
protected final java.lang.String halign
legend
protected final AnalyticSurfaceLegend legend
valign
protected final java.lang.String valign
x
protected final double x
y
protected final double y
AnalyticSurfaceLegend.OrderedLabel
public AnalyticSurfaceLegend.OrderedLabel(AnalyticSurfaceLegend legend,
AnalyticSurfaceLegend.LabelAttributes attr,
double x,
double y,
java.lang.String halign,
java.lang.String valign)
getDistanceFromEye
public double getDistanceFromEye()
- Specified by:
getDistanceFromEye in interface OrderedRenderable
pick
public void pick(DrawContext dc,
java.awt.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