NASA World Wind

gov.nasa.worldwind.render
Interface Annotation

All Superinterfaces:
Disposable, Pickable, Renderable, Restorable
All Known Implementing Classes:
AbstractAnnotation, GlobeAnnotation, SARAnnotation, ScreenAnnotation

public interface Annotation
extends Renderable, Pickable, Disposable, Restorable

Represent a text label and its rendering attributes.


Field Summary
static int ANTIALIAS_DONT_CARE
           
static int ANTIALIAS_FASTEST
           
static int ANTIALIAS_NICEST
           
static String IMAGE_REPEAT_NONE
           
static String IMAGE_REPEAT_X
           
static String IMAGE_REPEAT_XY
           
static String IMAGE_REPEAT_Y
           
static String SIZE_FIT_TEXT
           
static String SIZE_FIXED
           
 
Method Summary
 void draw(DrawContext dc)
           
 AnnotationAttributes getAttributes()
           
 Object getDelegateOwner()
           
 String getText()
           
 boolean isAlwaysOnTop()
           
 void setAlwaysOnTop(boolean alwaysOnTop)
           
 void setAttributes(AnnotationAttributes attrs)
           
 void setDelegateOwner(Object delegateOwner)
           
 void setPickSupport(PickSupport pickSupport)
           
 void setText(String text)
           
 
Methods inherited from interface gov.nasa.worldwind.render.Renderable
render
 
Methods inherited from interface gov.nasa.worldwind.pick.Pickable
pick
 
Methods inherited from interface gov.nasa.worldwind.Disposable
dispose
 
Methods inherited from interface gov.nasa.worldwind.Restorable
getRestorableState, restoreState
 

Field Detail

ANTIALIAS_DONT_CARE

static final int ANTIALIAS_DONT_CARE

ANTIALIAS_FASTEST

static final int ANTIALIAS_FASTEST

ANTIALIAS_NICEST

static final int ANTIALIAS_NICEST

IMAGE_REPEAT_NONE

static final String IMAGE_REPEAT_NONE
See Also:
Constant Field Values

IMAGE_REPEAT_X

static final String IMAGE_REPEAT_X
See Also:
Constant Field Values

IMAGE_REPEAT_XY

static final String IMAGE_REPEAT_XY
See Also:
Constant Field Values

IMAGE_REPEAT_Y

static final String IMAGE_REPEAT_Y
See Also:
Constant Field Values

SIZE_FIT_TEXT

static final String SIZE_FIT_TEXT
See Also:
Constant Field Values

SIZE_FIXED

static final String SIZE_FIXED
See Also:
Constant Field Values
Method Detail

draw

void draw(DrawContext dc)

getAttributes

AnnotationAttributes getAttributes()

getDelegateOwner

Object getDelegateOwner()

getText

String getText()

isAlwaysOnTop

boolean isAlwaysOnTop()

setAlwaysOnTop

void setAlwaysOnTop(boolean alwaysOnTop)

setAttributes

void setAttributes(AnnotationAttributes attrs)

setDelegateOwner

void setDelegateOwner(Object delegateOwner)

setPickSupport

void setPickSupport(PickSupport pickSupport)

setText

void setText(String text)

NASA World Wind