Class AbstractElement<T>
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElement<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
UiElementEventListener
,PropertyChangeListener
,Tag
- Direct Known Subclasses:
AbstractElementContainer
,AbstractElementField
,ElementButton
,ElementColumn
,ElementGrid
,ElementMiniApplication
public abstract class AbstractElement<T> extends Object implements Tag, UiElementEventListener, PropertyChangeListener
POJO wrapper of an XML element in a Form Artifact Definition.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description AbstractElement()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.Tag
getTagName
-
-
-
-
Method Detail
-
getFormStructure
public FormStructure getFormStructure()
-
setFormStructure
public void setFormStructure(FormStructure formStructure)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getStyleName
public String getStyleName()
-
setStyleName
public void setStyleName(String styleName)
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getHeight
public String getHeight()
-
setHeight
public void setHeight(String height)
-
getWidth
public String getWidth()
-
setWidth
public void setWidth(String width)
-
isHidden
public boolean isHidden()
-
setHidden
public void setHidden(boolean hidden)
-
isSave
public boolean isSave()
-
setSave
public void setSave(boolean save)
-
getAlignment
public String getAlignment()
-
setAlignment
public void setAlignment(String alignment)
-
addPropertyChangeListener
public void addPropertyChangeListener(String propertyChangeListener)
-
removePropertyChangeListener
public void removePropertyChangeListener(String propertyChangeListener)
-
firePropertyChangeEvent
public void firePropertyChangeEvent()
-
propertyChange
public void propertyChange()
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
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
- Parameters:
event
- Gets the event details
-
setElementEventListener
public void setElementEventListener(ElementEventListener elementEventListener)
-
getElementEventListener
public ElementEventListener getElementEventListener()
-
fireElementEvent
public void fireElementEvent(EventDescriptor eventDescriptor)
-
initFromXML
public void initFromXML(XMLStreamReader reader) throws XMLStreamException
Description copied from interface:Tag
Init the element from XML- Specified by:
initFromXML
in interfaceTag
- Throws:
XMLStreamException
-
fireOnLoad
public void fireOnLoad()
-
fireOnLazyLoad
public void fireOnLazyLoad()
-
hasEventAttribute
public boolean hasEventAttribute(String eventAttribute)
-
hasProperty
public boolean hasProperty(String propertyName)
-
-