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 PickSupport
pickSupport
protected OGLStackHandler
stackHandler
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAnnotationLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beginDrawAnnotations(DrawContext dc, java.awt.Rectangle bounds)
protected void
drawAnnotation(DrawContext dc, Annotation annotation, int width, int height, double opacity, Position pickPosition)
void
endDrawAnnotations(DrawContext dc)
protected java.awt.Dimension
getAnnotationSize(DrawContext dc, Annotation annotation)
PickSupport
getPickSupport()
void
setPickSupport(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:
getPickSupport
in interfaceAnnotationLayoutManager
-
setPickSupport
public void setPickSupport(PickSupport pickSupport)
- Specified by:
setPickSupport
in interfaceAnnotationLayoutManager
-
beginDrawAnnotations
public void beginDrawAnnotations(DrawContext dc, java.awt.Rectangle bounds)
- Specified by:
beginDrawAnnotations
in interfaceAnnotationLayoutManager
-
endDrawAnnotations
public void endDrawAnnotations(DrawContext dc)
- Specified by:
endDrawAnnotations
in 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)
-
-