public class XMLSizedTableRow extends XMLTableRow
TYPE_NONE| Constructor and Description |
|---|
XMLSizedTableRow() |
| Modifier and Type | Method and Description |
|---|---|
int |
getWidth(int cellIndex)
Return the specified width for one cell.
|
java.util.List<java.lang.Integer> |
getWidths()
Return the row specified widths for its cells.
|
boolean |
hasWidth(int cellIndex)
Return true if the row has a specified width for one cell.
|
boolean |
hasWidths()
Return true if the row has specified widths for its cells.
|
boolean |
isRelativeWidth()
Return true if the row widths are relative (in %).
|
void |
setWidths(boolean relWidth,
int... widths)
Set the row widths.
|
void |
setWidths(java.util.List<java.lang.Integer> widths,
boolean relWidth)
Set the row widths.
|
addCell, addEmptyCell, countCells, getBottomBorderType, getCell, getCells, getColor, getConditionElementsList, getConditionUniqueElement, getDeclaration, getTopBorderType, hasBorders, hasHorizontalBorders, hasNoBorders, hasUniqueElement, hasVerticalBorders, setBorders, setBottomBorderType, setColor, setHorizontalBorders, setTopBorderType, setVerticalBordersgetCustomStyles, getInlinedStyle, setCustomStyles, setInlinedStyleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStyle, hasInlinedStyle, setCustomStylespublic void setWidths(java.util.List<java.lang.Integer> widths,
boolean relWidth)
widths - the widths listrelWidth - true for a relative widthpublic void setWidths(boolean relWidth,
int... widths)
widths - the widths listrelWidth - true for a relative widthpublic boolean isRelativeWidth()
isRelativeWidth in class XMLTableRowpublic java.util.List<java.lang.Integer> getWidths()
getWidths in class XMLTableRowpublic int getWidth(int cellIndex)
getWidth in class XMLTableRowcellIndex - the cell indexpublic boolean hasWidth(int cellIndex)
hasWidth in class XMLTableRowcellIndex - the cell indexpublic boolean hasWidths()
hasWidths in class XMLTableRowCopyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence