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.RGBColorBeangetColor()An optional color associated with the label when displayed via GUI.StringgetGroup()Specifies a group for the label (similar labels that are displayed together).StringgetUniqueLabel()Label that uniquely identifies the ID (for machine purposes).StringgetUserFriendlyLabel()Descriptive user-friendly label displayed via GUI.voidsetColor(org.anchoranalysis.bean.shared.color.RGBColorBean color)An optional color associated with the label when displayed via GUI.voidsetGroup(String group)Specifies a group for the label (similar labels that are displayed together).voidsetUniqueLabel(String uniqueLabel)Label that uniquely identifies the ID (for machine purposes).voidsetUserFriendlyLabel(String userFriendlyLabel)Descriptive user-friendly label displayed via GUI.
-
Constructor Details
-
AnnotationLabel
public AnnotationLabel()
-
-
Method Details
-
getUniqueLabel
Label that uniquely identifies the ID (for machine purposes). -
setUniqueLabel
Label that uniquely identifies the ID (for machine purposes). -
getUserFriendlyLabel
Descriptive user-friendly label displayed via GUI. -
setUserFriendlyLabel
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
Specifies a group for the label (similar labels that are displayed together). -
setGroup
Specifies a group for the label (similar labels that are displayed together).
-