Class ComponentTextField
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement<ElementTextField,com.vaadin.flow.component.textfield.TextField>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.reference.vaadin.components.ComponentTextField
-
- All Implemented Interfaces:
ElementEventListener
public class ComponentTextField extends AbstractUiElement<ElementTextField,com.vaadin.flow.component.textfield.TextField>
UI element to render thetextField
element- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description ComponentTextField(ElementTextField element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
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
-
ComponentTextField
public ComponentTextField(ElementTextField 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<ElementTextField,com.vaadin.flow.component.textfield.TextField>
-
setId
public void setId(String id)
Description copied from class:AbstractUiElement
Sets the UI element id.- Specified by:
setId
in classAbstractUiElement<ElementTextField,com.vaadin.flow.component.textfield.TextField>
- 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<ElementTextField,com.vaadin.flow.component.textfield.TextField>
- 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<ElementTextField,com.vaadin.flow.component.textfield.TextField>
- 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- Parameters:
event
- Gets the event details
-
-