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, setArea, setElementEventListener, setEnabled, setEvents, setFormStructure, setHeight, setHidden, setId, setSave, setStyleName, 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
-
-