1 package jalview.datamodel.annotations;
3 import jalview.datamodel.Annotation;
4 import jalview.structure.StructureImportSettings.TFType;
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;
21 private TFType tfType = null;
23 public void setTFType(TFType t)
28 public TFType getTFType()
33 public String getName()
38 public void setName(String name)
43 public boolean isHasDescription()
45 return hasDescription;
48 public void setHasDescription(boolean hasDescription)
50 this.hasDescription = hasDescription;
53 public String getDescription()
58 public void setDescription(String description)
60 this.description = description;
63 public boolean isHasMinMax()
68 public void setHasMinMax(boolean hasMinMax)
70 this.hasMinMax = hasMinMax;
78 public void setMin(float min)
88 public void setMax(float max)
95 public AnnotationRowBuilder(String string)
100 public AnnotationRowBuilder(String name, float min, float max, TFType tft)
102 this(name, min, max);
106 public AnnotationRowBuilder(String name, float min, float max)
111 this.hasMinMax = true;
115 * override this to apply some form of transformation to the annotation - eg a
120 public void processAnnotation(Annotation annotation)