gov.nasa.worldwind.applications.sar.render
Class TrackSegmentInfo.OrderedText
java.lang.Object
gov.nasa.worldwind.applications.sar.render.TrackSegmentInfo.OrderedText
- All Implemented Interfaces:
- Pickable, OrderedRenderable, Renderable
- Enclosing class:
- TrackSegmentInfo
protected static class TrackSegmentInfo.OrderedText - extends Object
- implements OrderedRenderable
|
Method Summary |
protected void |
draw2DText(DrawContext dc,
String text,
int x,
int y,
Font font,
Color color)
|
void |
drawMultiLineText(DrawContext dc,
String text,
int x,
int y,
Font font,
Color color)
|
double |
getDistanceFromEye()
|
protected MultiLineTextRenderer |
getTextRendererFor(DrawContext dc,
Font font)
|
void |
pick(DrawContext dc,
Point pickPoint)
|
void |
render(DrawContext dc)
Causes this Renderable to render itself using the DrawContext provided. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackSegmentInfo.OrderedText
public TrackSegmentInfo.OrderedText(String text,
int x,
int y,
Font font,
Color color,
double distanceFromEye)
draw2DText
protected void draw2DText(DrawContext dc,
String text,
int x,
int y,
Font font,
Color color)
drawMultiLineText
public void drawMultiLineText(DrawContext dc,
String text,
int x,
int y,
Font font,
Color color)
getDistanceFromEye
public double getDistanceFromEye()
- Specified by:
getDistanceFromEye in interface OrderedRenderable
getTextRendererFor
protected MultiLineTextRenderer getTextRendererFor(DrawContext dc,
Font font)
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
|
|