org.seasar.fisshplate.core.element
クラス AbstractCell

java.lang.Object
  上位を拡張 org.seasar.fisshplate.core.element.AbstractCell
すべての実装されたインタフェース:
TemplateElement
直系の既知のサブクラス:
GenericCell, Link, Picture

public abstract class AbstractCell
extends Object
implements TemplateElement

セル要素の基底抽象クラスです。

作成者:
rokugen

フィールドの概要
protected  CellWrapper cell
          テンプレート側のセル
 
メソッドの概要
protected  void copyCellStyle(FPContext context, HSSFCell outCell)
          テンプレート側のセルのスタイルを出力側へコピーします。
 Object getCellValue()
           
 void merge(FPContext context)
          コンテキストに格納されたデータをテンプレートに埋め込みます。
 void setCellValue(Object cellValue)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

cell

protected CellWrapper cell
テンプレート側のセル

メソッドの詳細

merge

public void merge(FPContext context)
           throws FPMergeException
インタフェース TemplateElement の記述:
コンテキストに格納されたデータをテンプレートに埋め込みます。

定義:
インタフェース TemplateElement 内の merge
パラメータ:
context - コンテキスト
例外:
FPMergeException - データ埋め込み時にエラーが発生した際に投げられます。

copyCellStyle

protected void copyCellStyle(FPContext context,
                             HSSFCell outCell)
テンプレート側のセルのスタイルを出力側へコピーします。フォントやデータフォーマットも反映されます。

パラメータ:
context - コンテキスト
outCell - 出力するセル

getCellValue

public Object getCellValue()

setCellValue

public void setCellValue(Object cellValue)


Copyright © 2009 The Seasar Foundation. All Rights Reserved.