パッケージ org.opengion.hayabusa.db
クラス DBCellFactory
- java.lang.Object
-
- org.opengion.hayabusa.db.DBCellFactory
-
public final class DBCellFactory extends Object
DBCellRenderer/DBCellEditor オブジェクトを取得する為に使用する,ファクトリクラスです。 DBCell オブジェクト の識別ID を元に、DBCellFactory.newInstance( String id ) メソッドで,DBCell オブジェクトを取得します。- 導入されたバージョン:
- JDK5.0,
-
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static void
clear()
DBCell オブジェクトをプールからすべて削除します。static CellEditor
newEditor(String id, DBColumn clm)
識別id に応じた DBCell オブジェクトを取得します。static CellRenderer
newRenderer(String id, DBColumn clm)
識別id に応じた DBCell オブジェクトを取得します。
-
-
-
メソッドの詳細
-
newRenderer
public static CellRenderer newRenderer(String id, DBColumn clm)
識別id に応じた DBCell オブジェクトを取得します。- パラメータ:
id
- DBCell インターフェースを実装したサブクラスの識別idclm
- DBColumnオブジェクト- 戻り値:
- DBCellオブジェクト
-
newEditor
public static CellEditor newEditor(String id, DBColumn clm)
識別id に応じた DBCell オブジェクトを取得します。- パラメータ:
id
- DBCell インターフェースを実装したサブクラスの識別idclm
- DBColumnオブジェクト- 戻り値:
- DBCellオブジェクト
-
clear
public static void clear()
DBCell オブジェクトをプールからすべて削除します。 システム全体を初期化するときや、動作が不安定になったときに行います。 プールの方法自体が,一種のキャッシュ的な使いかたしかしていない為, 実行中でも、いつでもプールを初期化できます。
-
-