public class XMLTableCell extends AbstractStyledElement implements ParagraphElementParent, Alignment
TYPE_NONE| Constructor and Description |
|---|
XMLTableCell() |
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(ParagraphElement element)
Add an element.
|
char |
getAlignment()
Return the alignment of the cell.
|
java.lang.String |
getColor()
Return the cell background color.
|
int |
getColSpan()
Return the cell column span.
|
java.lang.String |
getDeclaration()
Return the declaration ID of the element.
|
java.util.List<ParagraphElement> |
getElements()
Return the list of elements.
|
int |
getRowIndex()
Return the index of the cell in the row.
|
int |
getRowSpan()
Return the cell row span.
|
boolean |
hasAlignment()
Return true if the cell is aligned.
|
void |
setAlignment(char align)
Set the alignment of the cell.
|
void |
setColor(java.lang.String color)
Set the cell background color.
|
void |
setColSpan(int colspan)
Set the cell column span.
|
void |
setElements(java.util.List<ParagraphElement> elements)
Set the list of elements.
|
void |
setRowSpan(int rowspan)
Set the cell row span.
|
getCustomStyles, getInlinedStyle, setCustomStyles, setInlinedStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountElements, getElement, getFirstElement, getLastElement, hasElements, isEmptygetStyle, hasInlinedStyle, setCustomStylespublic java.lang.String getDeclaration()
getDeclaration in interface StyledElementpublic int getRowIndex()
public boolean hasAlignment()
public void setAlignment(char align)
setAlignment in interface Alignmentalign - the alignmentAlignmentpublic char getAlignment()
getAlignment in interface AlignmentAlignmentpublic void setColor(java.lang.String color)
color - the background colorpublic java.lang.String getColor()
public void setRowSpan(int rowspan)
rowspan - the cell row spanpublic int getRowSpan()
public void setColSpan(int colspan)
colspan - the column spanpublic int getColSpan()
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 ParagraphElementParentCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence