Class AnnotationLabel

Object
AnchorBean<AnnotationLabel>
AnnotationLabel

public class AnnotationLabel extends AnchorBean<AnnotationLabel>
Represents a label used for annotation, with associated metadata.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    RGBColorBean
    An optional color associated with the label when displayed via GUI.
    Specifies a group for the label (similar labels that are displayed together).
    Label that uniquely identifies the ID (for machine purposes).
    Descriptive user-friendly label displayed via GUI.
    void
    setColor(RGBColorBean color)
    An optional color associated with the label when displayed via GUI.
    void
    Specifies a group for the label (similar labels that are displayed together).
    void
    setUniqueLabel(String uniqueLabel)
    Label that uniquely identifies the ID (for machine purposes).
    void
    setUserFriendlyLabel(String userFriendlyLabel)
    Descriptive user-friendly label displayed via GUI.

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AnnotationLabel

      public AnnotationLabel()
  • Method Details

    • getUniqueLabel

      public String getUniqueLabel()
      Label that uniquely identifies the ID (for machine purposes).
    • setUniqueLabel

      public void setUniqueLabel(String uniqueLabel)
      Label that uniquely identifies the ID (for machine purposes).
    • getUserFriendlyLabel

      public String getUserFriendlyLabel()
      Descriptive user-friendly label displayed via GUI.
    • setUserFriendlyLabel

      public void setUserFriendlyLabel(String userFriendlyLabel)
      Descriptive user-friendly label displayed via GUI.
    • getColor

      public RGBColorBean getColor()
      An optional color associated with the label when displayed via GUI.
    • setColor

      public void setColor(RGBColorBean color)
      An optional color associated with the label when displayed via GUI.
    • getGroup

      public String getGroup()
      Specifies a group for the label (similar labels that are displayed together).
    • setGroup

      public void setGroup(String group)
      Specifies a group for the label (similar labels that are displayed together).