protected class BasicAnnotationRenderer.OrderedAnnotation extends java.lang.Object implements OrderedRenderable
| Modifier and Type | Field and Description |
|---|---|
protected Annotation |
annotation |
protected double |
eyeDistance |
protected Layer |
layer |
| Constructor and Description |
|---|
OrderedAnnotation(Annotation annotation,
double eyeDistance) |
OrderedAnnotation(Annotation annotation,
Layer layer,
double eyeDistance) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRender(DrawContext dc,
BasicAnnotationRenderer.OrderedAnnotation oa) |
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 Annotation annotation
protected double eyeDistance
protected Layer layer
public OrderedAnnotation(Annotation annotation, double eyeDistance)
public OrderedAnnotation(Annotation annotation, Layer layer, double eyeDistance)
protected void doRender(DrawContext dc, BasicAnnotationRenderer.OrderedAnnotation oa)
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