Class ElementUpload
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElement<T>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElementField<Object>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.ElementUpload
-
- All Implemented Interfaces:
UiElementEventListener
,PropertyChangeListener
,Tag
public class ElementUpload extends AbstractElementField<Object>
POJO wrapper of a upload element in a Form Artifact Definition.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENT_UPLOAD_URL
-
Fields inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElementField
value
-
-
Constructor Summary
Constructors Constructor Description ElementUpload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fireOnLoad()
String
getCaption()
String
getElementUploadUrl()
String
getTagName()
Gets the element name.void
initFromXML(XMLStreamReader reader)
Init the element from XMLvoid
onUiElementEvent(EventDescriptor event)
Executes a set of actions to update a tag Element when a UI element changedvoid
setCaption(String caption)
-
Methods inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElementField
fireOnLazyLoad, getDataType, getPropertyValue, getValue, getValueAttributeValue, hasProperty, isCleanable, isMandatory, isShared, propertyChange, setCleanable, setDataType, setMandatory, setShared, setValue, setValueAttributeValue
-
Methods inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElement
addPropertyChangeListener, fireElementEvent, firePropertyChangeEvent, getAlignment, getArea, getElementEventListener, getEvents, getFormStructure, getHeight, getId, getNewValue, getStyleName, getWidth, hasEventAttribute, hasProperty, isEnabled, isHidden, isSave, removePropertyChangeListener, setAlignment, setAlignment, setArea, setArea, setElementEventListener, setEnabled, setEnabled, setEvents, setEvents, setFormStructure, setHeight, setHeight, setHidden, setHidden, setId, setId, setPropertyChangeListener, setSave, setSave, setStyleName, setStyleName, setWidth, setWidth
-
-
-
-
Field Detail
-
ELEMENT_UPLOAD_URL
public static final String ELEMENT_UPLOAD_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCaption
public String getCaption()
-
setCaption
public void setCaption(String caption)
-
getElementUploadUrl
public String getElementUploadUrl()
-
getTagName
public String getTagName()
Description copied from interface:Tag
Gets the element name.- Returns:
- The element name.
-
initFromXML
public void initFromXML(XMLStreamReader reader) throws XMLStreamException
Description copied from interface:Tag
Init the element from XML- Specified by:
initFromXML
in interfaceTag
- Overrides:
initFromXML
in classAbstractElementField<Object>
- Throws:
XMLStreamException
-
onUiElementEvent
public void onUiElementEvent(EventDescriptor event)
Description copied from interface:UiElementEventListener
Executes a set of actions to update a tag Element when a UI element changed- Specified by:
onUiElementEvent
in interfaceUiElementEventListener
- Overrides:
onUiElementEvent
in classAbstractElementField<Object>
- Parameters:
event
- Gets the event details
-
fireOnLoad
public void fireOnLoad()
- Overrides:
fireOnLoad
in classAbstractElementField<Object>
-
-