public class SelectBestTourGroceryListView extends ViewHandlingDBExceptions
Modifier and Type | Field and Description |
---|---|
private SelectBestTourGroceryListController |
controller |
private javafx.scene.control.Button |
findItineraryButton |
private javafx.scene.control.ComboBox<java.lang.String> |
groceryListField |
private static int |
HEIGHT_WINDOW |
private static java.lang.String |
SELECT_GROCERY_LIST_FXML |
private javafx.stage.Stage |
stage |
private static int |
WIDTH_WINDOW |
Constructor and Description |
---|
SelectBestTourGroceryListView(SelectBestTourGroceryListController controller) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
onFindItinerary()
Event Listener on Button[#findItineraryButton].onAction
|
private void |
setupUI()
Fills the comboBox with all the grocery list names
|
void |
showEmptyGroceryListError() |
showDatabaseConnectionError, showDataBaseInternalError
private static final java.lang.String SELECT_GROCERY_LIST_FXML
private static final int WIDTH_WINDOW
private static final int HEIGHT_WINDOW
private javafx.scene.control.ComboBox<java.lang.String> groceryListField
private javafx.scene.control.Button findItineraryButton
private SelectBestTourGroceryListController controller
private javafx.stage.Stage stage
public SelectBestTourGroceryListView(SelectBestTourGroceryListController controller) throws java.io.IOException
java.io.IOException