Class ComponentVerticalLayout
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement<ElementVerticalLayout,com.vaadin.flow.component.orderedlayout.VerticalLayout>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.reference.vaadin.components.ComponentVerticalLayout
-
- All Implemented Interfaces:
UiElementContainer
,ElementEventListener
public class ComponentVerticalLayout extends AbstractUiElement<ElementVerticalLayout,com.vaadin.flow.component.orderedlayout.VerticalLayout> implements UiElementContainer
UI element to render theverticalLayout
element.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Field Summary
-
Fields inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement
uiElement
-
-
Constructor Summary
Constructors Constructor Description ComponentVerticalLayout(ElementVerticalLayout element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChildren(AbstractUiElement child)
Adds a UI element.List<AbstractUiElement<? extends AbstractElement,? extends com.vaadin.flow.component.Component>>
getChildren()
Gets children.void
onElementEvent(EventDescriptor event)
Executes a set of actions to update aUI element
when a element changeprotected void
postConstruct()
Init theUI element
with the properties in theelement
.void
repaint()
Repaints the UI element container.void
setHeight(String height)
Sets the UI element height.void
setId(String id)
Sets the UI element id.void
setWidth(String width)
Sets the UI element width.-
Methods inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement
build, fireUiElementEvent, getElement, getUiElement, getUiElementEventListener, setUiElementEventListener
-
-
-
-
Constructor Detail
-
ComponentVerticalLayout
public ComponentVerticalLayout(ElementVerticalLayout element)
-
-
Method Detail
-
postConstruct
protected void postConstruct()
Description copied from class:AbstractUiElement
Init theUI element
with the properties in theelement
.- Specified by:
postConstruct
in classAbstractUiElement<ElementVerticalLayout,com.vaadin.flow.component.orderedlayout.VerticalLayout>
-
setId
public void setId(String id)
Description copied from class:AbstractUiElement
Sets the UI element id.- Specified by:
setId
in classAbstractUiElement<ElementVerticalLayout,com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Parameters:
id
- UI element id.
-
setWidth
public void setWidth(String width)
Description copied from class:AbstractUiElement
Sets the UI element width.- Specified by:
setWidth
in classAbstractUiElement<ElementVerticalLayout,com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Parameters:
width
- UI element width.
-
setHeight
public void setHeight(String height)
Description copied from class:AbstractUiElement
Sets the UI element height.- Specified by:
setHeight
in classAbstractUiElement<ElementVerticalLayout,com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Parameters:
height
- UI element height.
-
onElementEvent
public void onElementEvent(EventDescriptor event)
Description copied from interface:ElementEventListener
Executes a set of actions to update aUI element
when a element change- Specified by:
onElementEvent
in interfaceElementEventListener
- Parameters:
event
- Gets the event details
-
addChildren
public void addChildren(AbstractUiElement child)
Description copied from interface:UiElementContainer
Adds a UI element.- Specified by:
addChildren
in interfaceUiElementContainer
- Parameters:
child
- UI element child.
-
getChildren
public List<AbstractUiElement<? extends AbstractElement,? extends com.vaadin.flow.component.Component>> getChildren()
Description copied from interface:UiElementContainer
Gets children.- Specified by:
getChildren
in interfaceUiElementContainer
- Returns:
- The UI element container children.
-
repaint
public void repaint()
Description copied from interface:UiElementContainer
Repaints the UI element container.- Specified by:
repaint
in interfaceUiElementContainer
-
-