model.Segment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annotationpro-format Show documentation
Show all versions of annotationpro-format Show documentation
Library to read and write Annotation Pro files
package model;
import lombok.Data;
import java.util.UUID;
@Data
public class Segment {
public Segment(String label, double start, double duration) {
setId(UUID.randomUUID().toString());
setForeColor(-16777216);
setBackColor(-1);
setBorderColor(-16777216);
setLabel(label);
setStart(start);
setDuration(duration);
setSelected(false);
setFeature("");
setLanguage("");
setGroup("");
setName("");
setParameter1("");
setParameter2("");
setParameter3("");
setMarkerEnabled(false);
setMarker("");
setRScript("");
}
String id;
String idLayer;
String label;
int foreColor;
int backColor;
int borderColor;
double start;
double duration;
boolean isSelected;
String feature;
String language;
String group;
String name;
String parameter1;
String parameter2;
String parameter3;
boolean isMarkerEnabled;
String marker;
String rScript;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy