Class SDHTributaryLinkWizard.ChooseTributaryLinkResourcesStep
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.orderedlayout.VerticalLayout
-
- org.neotropic.util.visual.wizard.Wizard.Step
-
- com.neotropic.kuwaiba.modules.commercial.sdh.wizard.SDHTributaryLinkWizard.ChooseTributaryLinkResourcesStep
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.orderedlayout.VerticalLayout>
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasOrderedComponents<com.vaadin.flow.component.orderedlayout.VerticalLayout>
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.component.orderedlayout.FlexComponent<com.vaadin.flow.component.orderedlayout.VerticalLayout>
,com.vaadin.flow.component.orderedlayout.ThemableLayout
,Serializable
- Enclosing class:
- SDHTributaryLinkWizard
public class SDHTributaryLinkWizard.ChooseTributaryLinkResourcesStep extends Wizard.Step
Step to select the endpoints- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChooseTributaryLinkResourcesStep(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AvailableContainerLinkPosition[]
buildAvailablePositionsListForContainers(BusinessObjectLight containertLink, List<SdhContainerLinkDefinition> containertLinkStructure)
AvailableTransportLinkPosition[]
buildAvailablePositionsListForTransportLinks(BusinessObjectLight transportLink, List<SdhContainerLinkDefinition> transportLinkStructure)
Properties
getProperties()
Each step saves the information related to it (forms, tree selections, etc) in a Properties object.boolean
isFinal()
Indicates if the step is the last oneWizard.Step
next()
What to do next.-
Methods inherited from class com.vaadin.flow.component.orderedlayout.VerticalLayout
addAndExpand, getAlignItems, getAlignSelf, getDefaultHorizontalComponentAlignment, getHorizontalComponentAlignment, setAlignItems, setAlignSelf, setDefaultHorizontalComponentAlignment, setHorizontalComponentAlignment, setPadding, setSpacing
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vaadin.flow.component.ClickNotifier
addClickListener, addClickShortcut
-
Methods inherited from interface com.vaadin.flow.component.orderedlayout.FlexComponent
expand, getFlexGrow, getJustifyContentMode, replace, setFlexGrow, setJustifyContentMode
-
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasOrderedComponents
getChildren, getComponentAt, getComponentCount, indexOf
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
-
-
-
-
Constructor Detail
-
ChooseTributaryLinkResourcesStep
public ChooseTributaryLinkResourcesStep(Properties properties)
-
-
Method Detail
-
next
public Wizard.Step next() throws InvalidArgumentException
Description copied from class:Wizard.Step
What to do next. This method also validates if the information requested in the step is correct. Should be called upon the user clicking on th "Next/Finish" button- Specified by:
next
in classWizard.Step
- Returns:
- Null if it's the final step, or the next step otherwise
- Throws:
InvalidArgumentException
- If the information provided by the user in the current step in missing or inconsistent
-
buildAvailablePositionsListForContainers
public AvailableContainerLinkPosition[] buildAvailablePositionsListForContainers(BusinessObjectLight containertLink, List<SdhContainerLinkDefinition> containertLinkStructure)
-
buildAvailablePositionsListForTransportLinks
public AvailableTransportLinkPosition[] buildAvailablePositionsListForTransportLinks(BusinessObjectLight transportLink, List<SdhContainerLinkDefinition> transportLinkStructure)
-
isFinal
public boolean isFinal()
Description copied from class:Wizard.Step
Indicates if the step is the last one- Specified by:
isFinal
in classWizard.Step
- Returns:
- True if the step is the last one, false otherwise
-
getProperties
public Properties getProperties()
Description copied from class:Wizard.Step
Each step saves the information related to it (forms, tree selections, etc) in a Properties object. This method allows to retrieve it. Also, the last step of a wizard packs the information in the WizardEvent.TYPE_FINAL_STEP step- Specified by:
getProperties
in classWizard.Step
- Returns:
- A Properties instance with the information collected in that step or anything relevant to the WizardEventListener
-
-