Class ComponentImage
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement<ElementImage,com.vaadin.flow.component.html.Image>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.reference.vaadin.components.ComponentImage
-
- All Implemented Interfaces:
ElementEventListener
public class ComponentImage extends AbstractUiElement<ElementImage,com.vaadin.flow.component.html.Image>
UI element to render theimage
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 ComponentImage(ElementImage element, String processEnginePath)
-
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
-
ComponentImage
public ComponentImage(ElementImage element, String processEnginePath)
-
-
Method Detail
-
postConstruct
protected void postConstruct()
Description copied from class:AbstractUiElement
Init theUI element
with the properties in theelement
.- Specified by:
postConstruct
in classAbstractUiElement<ElementImage,com.vaadin.flow.component.html.Image>
-
setId
public void setId(String id)
Description copied from class:AbstractUiElement
Sets the UI element id.- Specified by:
setId
in classAbstractUiElement<ElementImage,com.vaadin.flow.component.html.Image>
- 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<ElementImage,com.vaadin.flow.component.html.Image>
- 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<ElementImage,com.vaadin.flow.component.html.Image>
- 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
-
-