|
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.opengion.hayabusa.db.Selection_NULL
org.opengion.hayabusa.db.Selection_DBRADIO
public class Selection_DBRADIO
データのコード情報を取り扱うクラスです。 コードのキーとラベルの情報から、HTMLのメニューやリストを作成するための オプション タグを作成したり、与えられたキーをもとに、チェック済みのオプションタグを作成したり します。 QUERYのそれぞれのカラムは、以下の意味を持ちます。 第1カラム(必須) : ラジオボタンのキー(値) 第2カラム : ラベル(指定されない場合は、ラベルリソースの短縮ラベルを使用します) 第3カラム : クラス そのオプションに色づけなどを行う為の指定します。 NULL(または、ゼロ文字列)の場合は、適用されません。 第4カラム : この値は'false'又は'0'である場合にそのラジオボタンを選択不可にします。 NULL(または、ゼロ文字列)の場合は、選択可能になります。
フィールドの概要 |
---|
インタフェース org.opengion.hayabusa.db.Selection から継承されたフィールド |
---|
NO_VALUE_OPTION |
コンストラクタの概要 | |
---|---|
Selection_DBRADIO(String newQuery,
String dbid,
String lang)
コンストラクター DB検索用のSQL文を与えて、初期化します。 |
メソッドの概要 | |
---|---|
String |
getOption(String selectValue,
boolean seqFlag,
boolean useShortLabel)
初期値が選択済みの 選択肢(オプション)を返します。 |
String |
getRadio(String name,
String selectValue,
boolean useLabel)
初期値が選択済みの 選択肢(オプション)を返します。 |
String |
getRadioLabel(String selectValue)
選択肢(value)に対するラベルを返します。 |
String |
getValueLabel(String selectValue,
boolean flag)
選択肢(value)に対するラベルを返します。 |
boolean |
isTimeOver()
オブジェクトのキャッシュが時間切れかどうかを返します。 |
クラス org.opengion.hayabusa.db.Selection_NULL から継承されたメソッド |
---|
getOption, getValueLabel, useMultiSelect |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public Selection_DBRADIO(String newQuery, String dbid, String lang)
newQuery
- DB検索(SQL)文字列dbid
- データベース接続先IDlang
- リソースを使用する場合の言語5.1.9.0 (2010/08/01) String[] value 廃止 |
メソッドの詳細 |
---|
public String getOption(String selectValue, boolean seqFlag, boolean useShortLabel)
Selection
内の getOption
Selection_NULL
内の getOption
selectValue
- 選択されている値seqFlag
- シーケンスアクセス機能の指定useShortLabel
- 短ラベルの指定
Selection_NULL.getOption( String, boolean )
5.1.3.0 (2010/02/01) 追加 |
5.7.7.1 (2014/06/13) Selection_NULL を 継承するため、削除 |
public String getRadio(String name, String selectValue, boolean useLabel)
Selection
内の getRadio
Selection_NULL
内の getRadio
name
- ラジオの nameselectValue
- 選択されている値useLabel
- ラベル表示の有無 [true:有/false:無]
public String getValueLabel(String selectValue, boolean flag)
Selection
内の getValueLabel
Selection_NULL
内の getValueLabel
selectValue
- 選択肢の値flag
- 短縮ラベルを使用する [true:使用する/false:しない]
Selection_NULL.getValueLabel( String )
public String getRadioLabel(String selectValue)
Selection
内の getRadioLabel
Selection_NULL
内の getRadioLabel
selectValue
- 選択肢の値
getValueLabel( String,boolean )
public boolean isTimeOver()
Selection
内の isTimeOver
Selection_NULL
内の isTimeOver
|
openGion 5.8.0.0 | ||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |