Package gov.nasa.worldwind.render
Class AbstractAnnotationLayout
- java.lang.Object
-
- gov.nasa.worldwind.render.AbstractAnnotationLayout
-
- All Implemented Interfaces:
AnnotationLayoutManager
- Direct Known Subclasses:
AnnotationFlowLayout,AnnotationNullLayout
public abstract class AbstractAnnotationLayout extends java.lang.Object implements AnnotationLayoutManager
-
-
Field Summary
Fields Modifier and Type Field Description protected PickSupportpickSupportprotected OGLStackHandlerstackHandler
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAnnotationLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginDrawAnnotations(DrawContext dc, java.awt.Rectangle bounds)protected voiddrawAnnotation(DrawContext dc, Annotation annotation, int width, int height, double opacity, Position pickPosition)voidendDrawAnnotations(DrawContext dc)protected java.awt.DimensiongetAnnotationSize(DrawContext dc, Annotation annotation)PickSupportgetPickSupport()voidsetPickSupport(PickSupport pickSupport)-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nasa.worldwind.render.AnnotationLayoutManager
drawAnnotations, getPreferredSize
-
-
-
-
Field Detail
-
stackHandler
protected OGLStackHandler stackHandler
-
pickSupport
protected PickSupport pickSupport
-
-
Method Detail
-
getPickSupport
public PickSupport getPickSupport()
- Specified by:
getPickSupportin interfaceAnnotationLayoutManager
-
setPickSupport
public void setPickSupport(PickSupport pickSupport)
- Specified by:
setPickSupportin interfaceAnnotationLayoutManager
-
beginDrawAnnotations
public void beginDrawAnnotations(DrawContext dc, java.awt.Rectangle bounds)
- Specified by:
beginDrawAnnotationsin interfaceAnnotationLayoutManager
-
endDrawAnnotations
public void endDrawAnnotations(DrawContext dc)
- Specified by:
endDrawAnnotationsin interfaceAnnotationLayoutManager
-
getAnnotationSize
protected java.awt.Dimension getAnnotationSize(DrawContext dc, Annotation annotation)
-
drawAnnotation
protected void drawAnnotation(DrawContext dc, Annotation annotation, int width, int height, double opacity, Position pickPosition)
-
-