public class XMLParagraph extends AbstractParagraph implements JustifiedElement
ALIGNMENT_CENTER, ALIGNMENT_INHERIT, ALIGNMENT_JUSTIFIED, ALIGNMENT_LEFT, ALIGNMENT_NONE, ALIGNMENT_RIGHT, JUSTIFIED_AUTO, JUSTIFIED_CHARACTER, JUSTIFIED_INHERIT, JUSTIFIED_NONE, JUSTIFIED_WORD
TYPE_NONE
Constructor and Description |
---|
XMLParagraph() |
Modifier and Type | Method and Description |
---|---|
char |
getAlignment()
Return the alignment of the element.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
char |
getJustification()
Return the justification of the element.
|
void |
setAlignment(char alignment)
Set the alignment of the element.
|
void |
setJustification(char justification)
Set the justification of the element.
|
addElement, getElements, removeLastElement, setElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countElements, getElement, getFirstElement, getLastElement, hasElements, isEmpty
getCustomStyles, getInlinedStyle, getStyle, hasInlinedStyle, setCustomStyles, setCustomStyles, setInlinedStyle
public java.lang.String getDeclaration()
getDeclaration
in interface StyledElement
public void setAlignment(char alignment)
setAlignment
in interface JustifiedElement
alignment
- the alignment typepublic char getAlignment()
getAlignment
in interface JustifiedElement
public void setJustification(char justification)
setJustification
in interface JustifiedElement
justification
- the justificationpublic char getJustification()
getJustification
in interface JustifiedElement
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence