Class AbstractElementContainer
- java.lang.Object
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElement
-
- com.neotropic.kuwaiba.modules.commercial.processman.forms.elements.AbstractElementContainer
-
- All Implemented Interfaces:
UiElementEventListener
,PropertyChangeListener
,Tag
- Direct Known Subclasses:
ElementForm
,ElementGridLayout
,ElementHorizontalLayout
,ElementSubform
,ElementVerticalLayout
public abstract class AbstractElementContainer extends AbstractElement
A element container is an element which can contain other elements containers and fields.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Field Summary
Fields Modifier and Type Field Description boolean
repaint
-
Constructor Summary
Constructors Constructor Description AbstractElementContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(AbstractElement child)
void
clean()
AbstractElement
getChild(String childId)
List<AbstractElement>
getChildren()
List<AbstractElement>
getChildrenRecursive()
Object
getPropertyValue(String propertyName)
boolean
hasProperty(String propertyName)
void
propertyChange()
void
removeChild(AbstractElement child)
boolean
repaint()
void
setRepaint(boolean repaint)
-
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, initFromXML, isEnabled, isHidden, isSave, onUiElementEvent, removePropertyChangeListener, setAlignment, setAlignment, setArea, setArea, setElementEventListener, setEnabled, setEnabled, setEvents, setEvents, setFormStructure, setHeight, setHeight, setHidden, setHidden, setId, setId, setPropertyChangeListener, setSave, setSave, setStyleName, setStyleName, setWidth, setWidth
-
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
-
getChild
public AbstractElement getChild(String childId)
-
getChildren
public List<AbstractElement> getChildren()
-
getChildrenRecursive
public List<AbstractElement> getChildrenRecursive()
-
addChild
public void addChild(AbstractElement child)
-
removeChild
public void removeChild(AbstractElement child)
-
repaint
public boolean repaint()
-
setRepaint
public void setRepaint(boolean repaint)
-
clean
public void clean()
-
propertyChange
public void propertyChange()
- Specified by:
propertyChange
in interfacePropertyChangeListener
- Overrides:
propertyChange
in classAbstractElement
-
hasProperty
public boolean hasProperty(String propertyName)
- Overrides:
hasProperty
in classAbstractElement
-
getPropertyValue
public Object getPropertyValue(String propertyName)
- Overrides:
getPropertyValue
in classAbstractElement
-
-