Class KozaTab
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.tabs.Tab
com.decs.application.views.ProblemEditor.tabs.KozaTab
- All Implemented Interfaces:
ParamTab,com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasAriaLabel,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasLabel,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasTheme,com.vaadin.flow.component.shared.HasThemeVariant<com.vaadin.flow.component.tabs.TabVariant>,com.vaadin.flow.component.shared.HasTooltip,Serializable
Koza Tab Class
This class implements the problem editor Koza parameter tab. It is responsible for all visual components and their behavior.
- Version:
- 1.0
- Author:
- Bruno Guiomar
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.textfield.NumberFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.textfield.NumberFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.textfield.NumberFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.textfield.NumberFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.textfield.NumberFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate static final StringName of the parameter file this tab will generateprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.textfield.NumberFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.html.Span -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.orderedlayout.VerticalLayoutThis method is responsible for building the respective tab global layoutprivate voidBuilds the crossover pipelines components groupprivate voidBuilds the initial creation components groupprivate voidBuilds the koza node selection components groupec.util.ParameterDatabase[]createParamDatabase(ProblemType selectedProblem) This method is responsible for creating a parameter database with the compilation of all parameters and values in the respective tabprivate voidBuilds the pipelines components groupprivate voidBuilds the point mutation components groupprivate voidBuilds the subtree mutation components groupprivate voidBuilds the tournament components groupString[]This method is responsible for retrieving the output parameter file nameMethods inherited from class com.vaadin.flow.component.tabs.Tab
getFlexGrow, getLabel, isSelected, setFlexGrow, setLabel, setSelected, toStringMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasAriaLabel
getAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledByMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.HasTheme
addThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasThemeVariant
addThemeVariants, removeThemeVariantsMethods inherited from interface com.vaadin.flow.component.shared.HasTooltip
getTooltip, setTooltipText
-
Field Details
-
PARAMS_FILENAME
Name of the parameter file this tab will generate- See Also:
-
kozaTabLayout
private com.vaadin.flow.component.orderedlayout.VerticalLayout kozaTabLayout -
initialCreationLayoutGroup
private com.vaadin.flow.component.orderedlayout.VerticalLayout initialCreationLayoutGroup -
initialCreationTitle
private com.vaadin.flow.component.html.Span initialCreationTitle -
initialCreationSubtitle
private com.vaadin.flow.component.html.Span initialCreationSubtitle -
initialCreationLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout initialCreationLayout -
initialCreationMinDepthLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout initialCreationMinDepthLayout -
initialCreationMinDepth
private com.vaadin.flow.component.textfield.IntegerField initialCreationMinDepth -
initialCreationMinDepthTooltip
private com.vaadin.flow.component.shared.Tooltip initialCreationMinDepthTooltip -
initialCreationMinDepthHelpBtn
private com.vaadin.flow.component.button.Button initialCreationMinDepthHelpBtn -
initialCreationMaxDepthLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout initialCreationMaxDepthLayout -
initialCreationMaxDepth
private com.vaadin.flow.component.textfield.IntegerField initialCreationMaxDepth -
initialCreationMaxDepthTooltip
private com.vaadin.flow.component.shared.Tooltip initialCreationMaxDepthTooltip -
initialCreationMaxDepthHelpBtn
private com.vaadin.flow.component.button.Button initialCreationMaxDepthHelpBtn -
initialCreationGrowProbLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout initialCreationGrowProbLayout -
initialCreationGrowProb
private com.vaadin.flow.component.textfield.NumberField initialCreationGrowProb -
initialCreationGrowProbTooltip
private com.vaadin.flow.component.shared.Tooltip initialCreationGrowProbTooltip -
initialCreationGrowProbHelpBtn
private com.vaadin.flow.component.button.Button initialCreationGrowProbHelpBtn -
pipelinesLayoutGroup
private com.vaadin.flow.component.orderedlayout.VerticalLayout pipelinesLayoutGroup -
pipelinesTitle
private com.vaadin.flow.component.html.Span pipelinesTitle -
pipelinesLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout pipelinesLayout -
crossoverPipelineProbLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout crossoverPipelineProbLayout -
crossoverPipelineProb
private com.vaadin.flow.component.textfield.NumberField crossoverPipelineProb -
crossoverPipelineProbTooltip
private com.vaadin.flow.component.shared.Tooltip crossoverPipelineProbTooltip -
crossoverPipelineProbHelpBtn
private com.vaadin.flow.component.button.Button crossoverPipelineProbHelpBtn -
reproductionPipelineProbLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout reproductionPipelineProbLayout -
reproductionPipelineProb
private com.vaadin.flow.component.textfield.NumberField reproductionPipelineProb -
reproductionPipelineProbTooltip
private com.vaadin.flow.component.shared.Tooltip reproductionPipelineProbTooltip -
reproductionPipelineProbHelpBtn
private com.vaadin.flow.component.button.Button reproductionPipelineProbHelpBtn -
crossoverPipelineLayoutGroup
private com.vaadin.flow.component.orderedlayout.VerticalLayout crossoverPipelineLayoutGroup -
crossoverPipelineTitle
private com.vaadin.flow.component.html.Span crossoverPipelineTitle -
crossoverPipelineSubtitle
private com.vaadin.flow.component.html.Span crossoverPipelineSubtitle -
crossoverPipelineLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout crossoverPipelineLayout -
crossoverPipelineMaxDepthLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout crossoverPipelineMaxDepthLayout -
crossoverPipelineMaxDepth
private com.vaadin.flow.component.textfield.IntegerField crossoverPipelineMaxDepth -
crossoverPipelineMaxDepthTooltip
private com.vaadin.flow.component.shared.Tooltip crossoverPipelineMaxDepthTooltip -
crossoverPipelineMaxDepthHelpBtn
private com.vaadin.flow.component.button.Button crossoverPipelineMaxDepthHelpBtn -
crossoverPipelineTriesLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout crossoverPipelineTriesLayout -
crossoverPipelineTries
private com.vaadin.flow.component.textfield.IntegerField crossoverPipelineTries -
crossoverPipelineTriesTooltip
private com.vaadin.flow.component.shared.Tooltip crossoverPipelineTriesTooltip -
crossoverPipelineTriesHelpBtn
private com.vaadin.flow.component.button.Button crossoverPipelineTriesHelpBtn -
pointMutationLayoutGroup
private com.vaadin.flow.component.orderedlayout.VerticalLayout pointMutationLayoutGroup -
pointMutationTitle
private com.vaadin.flow.component.html.Span pointMutationTitle -
pointMutationSubtitle
private com.vaadin.flow.component.html.Span pointMutationSubtitle -
pointMutationLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout pointMutationLayout -
pointMutationMaxDepthLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout pointMutationMaxDepthLayout -
pointMutationMaxDepth
private com.vaadin.flow.component.textfield.IntegerField pointMutationMaxDepth -
pointMutationMaxDepthTooltip
private com.vaadin.flow.component.shared.Tooltip pointMutationMaxDepthTooltip -
pointMutationMaxDepthHelpBtn
private com.vaadin.flow.component.button.Button pointMutationMaxDepthHelpBtn -
pointMutationTriesLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout pointMutationTriesLayout -
pointMutationTries
private com.vaadin.flow.component.textfield.IntegerField pointMutationTries -
pointMutationTriesTooltip
private com.vaadin.flow.component.shared.Tooltip pointMutationTriesTooltip -
pointMutationTriesHelpBtn
private com.vaadin.flow.component.button.Button pointMutationTriesHelpBtn -
tournamentLayoutGroup
private com.vaadin.flow.component.orderedlayout.VerticalLayout tournamentLayoutGroup -
tournamentTitle
private com.vaadin.flow.component.html.Span tournamentTitle -
tournamentSizeLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout tournamentSizeLayout -
tournamentSize
private com.vaadin.flow.component.textfield.IntegerField tournamentSize -
tournamentSizeTooltip
private com.vaadin.flow.component.shared.Tooltip tournamentSizeTooltip -
tournamentSizeHelpBtn
private com.vaadin.flow.component.button.Button tournamentSizeHelpBtn -
subtreeMutationLayoutGroup
private com.vaadin.flow.component.orderedlayout.VerticalLayout subtreeMutationLayoutGroup -
subtreeMutationTitle
private com.vaadin.flow.component.html.Span subtreeMutationTitle -
subtreeMutationSubtitle
private com.vaadin.flow.component.html.Span subtreeMutationSubtitle -
subtreeMutationLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout subtreeMutationLayout -
subtreeMutationMinDepthLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout subtreeMutationMinDepthLayout -
subtreeMutationMinDepth
private com.vaadin.flow.component.textfield.IntegerField subtreeMutationMinDepth -
subtreeMutationMinDepthTooltip
private com.vaadin.flow.component.shared.Tooltip subtreeMutationMinDepthTooltip -
subtreeMutationMinDepthHelpBtn
private com.vaadin.flow.component.button.Button subtreeMutationMinDepthHelpBtn -
subtreeMutationMaxDepthLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout subtreeMutationMaxDepthLayout -
subtreeMutationMaxDepth
private com.vaadin.flow.component.textfield.IntegerField subtreeMutationMaxDepth -
subtreeMutationMaxDepthTooltip
private com.vaadin.flow.component.shared.Tooltip subtreeMutationMaxDepthTooltip -
subtreeMutationMaxDepthHelpBtn
private com.vaadin.flow.component.button.Button subtreeMutationMaxDepthHelpBtn -
kozaNodeSelectionLayoutGroup
private com.vaadin.flow.component.orderedlayout.VerticalLayout kozaNodeSelectionLayoutGroup -
kozaNodeSelectionTitle
private com.vaadin.flow.component.html.Span kozaNodeSelectionTitle -
kozaNodeSelectionLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout kozaNodeSelectionLayout -
kozaNodeSelectionTerminalsProbLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout kozaNodeSelectionTerminalsProbLayout -
kozaNodeSelectionTerminalsProb
private com.vaadin.flow.component.textfield.NumberField kozaNodeSelectionTerminalsProb -
kozaNodeSelectionTerminalsProbTooltip
private com.vaadin.flow.component.shared.Tooltip kozaNodeSelectionTerminalsProbTooltip -
kozaNodeSelectionTerminalsProbHelpBtn
private com.vaadin.flow.component.button.Button kozaNodeSelectionTerminalsProbHelpBtn -
kozaNodeSelectionNonTerminalsProbLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout kozaNodeSelectionNonTerminalsProbLayout -
kozaNodeSelectionNonTerminalsProb
private com.vaadin.flow.component.textfield.NumberField kozaNodeSelectionNonTerminalsProb -
kozaNodeSelectionNonTerminalsProbTooltip
private com.vaadin.flow.component.shared.Tooltip kozaNodeSelectionNonTerminalsProbTooltip -
kozaNodeSelectionNonTerminalsProbHelpBtn
private com.vaadin.flow.component.button.Button kozaNodeSelectionNonTerminalsProbHelpBtn -
kozaNodeSelectionRootProbLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout kozaNodeSelectionRootProbLayout -
kozaNodeSelectionRootProb
private com.vaadin.flow.component.textfield.NumberField kozaNodeSelectionRootProb -
kozaNodeSelectionRootProbTooltip
private com.vaadin.flow.component.shared.Tooltip kozaNodeSelectionRootProbTooltip -
kozaNodeSelectionRootProbHelpBtn
private com.vaadin.flow.component.button.Button kozaNodeSelectionRootProbHelpBtn
-
-
Constructor Details
-
KozaTab
public KozaTab()Class Constructor
-
-
Method Details
-
buildLayout
public com.vaadin.flow.component.orderedlayout.VerticalLayout buildLayout()Description copied from interface:ParamTabThis method is responsible for building the respective tab global layout- Specified by:
buildLayoutin interfaceParamTab- Returns:
- Output layout object
-
getFileName
Description copied from interface:ParamTabThis method is responsible for retrieving the output parameter file name- Specified by:
getFileNamein interfaceParamTab- Returns:
- Output parameter file name
-
createParamDatabase
Description copied from interface:ParamTabThis method is responsible for creating a parameter database with the compilation of all parameters and values in the respective tab- Specified by:
createParamDatabasein interfaceParamTab- Parameters:
selectedProblem- Type of the problem- Returns:
- Parameter database object
-
createInitialCreationGroup
private void createInitialCreationGroup()Builds the initial creation components group -
createPipelinesGroup
private void createPipelinesGroup()Builds the pipelines components group -
createCrossoverPipelineGroup
private void createCrossoverPipelineGroup()Builds the crossover pipelines components group -
createPointMutationGroup
private void createPointMutationGroup()Builds the point mutation components group -
createTournamentGroup
private void createTournamentGroup()Builds the tournament components group -
createSubtreeMutationGroup
private void createSubtreeMutationGroup()Builds the subtree mutation components group -
createKozaNodeSelectionGroup
private void createKozaNodeSelectionGroup()Builds the koza node selection components group
-