/* ----------------------------------------
 * Origin  : GFI INFORMATIQUE 
 * Project : CDPP Propagation Tool 
 * ----------------------------------------
 * History 
 * Version : 01/05/2015 : SCA : V2.1
 * Version : 17/10/2018 : SCA : V2.2.5
 *  Redmine #6119 
 * ----------------------------------------
 */
package fr.tlse.irap.pt.client.controller.tools.timetable;

import javafx.collections.FXCollections;
import javafx.collections.ObservableList;

public class RadialTimeTable {

	public final String TARGET	  	= "Target";
	public final String TIME_END   	= "t'";	
	public final String DELTA_VMIN 	= "t'min(ΔV)";
	public final String DELTA_VMAX 	= "t'max(ΔV)";
	public final String DELTA_LONG_2L 	= "φEnd(t')-\nφStart(t)";
	public final String DELTA_LONG 	= "φEnd(t')-φStart(t)";
	public final String DIST_SUN 	= "r(End-Sun)";
	public final String CME_EXTENT 	= "ΔφCME";
	public final String CME_LONG 	= "φCME(t)";
	public final String IS_INSIDE 	= "Inside CME";

	private ObservableList<RadialProperty> properties = FXCollections.observableArrayList();

	public ObservableList<RadialProperty> getProperties() {
		return properties;
	}

	public void setProperties(ObservableList<RadialProperty> properties) {
		this.properties = properties;
	}

	public void addProperty(RadialProperty property) {
		this.properties.add(property);
	}
	
	public void clearProperties() {
		this.properties.clear();
	}

	public boolean isEmpty(){
		return (this.properties.size() == 0);
	}

}
