Property Getters/Setters Summary | ||
---|---|---|
method | getFirstCell() | |
Gets the first cell object in the row.
|
||
method | getFirstDataCell() | |
Gets the first non-blank cell in the row.
|
||
method | getGroupLevel() | |
Gets the group level of the row.
|
||
method | getHeight() | |
method | setHeight(value) | |
Gets and sets the row height in unit of Points. | ||
method | getIndex() | |
Gets the index of this row.
|
||
method | isBlank() | |
Indicates whether the row contains any data
|
||
method | isCollapsed() | |
method | setCollapsed(value) | |
whether the row is collapsed | ||
method | isHeightMatched() | |
method | setHeightMatched(value) | |
Indicates that row height and default font height matches. | ||
method | isHidden() | |
method | setHidden(value) | |
Indicates whether the row is hidden. | ||
method | getLastCell() | |
Gets the last cell object in the row.
|
||
method | getLastDataCell() | |
Gets the last non-blank cell in the row.
|
||
method | getStyle() | |
Represents the style of this row.
|
||
method | get(column) | |
Gets the cell.
|
Method Summary | ||
---|---|---|
method | applyStyle(style, flag) | |
Applies formats for a whole row.
|
||
method | copySettings(source, checkStyle) | |
Copy settings of row, such as style, height, visibility, ...etc.
|
||
method | equals(row) | |
Checks whether this object refers to the same row with another row object.
|
||
method | equals(obj) | |
Checks whether this object refers to the same row with another.
|
||
method | getCellByIndex(index) | |
Get the cell by specific index in the list.
|
||
method | getCellOrNull(column) | |
Gets the cell or null in the specific index.
|
||
method | iterator() | |
Gets the cells enumerator
|
boolean isBlank()
boolean isCollapsed() / setCollapsed(value)
float getHeight() / setHeight(value)
boolean isHidden() / setHidden(value)
int getIndex()
byte getGroupLevel()
boolean isHeightMatched() / setHeightMatched(value)
Style getStyle()
Cell getCellByIndex(index)
index: int
- The position.Iterator iterator()
Cell getCellOrNull(column)
column: int
- The column indexcopySettings(source, checkStyle)
source: Row
- the source row whose settings will be copied to this onecheckStyle: boolean
- whether check and gather style.
Only takes effect and be needed when two row objects belong to different workbook and the styles of two workbooks are different.applyStyle(style, flag)
style: Style
- The style object which will be applied.flag: StyleFlag
- Flags which indicates applied formatting properties.boolean equals(obj)
obj: Object
- another objectboolean equals(row)
row: Row
- another row object