1 package jalview.datamodel.annotations;
3 import jalview.datamodel.AlignmentAnnotation.TFType;
4 import jalview.datamodel.Annotation;
6 public class AnnotationRowBuilder
11 boolean hasDescription = false;
15 boolean hasMinMax = false;
18 * the type of temperature factor plot (if it is one)
20 private TFType tfType = TFType.DEFAULT;
22 public void setTFType(TFType t)
27 public TFType getTFType()
32 public String getName()
37 public void setName(String name)
42 public boolean isHasDescription()
44 return hasDescription;
47 public void setHasDescription(boolean hasDescription)
49 this.hasDescription = hasDescription;
52 public String getDescription()
57 public void setDescription(String description)
59 this.description = description;
62 public boolean isHasMinMax()
67 public void setHasMinMax(boolean hasMinMax)
69 this.hasMinMax = hasMinMax;
77 public void setMin(float min)
87 public void setMax(float max)
94 public AnnotationRowBuilder(String string)
99 public AnnotationRowBuilder(String name, float min, float max, TFType tft)
101 this(name, min, max);
105 public AnnotationRowBuilder(String name, float min, float max)
110 this.hasMinMax = true;
114 * override this to apply some form of transformation to the annotation - eg a
119 public void processAnnotation(Annotation annotation)