public class RowImpl extends AbstractRowAdv
Constructor and Description |
---|
RowImpl(AbstractSheetAdv sheet,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
checkOrphan() |
void |
clearCell(int start,
int end) |
void |
deleteCell(int cellIdx,
int size) |
void |
destroy()
Destroy / release this model object, for example all the dependency, parent linking.
|
AbstractCellAdv |
getCell(int columnIdx,
boolean proxy) |
Iterator<SCell> |
getCellIterator() |
Iterator<SCell> |
getCellIterator(boolean reverse) |
Iterator<SCell> |
getCellIterator(boolean reverse,
int start,
int end) |
Iterator<SCell> |
getCellIterator(int start,
int end) |
SCellStyle |
getCellStyle()
Get the style, if it doesn't has local style, it will possible look up it's parent's style
|
SCellStyle |
getCellStyle(boolean local)
Get the cell style locally or look up from the parent
|
int |
getEndCellIndex() |
int |
getHeight() |
int |
getIndex() |
SSheet |
getSheet() |
int |
getStartCellIndex() |
void |
insertCell(int cellIdx,
int size) |
boolean |
isCustomHeight() |
boolean |
isHidden() |
boolean |
isNull() |
void |
setCellStyle(SCellStyle cellStyle)
Set the local style
|
void |
setCustomHeight(boolean custom) |
void |
setHeight(int height) |
void |
setHidden(boolean hidden) |
String |
toString() |
public RowImpl(AbstractSheetAdv sheet, int index)
public SSheet getSheet()
public int getIndex()
public boolean isNull()
public AbstractCellAdv getCell(int columnIdx, boolean proxy)
getCell
in class AbstractRowAdv
public int getStartCellIndex()
public int getEndCellIndex()
public void clearCell(int start, int end)
public void insertCell(int cellIdx, int size)
public void deleteCell(int cellIdx, int size)
public void checkOrphan()
public void destroy()
LinkedModelObject
public SCellStyle getCellStyle()
CellStyleHolder
CellStyleHolder.getCellStyle(boolean)
public SCellStyle getCellStyle(boolean local)
CellStyleHolder
local
- true to get the local style onlypublic void setCellStyle(SCellStyle cellStyle)
CellStyleHolder
cellStyle
- the style to set, null to clean local stylepublic int getHeight()
public boolean isHidden()
public void setHeight(int height)
public void setHidden(boolean hidden)
public boolean isCustomHeight()
public void setCustomHeight(boolean custom)
custom
- TRUE, if the height is set by users and is not calculated by system automaticallypublic Iterator<SCell> getCellIterator(boolean reverse, int start, int end)
getCellIterator
in class AbstractRowAdv
Copyright © 2020. All rights reserved.