Class ElementButton
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElement<Object>
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.ElementButton
-
- All Implemented Interfaces:
UiElementEventListener
,PropertyChangeListener
,Tag
public class ElementButton extends AbstractElement<Object>
POJO wrapper of a button element in a Form Artifact Definition.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description ElementButton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCaption()
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.AbstractElement
addPropertyChangeListener, fireElementEvent, fireOnLazyLoad, fireOnLoad, firePropertyChangeEvent, getAlignment, getArea, getElementEventListener, getEvents, getFormStructure, getHeight, getId, getNewValue, getPropertyValue, getStyleName, getWidth, hasEventAttribute, hasProperty, hasProperty, isEnabled, isHidden, isSave, propertyChange, removePropertyChangeListener, setAlignment, setAlignment, setArea, setArea, setElementEventListener, setEnabled, setEnabled, setEvents, setEvents, setFormStructure, setHeight, setHeight, setHidden, setHidden, setId, setId, setPropertyChangeListener, setSave, setSave, setStyleName, setStyleName, setWidth, setWidth
-
-
-
-
Method Detail
-
setCaption
public void setCaption(String caption)
-
getCaption
public String getCaption()
-
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 classAbstractElement<Object>
- Parameters:
event
- Gets the event details
-
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 classAbstractElement<Object>
- Throws:
XMLStreamException
-
-