Package org.neotropic.util.visual.layout
Class MandatoryAttributesLayout
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.formlayout.GeneratedVaadinFormLayout<com.vaadin.flow.component.formlayout.FormLayout>
-
- com.vaadin.flow.component.formlayout.FormLayout
-
- org.neotropic.util.visual.layout.MandatoryAttributesLayout
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.formlayout.FormLayout>
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasComponents
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasEnabled
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,Serializable
public class MandatoryAttributesLayout extends com.vaadin.flow.component.formlayout.FormLayout
Creates a form layout with the mandatory attributes for new object- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MandatoryAttributesLayout(com.vaadin.flow.component.textfield.TextField txtName, ConfirmDialog wdw, HashMap<String,String> attributes, List<AttributeMetadata> mandatoryAttributesInSelectedClass, ApplicationEntityManager aem, LoggingService log)
Creates a form layout with the mandatory attributes for new object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onAttach(com.vaadin.flow.component.AttachEvent attachEvent)
-
Methods inherited from class com.vaadin.flow.component.formlayout.FormLayout
add, addFormItem, addFormItem, getColspan, getResponsiveSteps, setColspan, setResponsiveSteps, setResponsiveSteps
-
Methods inherited from class com.vaadin.flow.component.formlayout.GeneratedVaadinFormLayout
getResponsiveStepsJsonObject, setResponsiveSteps, updateStyles
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, 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.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, removeAll
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
-
-
-
Constructor Detail
-
MandatoryAttributesLayout
public MandatoryAttributesLayout(com.vaadin.flow.component.textfield.TextField txtName, ConfirmDialog wdw, HashMap<String,String> attributes, List<AttributeMetadata> mandatoryAttributesInSelectedClass, ApplicationEntityManager aem, LoggingService log)
Creates a form layout with the mandatory attributes for new object- Parameters:
txtName
- The name attribute in new single business object it is optional by default, but if the name is included in the mandatory attributes we need to turn it into mandatorywdw
- The action dialogattributes
- Attributes for the new business objectmandatoryAttributesInSelectedClass
- To keep the mandatory attributes of the selected classaem
- Reference to the Application Entity Managerlog
-
-
-