import java.awt.Color;
+import jalview.datamodel.annotations.AnnotationColouringI;
+
/**
* Holds all annotation values for a position in an AlignmentAnnotation row
*
public Color colour;
/**
+ * link back to the AnnotationRowBuilder
+ */
+ private AnnotationColouringI annotationColouring = null;
+
+ /**
* Creates a new Annotation object.
*
* @param displayChar
secondaryStructure = that.secondaryStructure;
value = that.value;
colour = that.colour;
-
+ annotationColouring = that.getAnnotationColouring();
}
/**
&& (secondaryStructure == '\0' || (secondaryStructure == ' '))
&& colour == null);
}
+
+ public void setAnnotationColouring(AnnotationColouringI a)
+ {
+ this.annotationColouring = a;
+ }
+
+ public AnnotationColouringI getAnnotationColouring()
+ {
+ return annotationColouring;
+ }
}