|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.hamaf.hikyaku.report.excel2003.ExcelRow
public class ExcelRow
タイトル: ExcelRow is Excel row object.
説明:エクセルの行(Row)を処理する。
Created: Tue Nov 25 17:48:47 2008
コンストラクタの概要 | |
---|---|
ExcelRow()
|
メソッドの概要 | |
---|---|
int |
getColumnCount()
Describe getColumnCount method : get column count. |
org.w3c.dom.Element |
getRow()
Gets the value of row |
java.lang.String |
getValue(int col)
Describe getValue method : get cell value. |
void |
init(org.w3c.dom.Document doc,
java.lang.String hight)
Describe init method : initialize. |
void |
init(org.w3c.dom.Element row)
Describe init method : set row element. |
void |
setStyle(java.lang.String styId,
int str,
int end)
Describe setStyle method : 指定された範囲のCellにスタイル属性を設定する. |
void |
setValues(java.util.List<java.lang.Object> vals,
int str)
Describe setValues method : set cell values. |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public ExcelRow()
メソッドの詳細 |
---|
public void init(org.w3c.dom.Document doc, java.lang.String hight) throws java.lang.Exception
init
method : initialize.
doc
- a Document
:hight
- a String
: 業の高さ(既定値の場合、空の文字列"")
java.lang.Exception
- if an error occurspublic void init(org.w3c.dom.Element row) throws java.lang.Exception
init
method : set row element.
row
- an Element
: 行(Row)エレメント
java.lang.Exception
public int getColumnCount()
getColumnCount
method : get column count.
int
: カラム数public java.lang.String getValue(int col)
getValue
method : get cell value.
col
- an int
: 値を取得する列
String
: 取得した値の文字列public void setValues(java.util.List<java.lang.Object> vals, int str) throws java.lang.Exception
setValues
method : set cell values.
vals
- a List<Object>
: 値を設定したリストstr
- an int
: 新規作成時のみ、設定開始位置
java.lang.Exception
- if an error occurspublic void setStyle(java.lang.String styId, int str, int end) throws java.lang.Exception
setStyle
method : 指定された範囲のCellにスタイル属性を設定する.
styId
- a String
: スタイル属性値str
- an int
: 開始位置end
- an int
: 終了位置
java.lang.Exception
- if an error occurspublic final org.w3c.dom.Element getRow()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |