Class ElementGridLayout
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElement
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElementContainer
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.ElementGridLayout
-
- All Implemented Interfaces:
UiElementEventListener
,PropertyChangeListener
,Tag
public class ElementGridLayout extends AbstractElementContainer
POJO wrapper of a gridLayout element in a Form Artifact Definition.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Field Summary
-
Fields inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElementContainer
repaint
-
-
Constructor Summary
Constructors Constructor Description ElementGridLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumns()
int
getRows()
String
getTagName()
Gets the element name.void
initFromXML(XMLStreamReader reader)
Init the element from XMLvoid
propertyChange()
void
setColumns(int columns)
void
setRows(int rows)
-
Methods inherited from class com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElementContainer
addChild, clean, getChild, getChildren, getChildrenRecursive, getPropertyValue, hasProperty, removeChild, repaint, setRepaint
-
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, getStyleName, getWidth, hasEventAttribute, hasProperty, isEnabled, isHidden, isSave, onUiElementEvent, removePropertyChangeListener, setAlignment, setArea, setElementEventListener, setEnabled, setEvents, setFormStructure, setHeight, setHidden, setId, setSave, setStyleName, setWidth
-
-
-
-
Method Detail
-
setRows
public void setRows(int rows)
-
getRows
public int getRows()
-
setColumns
public void setColumns(int columns)
-
getColumns
public int getColumns()
-
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
- Throws:
XMLStreamException
-
propertyChange
public void propertyChange()
- Specified by:
propertyChange
in interfacePropertyChangeListener
- Overrides:
propertyChange
in classAbstractElementContainer
-
-