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, setVerticalBorders
getCustomStyles, getInlinedStyle, setCustomStyles, setInlinedStyle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStyle, hasInlinedStyle, setCustomStyles
public 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 XMLTableRow
public java.util.List<java.lang.Integer> getWidths()
getWidths
in class XMLTableRow
public int getWidth(int cellIndex)
getWidth
in class XMLTableRow
cellIndex
- the cell indexpublic boolean hasWidth(int cellIndex)
hasWidth
in class XMLTableRow
cellIndex
- the cell indexpublic boolean hasWidths()
hasWidths
in class XMLTableRow
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence