Class DistEvalTab
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.tabs.Tab
com.decs.application.views.ProblemEditor.tabs.DistEvalTab
- 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
Distributed Evaluation Tab Class
This class implements the problem editor DistEval 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.select.Select<EnhancedBoolean> private com.vaadin.flow.component.orderedlayout.VerticalLayoutprivate com.vaadin.flow.component.html.Spanprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate static final StringName of the coordinator 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.select.Select<EnhancedBoolean> private com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltipprivate com.vaadin.flow.component.select.Select<EnhancedBoolean> private com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate 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.shared.Tooltipprivate static final StringName of the slave parameter file this tab will generateprivate com.vaadin.flow.component.textfield.IntegerFieldprivate 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.html.Spanprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.textfield.IntegerFieldprivate com.vaadin.flow.component.button.Buttonprivate com.vaadin.flow.component.orderedlayout.HorizontalLayoutprivate com.vaadin.flow.component.shared.Tooltip -
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 compression components groupprivate voidBuilds the opportunistic evolution 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 slave jobs 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
-
MASTER_PARAMS_FILENAME
Name of the coordinator parameter file this tab will generate- See Also:
-
SLAVE_PARAMS_FILENAME
Name of the slave parameter file this tab will generate- See Also:
-
slaveJobsGroupLayout
private com.vaadin.flow.component.orderedlayout.VerticalLayout slaveJobsGroupLayout -
slaveJobsGroup
private com.vaadin.flow.component.orderedlayout.HorizontalLayout slaveJobsGroup -
slaveJobsGroupTitle
private com.vaadin.flow.component.html.Span slaveJobsGroupTitle -
slaveJobQueueSizeLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout slaveJobQueueSizeLayout -
slaveJobQueueSize
private com.vaadin.flow.component.textfield.IntegerField slaveJobQueueSize -
slaveJobQueueSizeTooltip
private com.vaadin.flow.component.shared.Tooltip slaveJobQueueSizeTooltip -
slaveJobsHelpBtn
private com.vaadin.flow.component.button.Button slaveJobsHelpBtn -
slaveJobSizeLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout slaveJobSizeLayout -
slaveJobSize
private com.vaadin.flow.component.textfield.IntegerField slaveJobSize -
slaveJobSizeTooltip
private com.vaadin.flow.component.shared.Tooltip slaveJobSizeTooltip -
slaveJobSizeHelpBtn
private com.vaadin.flow.component.button.Button slaveJobSizeHelpBtn -
compressionGroupLayout
private com.vaadin.flow.component.orderedlayout.VerticalLayout compressionGroupLayout -
compressionGroupTitle
private com.vaadin.flow.component.html.Span compressionGroupTitle -
compressionLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout compressionLayout -
compression
-
compressionTooltip
private com.vaadin.flow.component.shared.Tooltip compressionTooltip -
compressionHelpBtn
private com.vaadin.flow.component.button.Button compressionHelpBtn -
oppEvolGroupLayout
private com.vaadin.flow.component.orderedlayout.VerticalLayout oppEvolGroupLayout -
oppEvolGroup
private com.vaadin.flow.component.orderedlayout.HorizontalLayout oppEvolGroup -
oppEvolGroupTitle
private com.vaadin.flow.component.html.Span oppEvolGroupTitle -
runEvolveLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout runEvolveLayout -
runEvolve
-
runEvolveTooltip
private com.vaadin.flow.component.shared.Tooltip runEvolveTooltip -
runEvolveHelpBtn
private com.vaadin.flow.component.button.Button runEvolveHelpBtn -
runEvolveRuntimeLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout runEvolveRuntimeLayout -
runEvolveRuntime
private com.vaadin.flow.component.textfield.IntegerField runEvolveRuntime -
runEvolveRuntimeTooltip
private com.vaadin.flow.component.shared.Tooltip runEvolveRuntimeTooltip -
runEvolveRuntimeHelpBtn
private com.vaadin.flow.component.button.Button runEvolveRuntimeHelpBtn -
returnIndsLayout
private com.vaadin.flow.component.orderedlayout.HorizontalLayout returnIndsLayout -
returnInds
-
returnIndsTooltip
private com.vaadin.flow.component.shared.Tooltip returnIndsTooltip -
returnIndsHelpBtn
private com.vaadin.flow.component.button.Button returnIndsHelpBtn
-
-
Constructor Details
-
DistEvalTab
public DistEvalTab()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
-
createSlaveJobsGroup
private void createSlaveJobsGroup()Builds the slave jobs components group -
createCompressionGroup
private void createCompressionGroup()Builds the compression components group -
createOpportunisticEvolutionGroup
private void createOpportunisticEvolutionGroup()Builds the opportunistic evolution components group
-