Class trafficlightPopupWindow
- All Implemented Interfaces:
javafx.event.EventTarget
A popup window designed to adjust traffic light phases' durations
Returns a List of Integer representing the new durations for each phase upon confirmation
If no changes were made or invalid input was provided, returns null
Will display appropriate notification alerts upon closing
Returns a List of Integer representing the new durations for each phase upon confirmation
If no changes were made or invalid input was provided, returns null
Will display appropriate notification alerts upon closing
-
Property Summary
Properties inherited from class javafx.scene.control.Dialog
contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y -
Constructor Summary
ConstructorsConstructorDescriptiontrafficlightPopupWindow(String tlID, List<Integer> phasesDuration) A popup window designed to adjust traffic light phases' durations
Returns a List of Integer representing the new durations for each phase upon confirmation
If no changes were made or invalid input was provided, returns null
Will display appropriate notification alerts upon closing -
Method Summary
Methods inherited from class javafx.scene.control.Dialog
addEventFilter, addEventHandler, buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, removeEventFilter, removeEventHandler, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty
-
Constructor Details
-
trafficlightPopupWindow
A popup window designed to adjust traffic light phases' durations
Returns a List of Integer representing the new durations for each phase upon confirmation
If no changes were made or invalid input was provided, returns null
Will display appropriate notification alerts upon closing- Parameters:
tlID- The ID of the traffic lightphasesDuration- The current phases durations of the traffic light
-