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 thetextFieldelement- 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 ComponentTextField(ElementTextField element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonElementEvent(EventDescriptor event)Executes a set of actions to update aUI elementwhen a element changeprotected voidpostConstruct()Init theUI elementwith the properties in theelement.voidsetHeight(String height)Sets the UI element height.voidsetId(String id)Sets the UI element id.voidsetWidth(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:AbstractUiElementInit theUI elementwith the properties in theelement.- Specified by:
postConstructin classAbstractUiElement<ElementTextField,com.vaadin.flow.component.textfield.TextField>
-
setId
public void setId(String id)
Description copied from class:AbstractUiElementSets the UI element id.- Specified by:
setIdin classAbstractUiElement<ElementTextField,com.vaadin.flow.component.textfield.TextField>- Parameters:
id- UI element id.
-
setWidth
public void setWidth(String width)
Description copied from class:AbstractUiElementSets the UI element width.- Specified by:
setWidthin classAbstractUiElement<ElementTextField,com.vaadin.flow.component.textfield.TextField>- Parameters:
width- UI element width.
-
setHeight
public void setHeight(String height)
Description copied from class:AbstractUiElementSets the UI element height.- Specified by:
setHeightin classAbstractUiElement<ElementTextField,com.vaadin.flow.component.textfield.TextField>- Parameters:
height- UI element height.
-
onElementEvent
public void onElementEvent(EventDescriptor event)
Description copied from interface:ElementEventListenerExecutes a set of actions to update aUI elementwhen a element change- Parameters:
event- Gets the event details
-
-