Class ComponentUpload
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.components.uielement.AbstractUiElement<ElementUpload,UploadAnchor>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.reference.vaadin.components.ComponentUpload
-
- All Implemented Interfaces:
ElementEventListener
public class ComponentUpload extends AbstractUiElement<ElementUpload,UploadAnchor>
UI element to render theupload
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 ComponentUpload(ElementUpload element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUploadUrl()
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
-
ComponentUpload
public ComponentUpload(ElementUpload 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<ElementUpload,UploadAnchor>
-
setId
public void setId(String id)
Description copied from class:AbstractUiElement
Sets the UI element id.- Specified by:
setId
in classAbstractUiElement<ElementUpload,UploadAnchor>
- 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<ElementUpload,UploadAnchor>
- 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<ElementUpload,UploadAnchor>
- 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
-
getUploadUrl
public String getUploadUrl()
-
-