Package bayern.steinbrecher.wizard.pages
Class SelectionGroup<T extends java.lang.Comparable<T>,G>
java.lang.Object
bayern.steinbrecher.wizard.WizardPage<T,C>
bayern.steinbrecher.wizard.StandaloneWizardPage<java.util.Optional<java.util.Map<T,G>>,SelectionGroupController<T,G>>
bayern.steinbrecher.wizard.pages.SelectionGroup<T,G>
- Type Parameters:
T- The type of the options to select.G- The type of the groups to associate items with.
public final class SelectionGroup<T extends java.lang.Comparable<T>,G> extends StandaloneWizardPage<java.util.Optional<java.util.Map<T,G>>,SelectionGroupController<T,G>>
Represents a
Selection which allows to select and group items.- Since:
- 1.51
- Author:
- Stefan Huber
-
Property Summary
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SelectionGroup(java.util.function.Supplier<java.util.Set<T>> options, java.util.function.Supplier<com.google.common.collect.BiMap<G,javafx.scene.paint.Color>> groups)SelectionGroup(java.util.Set<T> options, com.google.common.collect.BiMap<G,javafx.scene.paint.Color> groups) -
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
-
SelectionGroup
-
SelectionGroup
public SelectionGroup(java.util.function.Supplier<java.util.Set<T>> options, java.util.function.Supplier<com.google.common.collect.BiMap<G,javafx.scene.paint.Color>> groups)- Since:
- 1.55
-
-
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.Map<T extends java.lang.Comparable<T>,G>>,SelectionGroupController<T extends java.lang.Comparable<T>,G>>
-