protected static class AnalyticSurfaceLegend.OrderedLabel extends java.lang.Object implements OrderedRenderable
| Modifier and Type | Field and Description |
|---|---|
protected AnalyticSurfaceLegend.LabelAttributes |
attr |
protected java.lang.String |
halign |
protected AnalyticSurfaceLegend |
legend |
protected java.lang.String |
valign |
protected double |
x |
protected double |
y |
| Constructor and Description |
|---|
OrderedLabel(AnalyticSurfaceLegend legend,
AnalyticSurfaceLegend.LabelAttributes attr,
double x,
double y,
java.lang.String halign,
java.lang.String valign) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDistanceFromEye()
Returns the ordered renderable's distance from the current view's eye point.
|
void |
pick(DrawContext dc,
java.awt.Point pickPoint)
Executes a pick of the ordered renderable.
|
void |
render(DrawContext dc)
Causes this
Renderable to render itself using the provided draw context. |
protected final AnalyticSurfaceLegend.LabelAttributes attr
protected final java.lang.String halign
protected final AnalyticSurfaceLegend legend
protected final java.lang.String valign
protected final double x
protected final double y
public OrderedLabel(AnalyticSurfaceLegend legend, AnalyticSurfaceLegend.LabelAttributes attr, double x, double y, java.lang.String halign, java.lang.String valign)
public double getDistanceFromEye()
OrderedRenderablegetDistanceFromEye in interface OrderedRenderablepublic void pick(DrawContext dc, java.awt.Point pickPoint)
OrderedRenderablepick in interface OrderedRenderabledc - the current draw context.pickPoint - the pick point.public void render(DrawContext dc)
RenderableRenderable to render itself using the provided draw context.render in interface Renderabledc - the DrawContext to be usedDrawContext