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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constraintMap
protected Map<Annotation,Object> constraintMap
AnnotationNullLayout
public AnnotationNullLayout()
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)
|
|