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

public class KozaTab extends com.vaadin.flow.component.tabs.Tab implements ParamTab
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 Details

    • PARAMS_FILENAME

      private static final String 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: ParamTab
      This method is responsible for building the respective tab global layout
      Specified by:
      buildLayout in interface ParamTab
      Returns:
      Output layout object
    • getFileName

      public String[] getFileName()
      Description copied from interface: ParamTab
      This method is responsible for retrieving the output parameter file name
      Specified by:
      getFileName in interface ParamTab
      Returns:
      Output parameter file name
    • createParamDatabase

      public ec.util.ParameterDatabase[] createParamDatabase(ProblemType selectedProblem)
      Description copied from interface: ParamTab
      This method is responsible for creating a parameter database with the compilation of all parameters and values in the respective tab
      Specified by:
      createParamDatabase in interface ParamTab
      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