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.taglib;
017
018 import org.opengion.hayabusa.html.FormatterType;
019
020 /**
021 * 検索結果に対してフッターフォーマットを変更するタグですã?
022 *
023 * @og.formSample
024 * ●形式ï¼?lt;og:tfoot rowspan="..." > ... Body ... </og:tfoot>
025 * ●body?šあã‚?
026 *
027 * ●Tag定義??
028 * <og:tfoot
029 * rowspan ○ã?TAG】表示ãƒ??タを作æ?する場合ã?フォーマットã?行数(rowspan)をセãƒ?ƒˆしまã�?初期値:2)ã€?å¿??)
030 * caseKey 【TAG】このタグ自体を利用するかどã�?�‹の条件キーを指定しまã�?初期値:null)
031 * caseVal 【TAG】このタグ自体を利用するかどã�?�‹の条件値を指定しまã�?初期値:null)
032 * useTrCut 【TAGã€?先é?trタグを削除するかどã�?�‹[true/false]を指定しまã�?初期値:true)
033 * debug 【TAG】デバッグæƒ??をå?力するかどã�?�‹[true/false]を指定しまã�?初期値:false)
034 * > ... Body ...
035 * </og:tfoot>
036 *
037 * ●使用ä¾?
038 * <og:view
039 * viewFormType = "HTMLCustomTable"
040 * command = "{@command}"
041 * writable = "false"
042 * startNo = "{@startNo}"
043 * pageSize = "{@pageSize}"
044 * rowspan = "1"
045 * numberType = "delete"
046 * >
047 * ...
048 * <og:tfoot rowspan="1" >
049 * <tr><td>&amp;nbsp;</td><td>[VALUENAME]</td><td>[DESCRIPTION]</td></tr>
050 * </og:tfoot>
051 * </og:view>
052 *
053 * @og.rev 3.5.4.0 (2003/11/25) TFormatTag のサブクラスとして再定義ã€?
054 * @og.group 画面部å“?
055 *
056 * @version 4.0
057 * @author Kazuhiko Hasegawa
058 * @since JDK5.0,
059 */
060 public class TfootTag extends TFormatTag {
061 //* こã?プログラãƒ??VERSIONæ–?—å?を設定しますã? {@value} */
062 private static final String VERSION = "4.0.0.0 (2005/08/31)" ;
063
064 private static final long serialVersionUID = 400020050831L ;
065
066 /**
067 * こã?フォーマットã?タイプを返しますã?
068 *
069 * タイプã?ã€?head/body/foot" の中から、指定しますã?
070 *
071 * @og.rev 3.5.4.0 (2003/11/25) 新規追åŠ?
072 *
073 * @return こã?フォーマットã?タイプを返しますã?
074 */
075 @Override
076 protected FormatterType getType() {
077 return FormatterType.TYPE_FOOT;
078 }
079
080 // protected String getType() {
081 // return TableFormatter.TYPE_FOOT;
082 // }
083 }