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 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constraintMap
protected java.util.Map<Annotation,java.lang.Object> constraintMap
AnnotationNullLayout
public AnnotationNullLayout()
adjustAnnotationBounds
protected java.awt.Rectangle adjustAnnotationBounds(DrawContext dc,
java.awt.Rectangle parentBounds,
Annotation annotation,
java.awt.Rectangle bounds)
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)
getConstraint
public java.lang.Object getConstraint(Annotation annotation)
getPreferredSize
public java.awt.Dimension getPreferredSize(DrawContext dc,
java.lang.Iterable<? extends Annotation> annotations)
setConstraint
public void setConstraint(Annotation annotation,
java.lang.Object constraint)