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が発生する


フィールドの概要
 
インタフェース org.apache.poi.ss.usermodel.Cell から継承されたフィールド
CELL_TYPE_BLANK, CELL_TYPE_BOOLEAN, CELL_TYPE_ERROR, CELL_TYPE_FORMULA, CELL_TYPE_NUMERIC, CELL_TYPE_STRING
 
コンストラクタの概要
CellClone(Cell cell)
          コンストラクタ
 
メソッドの概要
 CellRangeAddress getArrayFormulaRange()
           
 boolean getBooleanCellValue()
           
 int getCachedFormulaResultType()
           
 Comment getCellComment()
           
 java.lang.String getCellFormula()
           
 CellStyle getCellStyle()
           
 int getCellType()
           
 int getColumnIndex()
           
 java.util.Date getDateCellValue()
           
 byte getErrorCellValue()
           
 Hyperlink getHyperlink()
           
 double getNumericCellValue()
           
 RichTextString getRichStringCellValue()
           
 Row getRow()
           
 int getRowIndex()
           
 Sheet getSheet()
           
 java.lang.String getStringCellValue()
           
 boolean isPartOfArrayFormulaGroup()
           
 void removeCellComment()
           
 void setAsActiveCell()
           
 void setCellComment(Comment comment)
           
 void setCellErrorValue(byte value)
           
 void setCellFormula(java.lang.String formula)
           
 void setCellStyle(CellStyle style)
           
 void setCellType(int cellType)
           
 void setCellValue(boolean value)
           
 void setCellValue(java.util.Calendar value)
           
 void setCellValue(java.util.Date value)
           
 void setCellValue(double value)
           
 void setCellValue(RichTextString value)
           
 void setCellValue(java.lang.String value)
           
 void setHyperlink(Hyperlink link)
           
 
クラス 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