1 package jalview.datamodel.annotations;
3 import jalview.datamodel.Annotation;
5 public class AnnotationRowBuilder
10 boolean hasDescription = false;
14 boolean hasMinMax = false;
16 public String getName()
21 public void setName(String name)
26 public boolean isHasDescription()
28 return hasDescription;
31 public void setHasDescription(boolean hasDescription)
33 this.hasDescription = hasDescription;
36 public String getDescription()
41 public void setDescription(String description)
43 this.description = description;
46 public boolean isHasMinMax()
51 public void setHasMinMax(boolean hasMinMax)
53 this.hasMinMax = hasMinMax;
61 public void setMin(float min)
71 public void setMax(float max)
78 public AnnotationRowBuilder(String string)
83 public AnnotationRowBuilder(String name, float min, float max)
88 this.hasMinMax = true;
92 * override this to apply some form of transformation to the annotation - eg a
97 public void processAnnotation(Annotation annotation)