Class AbstractElementContainer<T extends AbstractUIElement>
java.lang.Object
io.john.amiscaray.stir.domain.elements.CacheableElement
io.john.amiscaray.stir.domain.elements.AbstractUIElement
io.john.amiscaray.stir.domain.elements.AbstractElementContainer<T>
- Type Parameters:
T- The type of elements that may be children of the element
public abstract class AbstractElementContainer<T extends AbstractUIElement> extends AbstractUIElement
A parent class for elements made to be containers of other elements (i.e., divs, headers, hgroup, etc.)
-
Nested Class Summary
Nested classes/interfaces inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
CacheableElement.CacheStatus -
Field Summary
Fields inherited from class io.john.amiscaray.stir.domain.elements.AbstractUIElement
cssClasses, customAttributes, hidden, id, styleFields inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
cacheDisabled, cacheStatus, propertyChangeSupport -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidaddChild(T child)Adds a child to the elementList<T>getChildren()voidremoveChild(T child)Removes a child from the elementMethods inherited from class io.john.amiscaray.stir.domain.elements.AbstractUIElement
addClass, getCssClasses, getCustomAttributes, getId, getStyle, isHidden, setCssClasses, setCustomAttributes, setHidden, setId, setStyleMethods inherited from class io.john.amiscaray.stir.domain.elements.CacheableElement
addPropertyChangeListener, emptyCache, getCacheContents, getCacheStatus, isCacheDisabled, isHasChildren, setCacheContents, setCacheDisabled, setHasChildren
-
Field Details
-
children
-
-
Constructor Details
-
AbstractElementContainer
-
AbstractElementContainer
public AbstractElementContainer()
-
-
Method Details
-
addChild
Adds a child to the element- Parameters:
child- The child to add as a child of the element
-
removeChild
Removes a child from the element- Parameters:
child- The child to remove from the element
-
getChildren
-