Package bayern.steinbrecher.wizard.pages
Class Selection<T extends java.lang.Comparable<? extends T>>
java.lang.Object
bayern.steinbrecher.wizard.WizardPage<T,C>
bayern.steinbrecher.wizard.StandaloneWizardPage<java.util.Optional<java.util.Set<T>>,SelectionController<T>>
bayern.steinbrecher.wizard.pages.Selection<T>
- Type Parameters:
T- The type of the attributes being able to select.
public class Selection<T extends java.lang.Comparable<? extends T>> extends StandaloneWizardPage<java.util.Optional<java.util.Set<T>>,SelectionController<T>>
- Since:
- 1.4
- Author:
- Stefan Huber
-
Property Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Selection(@NotNull java.util.function.Supplier<java.util.Set<T>> options)Selection(@NotNull java.util.Set<T> options)Creates a new page which represents each given option as selectableCheckBoxand adds a search box which allows to filter the visible options. -
Method Summary
Modifier and Type Method Description protected voidafterControllerInitialized()This method is executed after the FXML is loaded and right after the corresponding controller is set.Methods inherited from class bayern.steinbrecher.wizard.StandaloneWizardPage
embedStandaloneWizardPageMethods inherited from class bayern.steinbrecher.wizard.WizardPage
finishProperty, getController, getNextFunction, getResult, isFinish, isValid, nextFunctionProperty, setFinishAndDynamicNext, setFinishAndNext, validProperty
-
Constructor Details
-
Method Details
-
afterControllerInitialized
protected void afterControllerInitialized()Description copied from class:WizardPageThis method is executed after the FXML is loaded and right after the corresponding controller is set. This function represents an equivalent to a FXML controllersinitialize()method. The FXML itself is loaded when and only if this page gets embedded into aWizard(seeWizardPage.generateEmbeddableWizardPage().- Overrides:
afterControllerInitializedin classWizardPage<java.util.Optional<java.util.Set<T extends java.lang.Comparable<? extends T>>>,SelectionController<T extends java.lang.Comparable<? extends T>>>
-