public class AnnotationNullLayout extends AbstractAnnotationLayout
Modifier and Type | Field and Description |
---|---|
protected Map<Annotation,Object> |
constraintMap |
pickSupport, stackHandler
Constructor and Description |
---|
AnnotationNullLayout() |
Modifier and Type | Method and Description |
---|---|
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) |
beginDrawAnnotations, drawAnnotation, endDrawAnnotations, getAnnotationSize, getPickSupport, setPickSupport
protected Map<Annotation,Object> constraintMap
protected Rectangle adjustAnnotationBounds(DrawContext dc, Rectangle parentBounds, Annotation annotation, Rectangle bounds)
public void drawAnnotations(DrawContext dc, Rectangle bounds, Iterable<? extends Annotation> annotations, double opacity, Position pickPosition)
protected Rectangle getAnnotationBounds(DrawContext dc, Annotation annotation)
public Object getConstraint(Annotation annotation)
public Dimension getPreferredSize(DrawContext dc, Iterable<? extends Annotation> annotations)
public void setConstraint(Annotation annotation, Object constraint)