public abstract class AbstractParagraph extends java.lang.Object implements ParagraphElementParent, ParagraphElement
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ParagraphElement> |
elements
The elements children.
|
TYPE_NONE| Constructor and Description |
|---|
AbstractParagraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(ParagraphElement element)
Add an element.
|
java.util.List<ParagraphElement> |
getElements()
Return the list of elements.
|
void |
removeLastElement()
Remove the last element.
|
void |
setElements(java.util.List<ParagraphElement> elements)
Set the list of elements.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptygetCustomStyles, getDeclaration, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyleprotected java.util.List<ParagraphElement> elements
public void setElements(java.util.List<ParagraphElement> elements)
setElements in interface ParagraphElementParentelements - the list of elementspublic void addElement(ParagraphElement element)
addElement in interface ParagraphElementParentelement - the elementpublic java.util.List<ParagraphElement> getElements()
getElements in interface ParagraphElementParentpublic void removeLastElement()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence