public class ExcelCell extends Object implements IExcelCell
IExcelCell.CellType| Constructor and Description |
|---|
ExcelCell(int row,
int column,
String content) |
| Modifier and Type | Method and Description |
|---|---|
IExcelCell.CellType |
getCellType() |
int |
getColumn() |
String |
getContent() |
DateFormat |
getDateFormat() |
float |
getHeight() |
int |
getRow() |
IExcelCellStyle |
getStyle() |
boolean |
hasDefaultStyle() |
void |
setCellType(IExcelCell.CellType cellType) |
void |
setContent(String value) |
void |
setDateFormat(DateFormat format) |
void |
setHasDefaultStyle(boolean hasDefaultStyle) |
void |
setHeight(float height) |
void |
setLocalize(boolean shouldLocalize) |
void |
setStyle(IExcelCellStyle style) |
boolean |
shouldLocalize() |
public ExcelCell(int row,
int column,
String content)
public int getRow()
public int getColumn()
public IExcelCellStyle getStyle()
getStyle in interface IExcelCellpublic void setStyle(IExcelCellStyle style)
setStyle in interface IExcelCellstyle - the style to setpublic String getContent()
getContent in interface IExcelCellpublic void setContent(String value)
setContent in interface IExcelCellvalue - the content to setpublic boolean hasDefaultStyle()
public void setHasDefaultStyle(boolean hasDefaultStyle)
hasDefaultStyle - the hasDefaultStyle to setpublic IExcelCell.CellType getCellType()
public void setCellType(IExcelCell.CellType cellType)
setCellType in interface IExcelCellcellType - the cellType to setpublic float getHeight()
public void setHeight(float height)
setHeight in interface IExcelCellheight - the height to setpublic DateFormat getDateFormat()
getDateFormat in interface IExcelCellpublic void setDateFormat(DateFormat format)
setDateFormat in interface IExcelCellpublic boolean shouldLocalize()
shouldLocalize in interface IExcelCellpublic void setLocalize(boolean shouldLocalize)
setLocalize in interface IExcelCellshouldLocalize - the shouldLocalize to set