org.bbreak.excella.core
クラス CellClone
java.lang.Object
org.bbreak.excella.core.CellClone
- すべての実装されたインタフェース:
- Cell
public class CellClone
- extends java.lang.Object
- implements Cell
Cellの情報を保持するクラス
POI3.9より、xlsxで、Cellが削除されてRow内にCellがない状態になった時に、
あらかじめ取っておいたCellにアクセスしようとすると
XmlValueDisconnectedExceptionが発生する
回避策として、このCellCloneオブジェクトに情報を保持しておくことができる
比較時の関数などを以前の実装のまま使えるようにCellインターフェースを継承している
情報を参照するためのオブジェクトなので、set系の関数を使用しようとすると
IllegalStateExceptionが発生する
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellClone
public CellClone(Cell cell)
- コンストラクタ
- パラメータ:
cell
-
getArrayFormulaRange
public CellRangeAddress getArrayFormulaRange()
- 定義:
- インタフェース
Cell
内の getArrayFormulaRange
getBooleanCellValue
public boolean getBooleanCellValue()
- 定義:
- インタフェース
Cell
内の getBooleanCellValue
getCachedFormulaResultType
public int getCachedFormulaResultType()
- 定義:
- インタフェース
Cell
内の getCachedFormulaResultType
getCellComment
public Comment getCellComment()
- 定義:
- インタフェース
Cell
内の getCellComment
getCellFormula
public java.lang.String getCellFormula()
- 定義:
- インタフェース
Cell
内の getCellFormula
getCellStyle
public CellStyle getCellStyle()
- 定義:
- インタフェース
Cell
内の getCellStyle
getCellType
public int getCellType()
- 定義:
- インタフェース
Cell
内の getCellType
getColumnIndex
public int getColumnIndex()
- 定義:
- インタフェース
Cell
内の getColumnIndex
getDateCellValue
public java.util.Date getDateCellValue()
- 定義:
- インタフェース
Cell
内の getDateCellValue
getErrorCellValue
public byte getErrorCellValue()
- 定義:
- インタフェース
Cell
内の getErrorCellValue
getHyperlink
public Hyperlink getHyperlink()
- 定義:
- インタフェース
Cell
内の getHyperlink
getNumericCellValue
public double getNumericCellValue()
- 定義:
- インタフェース
Cell
内の getNumericCellValue
getRichStringCellValue
public RichTextString getRichStringCellValue()
- 定義:
- インタフェース
Cell
内の getRichStringCellValue
getRow
public Row getRow()
- 定義:
- インタフェース
Cell
内の getRow
getRowIndex
public int getRowIndex()
- 定義:
- インタフェース
Cell
内の getRowIndex
getSheet
public Sheet getSheet()
- 定義:
- インタフェース
Cell
内の getSheet
getStringCellValue
public java.lang.String getStringCellValue()
- 定義:
- インタフェース
Cell
内の getStringCellValue
isPartOfArrayFormulaGroup
public boolean isPartOfArrayFormulaGroup()
- 定義:
- インタフェース
Cell
内の isPartOfArrayFormulaGroup
removeCellComment
public void removeCellComment()
- 定義:
- インタフェース
Cell
内の removeCellComment
setAsActiveCell
public void setAsActiveCell()
- 定義:
- インタフェース
Cell
内の setAsActiveCell
setCellComment
public void setCellComment(Comment comment)
- 定義:
- インタフェース
Cell
内の setCellComment
setCellErrorValue
public void setCellErrorValue(byte value)
- 定義:
- インタフェース
Cell
内の setCellErrorValue
setCellFormula
public void setCellFormula(java.lang.String formula)
throws FormulaParseException
- 定義:
- インタフェース
Cell
内の setCellFormula
- 例外:
FormulaParseException
setCellStyle
public void setCellStyle(CellStyle style)
- 定義:
- インタフェース
Cell
内の setCellStyle
setCellType
public void setCellType(int cellType)
- 定義:
- インタフェース
Cell
内の setCellType
setCellValue
public void setCellValue(double value)
- 定義:
- インタフェース
Cell
内の setCellValue
setCellValue
public void setCellValue(java.util.Date value)
- 定義:
- インタフェース
Cell
内の setCellValue
setCellValue
public void setCellValue(java.util.Calendar value)
- 定義:
- インタフェース
Cell
内の setCellValue
setCellValue
public void setCellValue(RichTextString value)
- 定義:
- インタフェース
Cell
内の setCellValue
setCellValue
public void setCellValue(java.lang.String value)
- 定義:
- インタフェース
Cell
内の setCellValue
setCellValue
public void setCellValue(boolean value)
- 定義:
- インタフェース
Cell
内の setCellValue
setHyperlink
public void setHyperlink(Hyperlink link)
- 定義:
- インタフェース
Cell
内の setHyperlink