openGionopenGion
5.3.9.0

org.opengion.hayabusa.db
クラス DBCellFactory

java.lang.Object
  上位を拡張 org.opengion.hayabusa.db.DBCellFactory

public final class DBCellFactory
extends java.lang.Object

DBCellRenderer/DBCellEditor オブジェクトを取得する為に使用する,ファクトリクラスです。 DBCell オブジェクト の識別ID を元に、DBCellFactory.newInstance( String id ) メソッドで,DBCell オブジェクトを取得します。

機能階層
データ表示, データ編集
バージョン
4.0
作成者
Kazuhiko Hasegawa
導入されたバージョン:
JDK5.0,

メソッドの概要
static void clear()
          DBCell オブジェクトをプールからすべて削除します。
static CellEditor newEditor(java.lang.String id, DBColumn clm)
          識別id に応じた DBCell オブジェクトを取得します。
static CellRenderer newRenderer(java.lang.String id, DBColumn clm)
          識別id に応じた DBCell オブジェクトを取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

newRenderer

public static CellRenderer newRenderer(java.lang.String id,
                                       DBColumn clm)
識別id に応じた DBCell オブジェクトを取得します。

パラメータ:
id - DBCell インターフェースを実装したサブクラスの識別id
clm - DBColumn オブジェクト
戻り値:
DBCell オブジェクト
変更履歴:
2.1.2.1 (2002/11/27) id が指定されていない場合の デフォルトを指定するように変更。
3.1.1.1 (2003/04/03) DBCell のファクトリクラスに DBColumn オブジェクトを渡す。
3.1.2.1 (2003/04/10) synchronized の方法を修正。
3.5.6.0 (2004/06/18) 各種プラグイン関連付け設定を、システムパラメータ に記述します。
4.0.0 (2005/01/31) キーの指定を、Renderer. から、Renderer_ に変更します。

newEditor

public static CellEditor newEditor(java.lang.String id,
                                   DBColumn clm)
識別id に応じた DBCell オブジェクトを取得します。

パラメータ:
id - DBCell インターフェースを実装したサブクラスの識別id
clm - DBColumn オブジェクト
戻り値:
DBCell オブジェクト
変更履歴:
2.1.2.1 (2002/11/27) id が指定されていない場合の デフォルトを指定するように変更。
3.1.1.1 (2003/04/03) DBCell のファクトリクラスに DBColumn オブジェクトを渡す。
3.1.2.1 (2003/04/10) synchronized の方法を修正。
3.5.6.0 (2004/06/18) 各種プラグイン関連付け設定を、システムパラメータ に記述します。
4.0.0 (2005/01/31) キーの指定を、Editor. から、Editor_ に変更します。

clear

public static void clear()
DBCell オブジェクトをプールからすべて削除します。 システム全体を初期化するときや、動作が不安定になったときに行います。 プールの方法自体が,一種のキャッシュ的な使いかたしかしていない為, 実行中でも、いつでもプールを初期化できます。

変更履歴:
3.1.1.1 (2003/04/03) キャッシュクリアメソッドを新規追加。
3.1.2.1 (2003/04/10) synchronized の方法を修正。

openGion 5.3.9.0

Webアプリケーションフレームワーク openGion
SourceForge.JPCopyright (c) 2009 The openGion Project.