Lines Matching defs:anno

222       Annotation anno   = (Annotation) iter.next();
223 Interval interval = anno.getInterval();
248 g.setColor(anno.getColor());
251 g.drawLine(curLineX, lineStartY, curTextX - 10, anno.getY() - (lineHeight / 2));
253 anno.draw(g);
442 Annotation anno = (Annotation) iter.next();
443 anno.setY(anno.getY() + y);
496 Annotation anno = (Annotation) ((IntervalNode) iter.next()).getData();
504 if (el.getLowAddress().greaterThan(anno.getLowAddress())) {
507 if (el == anno) {
511 constraintAnnotation = anno;
521 layoutAfter(anno, constraintAnnotation, g, x, startAddr, lineHeight);
522 constraintAnnotation = anno;
529 newAnnos.add(anno);
535 Annotation anno = (Annotation) newAnnos.get(i);
536 layoutBefore(anno, firstConstraintAnnotation, g, x, startAddr, lineHeight);
537 firstConstraintAnnotation = anno;
546 Annotation anno = (Annotation) iter.next();
547 layoutAfter(anno, constraintAnnotation, g, x, startAddr, lineHeight);
548 constraintAnnotation = anno;
558 private void layoutBefore(Annotation anno, Annotation constraintAnno,
561 anno.computeWidthAndHeight(g);
564 anno.setColor(prevColor(constraintAnno.getColor()));
566 anno.setColor(colors[0]);
569 anno.setX(x);
571 anno.setY((int) (((Address) anno.getInterval().getLowEndpoint()).minus(startAddr) * lineHeight / addressSize) +
573 // See whether Y overlaps with last anno's Y; if so, move this one up
574 if ((constraintAnno != null) && (anno.getY() + anno.getHeight() > constraintAnno.getY())) {
575 anno.setY(constraintAnno.getY() - anno.getHeight());
582 private void layoutAfter(Annotation anno, Annotation constraintAnno,
585 anno.computeWidthAndHeight(g);
588 anno.setColor(nextColor(constraintAnno.getColor()));
590 anno.setColor(colors[0]);
593 anno.setX(x);
595 anno.setY((int) (((Address) anno.getInterval().getLowEndpoint()).minus(startAddr) * lineHeight / addressSize) +
597 // See whether Y overlaps with last anno's Y; if so, move this one down
598 if ((constraintAnno != null) && (anno.getY() < (constraintAnno.getY() + constraintAnno.getHeight()))) {
599 anno.setY(constraintAnno.getY() + constraintAnno.getHeight());
630 AnnotatedMemoryPanel anno = new AnnotatedMemoryPanel(debugger);
631 frame.getContentPane().add(anno);
632 anno.addAnnotation(new Annotation(debugger.parseAddress("0x80000000"),
635 anno.addAnnotation(new Annotation(debugger.parseAddress("0x80000010"),
638 anno.addAnnotation(new Annotation(debugger.parseAddress("0x80000020"),