|
|
|
@ -1,16 +1,8 @@
|
|
|
|
|
package view;
|
|
|
|
|
|
|
|
|
|
import javafx.beans.property.ListProperty;
|
|
|
|
|
import javafx.beans.property.Property;
|
|
|
|
|
import javafx.beans.property.SimpleListProperty;
|
|
|
|
|
import javafx.beans.value.ChangeListener;
|
|
|
|
|
import javafx.beans.value.ObservableValue;
|
|
|
|
|
import javafx.collections.FXCollections;
|
|
|
|
|
import javafx.collections.ObservableList;
|
|
|
|
|
import javafx.event.ActionEvent;
|
|
|
|
|
import javafx.event.Event;
|
|
|
|
|
import javafx.event.EventHandler;
|
|
|
|
|
import javafx.event.EventType;
|
|
|
|
|
import javafx.fxml.FXML;
|
|
|
|
|
import javafx.scene.control.*;
|
|
|
|
|
import javafx.scene.control.cell.PropertyValueFactory;
|
|
|
|
@ -20,10 +12,6 @@ import javafx.util.converter.NumberStringConverter;
|
|
|
|
|
import modele.*;
|
|
|
|
|
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import static java.lang.Float.parseFloat;
|
|
|
|
|
|
|
|
|
|
public class TreeViewCapteur extends FxmlWindow {
|
|
|
|
|
|
|
|
|
@ -111,7 +99,7 @@ public class TreeViewCapteur extends FxmlWindow {
|
|
|
|
|
|
|
|
|
|
EventHandler<ActionEvent> eventTextView = e -> {
|
|
|
|
|
try {
|
|
|
|
|
new ViewCapteurText(newV.getValue(), "/fxml/Capteur.fxml", "TextView");
|
|
|
|
|
new ViewCapteurText(newV.getValue(), "/fxml/CapteurText.fxml", "TextView");
|
|
|
|
|
} catch (IOException ex) {
|
|
|
|
|
throw new RuntimeException(ex);
|
|
|
|
|
}
|
|
|
|
|