Class AnnotationLabel

Object
org.anchoranalysis.bean.AnchorBean<AnnotationLabel>
org.anchoranalysis.plugin.annotation.bean.label.AnnotationLabel

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

    Constructors 
    Constructor Description
    AnnotationLabel()  
  • Method Summary

    Modifier and Type Method Description
    org.anchoranalysis.bean.shared.color.RGBColorBean getColor()
    An optional color associated with the label when displayed via GUI.
    String getGroup()
    Specifies a group for the label (similar labels that are displayed together).
    String getUniqueLabel()
    Label that uniquely identifies the ID (for machine purposes).
    String getUserFriendlyLabel()
    Descriptive user-friendly label displayed via GUI.
    void setColor​(org.anchoranalysis.bean.shared.color.RGBColorBean color)
    An optional color associated with the label when displayed via GUI.
    void setGroup​(String group)
    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

  • 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 org.anchoranalysis.bean.shared.color.RGBColorBean getColor()
      An optional color associated with the label when displayed via GUI.
    • setColor

      public void setColor​(org.anchoranalysis.bean.shared.color.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).