NASA World Wind

gov.nasa.worldwind.render
Class AnnotationNullLayout

java.lang.Object
  extended by gov.nasa.worldwind.render.AbstractAnnotationLayout
      extended by gov.nasa.worldwind.render.AnnotationNullLayout
All Implemented Interfaces:
AnnotationLayoutManager

public class AnnotationNullLayout
extends AbstractAnnotationLayout


Field Summary
protected  Map<Annotation,Object> constraintMap
           
 
Fields inherited from class gov.nasa.worldwind.render.AbstractAnnotationLayout
pickSupport, stackHandler
 
Constructor Summary
AnnotationNullLayout()
           
 
Method Summary
protected  Rectangle adjustAnnotationBounds(DrawContext dc, Rectangle parentBounds, Annotation annotation, Rectangle bounds)
           
 void drawAnnotations(DrawContext dc, Rectangle bounds, Iterable<? extends Annotation> annotations, double opacity, Position pickPosition)
           
protected  Rectangle getAnnotationBounds(DrawContext dc, Annotation annotation)
           
 Object getConstraint(Annotation annotation)
           
 Dimension getPreferredSize(DrawContext dc, Iterable<? extends Annotation> annotations)
           
 void setConstraint(Annotation annotation, Object constraint)
           
 
Methods inherited from class gov.nasa.worldwind.render.AbstractAnnotationLayout
beginDrawAnnotations, drawAnnotation, endDrawAnnotations, getAnnotationSize, getPickSupport, setPickSupport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

constraintMap

protected Map<Annotation,Object> constraintMap
Constructor Detail

AnnotationNullLayout

public AnnotationNullLayout()
Method Detail

adjustAnnotationBounds

protected Rectangle adjustAnnotationBounds(DrawContext dc,
                                           Rectangle parentBounds,
                                           Annotation annotation,
                                           Rectangle bounds)

drawAnnotations

public void drawAnnotations(DrawContext dc,
                            Rectangle bounds,
                            Iterable<? extends Annotation> annotations,
                            double opacity,
                            Position pickPosition)

getAnnotationBounds

protected Rectangle getAnnotationBounds(DrawContext dc,
                                        Annotation annotation)

getConstraint

public Object getConstraint(Annotation annotation)

getPreferredSize

public Dimension getPreferredSize(DrawContext dc,
                                  Iterable<? extends Annotation> annotations)

setConstraint

public void setConstraint(Annotation annotation,
                          Object constraint)

NASA World Wind

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