gui details of crop basics
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
package ch.zhaw.gartenverwaltung;
|
||||
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.layout.VBox;
|
||||
|
||||
public class CropDetailController {
|
||||
|
||||
@FXML
|
||||
private Button area_button;
|
||||
|
||||
@FXML
|
||||
private Label area_label;
|
||||
|
||||
@FXML
|
||||
private Label cropName_label;
|
||||
|
||||
@FXML
|
||||
private Label description_label;
|
||||
|
||||
@FXML
|
||||
private VBox growthPahses_vbox;
|
||||
|
||||
@FXML
|
||||
private Label lacation_label;
|
||||
|
||||
@FXML
|
||||
private Label light_label;
|
||||
|
||||
@FXML
|
||||
private Button location_button;
|
||||
|
||||
@FXML
|
||||
private VBox pests_vbox;
|
||||
|
||||
@FXML
|
||||
private Label soil_label;
|
||||
|
||||
@FXML
|
||||
private Label spacing_label;
|
||||
|
||||
@FXML
|
||||
void editTaskList(ActionEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void goBack(ActionEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void setArea(ActionEvent event) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void setLocation(ActionEvent event) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
package ch.zhaw.gartenverwaltung;
|
||||
|
||||
import ch.zhaw.gartenverwaltung.types.Crop;
|
||||
import ch.zhaw.gartenverwaltung.types.Plant;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.event.EventHandler;
|
||||
import javafx.fxml.FXML;
|
||||
@@ -23,9 +22,6 @@ import java.util.ResourceBundle;
|
||||
public class MyPlantsController implements Initializable {
|
||||
MainFXMLController mainController;
|
||||
|
||||
@FXML
|
||||
private Button addPlant_button;
|
||||
|
||||
@FXML
|
||||
private VBox myPlants_vbox;
|
||||
|
||||
@@ -76,11 +72,11 @@ public class MyPlantsController implements Initializable {
|
||||
@Override
|
||||
public void handle(ActionEvent event) {
|
||||
//ToDo uncomment when new FXML exists
|
||||
/*try {
|
||||
mainController.loadPane("");
|
||||
try {
|
||||
mainController.loadPane("CropDetail.fxml");
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
}*/
|
||||
}
|
||||
}
|
||||
};
|
||||
return event;
|
||||
|
||||
Reference in New Issue
Block a user