public abstract class AbstractParagraph extends java.lang.Object implements ParagraphElementParent, ParagraphElement
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, wait
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
getCustomStyles, getDeclaration, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public void setElements(java.util.List<ParagraphElement> elements)
setElements
in interface ParagraphElementParent
elements
- the list of elementspublic void addElement(ParagraphElement element)
addElement
in interface ParagraphElementParent
element
- the elementpublic java.util.List<ParagraphElement> getElements()
getElements
in interface ParagraphElementParent
public void removeLastElement()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence