Added in some comment for the functions and classes that didnt have them

main
Liam Beckett 9 years ago
parent 6049e5b1a5
commit c1ac1ca6e3

@ -61,6 +61,10 @@ public class FlightRawDataController implements Initializable {
final ObservableList<String> flightList = FXCollections.observableArrayList();
/**
* Loads the Flight paths into the List View and waits for a mouse clicked event for which it will update the table
* to display the selected Flight paths points. Called from the MenuController.
*/
public void flightPathListView() {
try {
ArrayList<FlightPath> flightPaths = new ArrayList();
@ -92,6 +96,9 @@ public class FlightRawDataController implements Initializable {
}
}
/**
* Function used to load the table for the Flight points initially from the MenuController
*/
public void loadTables() {
flightIdCol.setCellValueFactory(new PropertyValueFactory<FlightPoint, String>("ID"));
flightNameCol.setCellValueFactory(new PropertyValueFactory<FlightPoint, String>("Name"));
@ -113,11 +120,6 @@ public class FlightRawDataController implements Initializable {
flightTableView.setItems(FXCollections.observableArrayList(flightPoints));
}
public static void updateTable(int pathID) {
}
public void initialize(URL arg0, ResourceBundle arg1) {
// TODO Auto-generated method stub

@ -14,6 +14,7 @@ import java.util.ArrayList;
import java.util.ResourceBundle;
/**
* Controller for the Flights Summary Scene.
* Created by Liam Beckett on 13/09/2016.
*/
public class FlightSummaryController implements Initializable {
@ -25,11 +26,13 @@ public class FlightSummaryController implements Initializable {
this.parent = parent;
}
@FXML
ListView<String> flightPathListView;
final ObservableList<String> flightList = FXCollections.observableArrayList();
/**
* Loads the Flight paths into the List View and is called from the MenuController.
*/
public void flightPathListView() {
try {
theDataSet = this.parent.getCurrentDataset();

Loading…
Cancel
Save