|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnga.servlet.dsp.writer.TargetValueWriter
nga.servlet.dsp.writer.CelcelWriter
public class CelcelWriter
Celcel 用ライタ。
| フィールドの概要 | |
|---|---|
protected TargetInfoList |
colInfoList
列情報のリスト。 |
protected int |
fixCols
固定列数。 |
protected int |
fixRows
固定行数。 |
protected String |
id
出力先ID。 |
protected List |
list
行のリスト。 |
protected String |
rowHeight
行の高さ。 |
protected TargetInfo |
tableInfo
テーブル情報。 |
protected String |
tableName
テーブル名。 |
| クラス nga.servlet.dsp.writer.TargetValueWriter から継承されたフィールド |
|---|
targetValue, writer |
| コンストラクタの概要 | |
|---|---|
CelcelWriter()
CelcelWriter を作成する。 |
|
| メソッドの概要 | |
|---|---|
static String |
getRowHeight(TargetInfo targetInfo)
行の高さを取得する。 |
protected String |
getWidth(int colIndex)
指定された列の列幅を取得する。 |
static String |
getWidth(TargetInfo targetInfo)
列幅を取得する。 |
protected void |
init(TargetValue resultValue)
このインスタンスの初期化を行なう。 |
protected void |
initFixCells()
固定行数,固定列数を設定する。 |
static boolean |
isEditable(TargetInfo targetInfo)
編集可能列かどうかを取得する。 |
static boolean |
isFixed(TargetInfo targetInfo)
固定列かどうかを取得する。。 |
protected boolean |
isSelectableList()
出力対象値が SelectableList のインスタンスかどうかを調べる。 |
protected boolean |
isSelectableTable()
出力対象値が SelectableTable のインスタンスかどうかを調べる。 |
void |
write()
値オブジェクトに格納されているプロパティ値を出力する。 |
void |
writeAttribute()
現在処理対象となっているプロパティ値に関する属性出力を行なう。 |
protected void |
writeCell(Object rowData,
TargetInfo colInfo,
boolean header,
int rowIndex,
int colIndex)
セルの出力を行なう。 |
protected void |
writeColHeaderTable()
列ヘッダテーブルの出力を行なう。 |
protected void |
writeColTags(int startIndex,
int endIndex)
col タグの出力を行なう。 |
protected void |
writeDetailTable()
明細の出力を行なう。 |
protected void |
writeHeaderTable()
固定ヘッダテーブルの出力を行なう。 |
protected void |
writeRowHeaderTable()
行ヘッダの出力を行なう。 |
protected void |
writeRows(int startRowIndex,
int endRowIndex,
int startColIndex,
int endColIndex,
boolean header)
行出力を行なう。 |
protected void |
writeSelectionHolder()
SelectionHolder を出力する。 |
protected void |
writeTableEndTag()
table 終了タグの出力を行なう。 |
protected void |
writeTableTag(String idSuffix)
table タグの出力を行なう。 |
protected void |
writeTrEndTag()
tr 終了タグの出力を行なう。 |
protected void |
writeTrTag()
tr 開始タグの出力を行なう。 |
| クラス nga.servlet.dsp.writer.TargetValueWriter から継承されたメソッド |
|---|
attr, attr, attr, attr, format, format, getClass, getErrorItem, getErrorValue, getFormat, getFormat, getLabel, getLabel, getScale, isCdataSection, print, print, printErrorValue, println, println, println, printRequest, setTargetValue |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected TargetInfo tableInfo
protected TargetInfoList colInfoList
protected String tableName
protected List list
protected String rowHeight
protected String id
protected int fixRows
protected int fixCols
| コンストラクタの詳細 |
|---|
public CelcelWriter()
| メソッドの詳細 |
|---|
public void writeAttribute()
throws IOException,
ServletException
TargetValueWriter の記述:
TargetValueWriter 内の writeAttributeIOException
ServletExceptionprotected void initFixCells()
public void write()
throws IOException,
ServletException
TargetValueWriter の記述:
TargetValueWriter 内の writeIOException
ServletExceptionprotected void writeSelectionHolder()
protected void init(TargetValue resultValue)
resultValue - 出力情報。protected void writeTableTag(String idSuffix)
idSuffix - id の末尾に付与する文字列。protected void writeTableEndTag()
protected void writeColTags(int startIndex,
int endIndex)
startIndex - 開始インデックス(含む)。endIndex - 終了インデックス(含まない)。protected void writeHeaderTable()
protected void writeCell(Object rowData,
TargetInfo colInfo,
boolean header,
int rowIndex,
int colIndex)
throws ServletException
rowData - 行データ。colInfo - 列情報。header - ヘッダセルかどうか。rowIndex - 行インデックス。colIndex - 列インデックス。
ServletExceptionprotected void writeTrTag()
protected void writeTrEndTag()
protected void writeRows(int startRowIndex,
int endRowIndex,
int startColIndex,
int endColIndex,
boolean header)
throws ServletException
startRowIndex - 開始行インデックス(含む)。endRowIndex - 終了行インデックス(含まない)。startColIndex - 開始列インデックス(含む)。endColIndex - 終了列インデックス(含まない)。header - ヘッダ出力かどうか。
ServletException
protected void writeColHeaderTable()
throws ServletException
ServletException
protected void writeRowHeaderTable()
throws ServletException
ServletException
protected void writeDetailTable()
throws ServletException
ServletExceptionprotected String getWidth(int colIndex)
colIndex - 列番号。
protected boolean isSelectableList()
protected boolean isSelectableTable()
public static boolean isFixed(TargetInfo targetInfo)
targetInfo - target タグ情報。
public static String getWidth(TargetInfo targetInfo)
targetInfo - target タグ情報。
public static String getRowHeight(TargetInfo targetInfo)
targetInfo - target タグ情報。
public static boolean isEditable(TargetInfo targetInfo)
targetInfo - target タグ情報。
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||