Class SearchParametersDialog
java.lang.Object
javafx.scene.control.Dialog
application.controller.dialogs.search.SearchParametersDialog
- All Implemented Interfaces:
javafx.event.EventTarget
- Direct Known Subclasses:
AgarSearchParametersDialog
,BruteForceSearchParametersDialog
,CatalystSearchParametersDialog
,RuleSearchParametersDialog
public abstract class SearchParametersDialog
extends javafx.scene.control.Dialog
A dialog to obtain search parameters from a search dialog
-
Property Summary
-
Field Summary
Fields Modifier and Type Field Description protected javafx.scene.layout.GridPane
grid
protected int
numThreads
protected SearchParameters
searchParameters
protected javafx.scene.control.Spinner<java.lang.Integer>
spinnerThreads
-
Constructor Summary
Constructors Constructor Description SearchParametersDialog()
Constructs the dialog -
Method Summary
Modifier and Type Method Description boolean
confirmParameters()
Updates the search parameters based on the inputted parametersint
getNumThreads()
Gets the number of threads usedSearchParameters
getSearchParameters()
Gets the search parametersMethods inherited from class javafx.scene.control.Dialog
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, 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
-
Field Details
-
spinnerThreads
protected javafx.scene.control.Spinner<java.lang.Integer> spinnerThreads -
grid
protected javafx.scene.layout.GridPane grid -
searchParameters
-
numThreads
protected int numThreads
-
-
Constructor Details
-
SearchParametersDialog
public SearchParametersDialog()Constructs the dialog
-
-
Method Details
-
confirmParameters
public boolean confirmParameters()Updates the search parameters based on the inputted parameters- Returns:
- Returns true if successful, false otherwise
-
getSearchParameters
Gets the search parameters- Returns:
- Returns the search parameters
-
getNumThreads
public int getNumThreads()Gets the number of threads used- Returns:
- Returns the number of threads used
-