NASA World Wind

gov.nasa.worldwind.render
Class AbstractAnnotationLayout

java.lang.Object
  extended by gov.nasa.worldwind.render.AbstractAnnotationLayout
All Implemented Interfaces:
AnnotationLayoutManager
Direct Known Subclasses:
AnnotationFlowLayout, AnnotationNullLayout

public abstract class AbstractAnnotationLayout
extends Object
implements AnnotationLayoutManager


Field Summary
protected  PickSupport pickSupport
           
protected  OGLStackHandler stackHandler
           
 
Constructor Summary
protected AbstractAnnotationLayout()
           
 
Method Summary
 void beginDrawAnnotations(DrawContext dc, Rectangle bounds)
           
protected  void drawAnnotation(DrawContext dc, Annotation annotation, int width, int height, double opacity, Position pickPosition)
           
 void endDrawAnnotations(DrawContext dc)
           
protected  Dimension getAnnotationSize(DrawContext dc, Annotation annotation)
           
 PickSupport getPickSupport()
           
 void setPickSupport(PickSupport pickSupport)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.nasa.worldwind.render.AnnotationLayoutManager
drawAnnotations, getPreferredSize
 

Field Detail

pickSupport

protected PickSupport pickSupport

stackHandler

protected OGLStackHandler stackHandler
Constructor Detail

AbstractAnnotationLayout

protected AbstractAnnotationLayout()
Method Detail

beginDrawAnnotations

public void beginDrawAnnotations(DrawContext dc,
                                 Rectangle bounds)
Specified by:
beginDrawAnnotations in interface AnnotationLayoutManager

drawAnnotation

protected void drawAnnotation(DrawContext dc,
                              Annotation annotation,
                              int width,
                              int height,
                              double opacity,
                              Position pickPosition)

endDrawAnnotations

public void endDrawAnnotations(DrawContext dc)
Specified by:
endDrawAnnotations in interface AnnotationLayoutManager

getAnnotationSize

protected Dimension getAnnotationSize(DrawContext dc,
                                      Annotation annotation)

getPickSupport

public PickSupport getPickSupport()
Specified by:
getPickSupport in interface AnnotationLayoutManager

setPickSupport

public void setPickSupport(PickSupport pickSupport)
Specified by:
setPickSupport in interface AnnotationLayoutManager

NASA World Wind

Custom Search
Hosted by bugaco.com
If you want to access WorldWind 0.5 docs click here