public class TableFormatter extends Object
3.5.4.0 (2003/11/25) 新規追加 |
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
HYBS_ITD_MARKER
フォーマットタイプの指定の特殊なマーク "h_itd_marker"
|
コンストラクタと説明 |
---|
TableFormatter() |
修飾子とタイプ | メソッドと説明 |
---|---|
String |
getFormat()
フォーマットを取得します。
|
String |
getFormat(int no)
フォーマット文字列を返します。
|
FormatterType |
getFormatType()
このフォーマットのタイプを返します。
|
String |
getItdBody()
itdフォーマット文字列を取得します。
|
int |
getLocation(int no)
カラムのロケーション番号を返します。
|
int |
getLocationSize()
ロケーション番号のサイズを返します。
|
String |
getRowspan()
設定された rowspan を返します。
|
String |
getSystemFormat(int row,
int loc)
システムフォーマット文字列を返します。
|
String |
getTrTag()
設定された フォーマットの trタグを返します。
|
char |
getType(int no)
タイプ文字列を返します。
|
boolean |
isNoClass()
カラムのクラス名(
|
boolean |
isUse(int row,
DBTableModel table)
このフォーマットを使用するかどうかの問い合わせを返します。
|
void |
makeFormat(DBTableModel table)
DBTableModelを利用して、フォーマットデータを初期化します。
|
void |
setFormat(String fmt)
フォーマットをセットします。
|
void |
setFormat(String fmt,
boolean flg)
フォーマットをセットします。
|
void |
setFormatType(FormatterType ftype)
テーブルフォーマットのタイプを指定します。
|
void |
setItdBody(String itd)
itdフォーマット文字列を設定します。
|
void |
setNoClass(String flag)
カラムのクラス名(
|
void |
setRowspan(String rowspan)
テーブルの rowspan 属性をセットします。
|
void |
setUsableKey(String key)
フォーマットの使用可否を判断するキーとなるカラム名を指定します。
|
void |
setUsableList(String list)
フォーマットの使用可否を判断する文字列リストを指定します。
|
public void setFormat(String fmt, boolean flg)
fmt
- [カラム名] 形式のフォーマットデータflg
- falseにすると先頭のtrタグを取る処理を行いません(5.5.0.3)4.3.2.0 (2008/09/10) | 前のスペースを取り消します。
5.5.0.3 (2012/03/13) |
public void setFormat(String fmt)
fmt
- [カラム名] 形式のフォーマットデータ5.5.0.3 (2012/03/13) 引数追加につき。 |
public String getFormat()
3.5.5.8 (2004/05/20) 新規追加 |
5.1.7.0 (2010/06/01) サニタイズ戻し処理("\\]\\"から"["に戻し)を追加 |
public void makeFormat(DBTableModel table)
table
- DBTableModelオブジェクト3.5.5.0 (2004/03/12) [KEY.カラム名] 機能追加 |
3.5.5.2 (2004/04/02) [I] で、行番号を作成します。 |
3.5.6.0 (2004/06/18) '!' 値のみ 追加 既存の '$' は、レンデラー |
3.6.0.0 (2004/09/17) [ROW.ID] で、行毎のチェックボックスのIDを返します。 |
5.1.7.0 (2010/06/01) サニタイズ戻し処理("\\]\\"から"["に戻し)を追加 |
public void setFormatType(FormatterType ftype)
ftype
- フォーマットのタイプ4.0.0 (2007/05/02) enum 定義に変更 |
public FormatterType getFormatType()
4.0.0 (2007/05/02) enum 定義に変更 |
public void setRowspan(String rowspan)
rowspan
- 属性public String getRowspan()
public int getLocationSize()
public int getLocation(int no)
no
- フォーム位置番号public String getFormat(int no)
no
- フォーム位置番号public String getSystemFormat(int row, int loc)
row
- 行番号loc
- 位置番号3.5.5.0 (2004/03/12) [KEY.カラム名] 機能追加 |
3.5.5.2 (2004/04/02) [I] で、行番号を作成します。 |
3.6.0.0 (2004/09/17) [ROW.ID] で、行毎のチェックボックスのIDを返します。 |
4.0.0 (2007/05/02) Formatter を使用するように変更 |
public char getType(int no)
no
- フォーム位置番号public String getTrTag()
5.1.7.0 (2010/06/01) サニタイズ戻し処理("\\]\\"から"["に戻し)を追加 |
public void setNoClass(String flag)
flag
- クラス名使用の有無(true:使用しない/false:使用する。)public boolean isNoClass()
public void setUsableKey(String key)
key
- フォーマットの使用可否を判断するカラム名public void setUsableList(String list)
list
- フォーマットの使用可否を判断する文字列リストisUse( int,DBTableModel )
public boolean isUse(int row, DBTableModel table)
row
- 行番号table
- DBTableModelオブジェクトsetUsableKey( String )
,
setUsableList( String )
3.5.6.2 (2004/07/05) 判定評価用カラムの値を trim() します。 |
public void setItdBody(String itd)
itd
- itdフォーマットの文字列3.5.6.0 (2004/06/18) itdフォーマット文字列の取り込み |
public String getItdBody()
3.5.6.0 (2004/06/18) itdフォーマット文字列の取り込み |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.