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