All Downloads are FREE. Search and download functionalities are using the official Maven repository.

model.Segment Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
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