Package gov.nasa.worldwind.render
Class AnnotationNullLayout
- java.lang.Object
-
- gov.nasa.worldwind.render.AbstractAnnotationLayout
-
- gov.nasa.worldwind.render.AnnotationNullLayout
-
- All Implemented Interfaces:
AnnotationLayoutManager
public class AnnotationNullLayout extends AbstractAnnotationLayout
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<Annotation,java.lang.Object>
constraintMap
-
Fields inherited from class gov.nasa.worldwind.render.AbstractAnnotationLayout
pickSupport, stackHandler
-
-
Constructor Summary
Constructors Constructor Description AnnotationNullLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.awt.Rectangle
adjustAnnotationBounds(DrawContext dc, java.awt.Rectangle parentBounds, Annotation annotation, java.awt.Rectangle bounds)
void
drawAnnotations(DrawContext dc, java.awt.Rectangle bounds, java.lang.Iterable<? extends Annotation> annotations, double opacity, Position pickPosition)
protected java.awt.Rectangle
getAnnotationBounds(DrawContext dc, Annotation annotation)
java.lang.Object
getConstraint(Annotation annotation)
java.awt.Dimension
getPreferredSize(DrawContext dc, java.lang.Iterable<? extends Annotation> annotations)
void
setConstraint(Annotation annotation, java.lang.Object constraint)
-
Methods inherited from class gov.nasa.worldwind.render.AbstractAnnotationLayout
beginDrawAnnotations, drawAnnotation, endDrawAnnotations, getAnnotationSize, getPickSupport, setPickSupport
-
-
-
-
Field Detail
-
constraintMap
protected java.util.Map<Annotation,java.lang.Object> constraintMap
-
-
Method Detail
-
getConstraint
public java.lang.Object getConstraint(Annotation annotation)
-
setConstraint
public void setConstraint(Annotation annotation, java.lang.Object constraint)
-
getPreferredSize
public java.awt.Dimension getPreferredSize(DrawContext dc, java.lang.Iterable<? extends Annotation> annotations)
-
drawAnnotations
public void drawAnnotations(DrawContext dc, java.awt.Rectangle bounds, java.lang.Iterable<? extends Annotation> annotations, double opacity, Position pickPosition)
-
getAnnotationBounds
protected java.awt.Rectangle getAnnotationBounds(DrawContext dc, Annotation annotation)
-
adjustAnnotationBounds
protected java.awt.Rectangle adjustAnnotationBounds(DrawContext dc, java.awt.Rectangle parentBounds, Annotation annotation, java.awt.Rectangle bounds)
-
-