001 /*
002 * Copyright (c) 2009 The openGion Project.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013 * either express or implied. See the License for the specific language
014 * governing permissions and limitations under the License.
015 */
016 package org.opengion.hayabusa.db;
017
018 /**
019 * DBColumn インターフェースで使用され???タ編?のインターフェースです?
020 * 適?実?サブクラス)?DBColumn に与えることで?データ編?法を適?
021 * ?替えることが?来ます?
022 *
023 * @og.rev 4.0.0.0 (2006/10/30) 新規追?
024 * @og.group ??タ編?
025 *
026 * @version 4.0
027 * @author Kazuhiko Hasegawa
028 * @since JDK5.0,
029 */
030 public interface CellEditor {
031
032 /**
033 * ??タの表示/編???を返します?
034 *
035 * @param value 値
036 *
037 * @return ??タの表示/編???
038 */
039 String getValue( String value ) ;
040
041 /**
042 * name属?を変えた???タ表示/編?のHTML??を作?します?
043 * ??ブル上? name に 行番号を付加して、名前_行番号 で登録するキーを作??
044 * リクエスト情報を1つ毎?フィールドで処?きます?
045 *
046 * @param row 行番号
047 * @param value 値
048 *
049 * @return ??タ表示/編?の??
050 */
051 String getValue( int row,String value ) ;
052
053 /**
054 * ?ブジェクトから???インスタンスを返します?
055 * 自??身をキャ?ュするのか?新たに作?するのか?、各サブクラスの実?
056 * まかされます?
057 *
058 * @og.rev 3.1.1.1 (2003/04/03) ?ブジェクトから???インスタンスを返すファクトリメソ?を追??
059 *
060 * @param clm DBColumnオブジェク?
061 *
062 * @return DBCellオブジェク?
063 */
064 CellEditor newInstance( DBColumn clm );
065 }