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 /**
019 * プルãƒ?‚¦ンメニューã‚?ƒ‡ータリストを作æ?する場合ã?共通インターフェースですã?
020 *
021 * これは、BODY部の optionタグからのæƒ??をã?取得する為に、SelectTag と DatalistTag の
022 * 共通インターフェースとして定義しますã?
023 *
024 * @og.rev 5.7.1.0 (2013/12/06) 新規追åŠ?
025 * @version 4.0
026 * @author Kazuhiko Hasegawa
027 * @since JDK5.0,
028 */
029 public interface OptionAncestorIF {
030
031 /**
032 * メニューé ?›®の選択é?目を追åŠ?�—ますã?
033 *
034 * select タグのBODY要ç´?? OptionTag よりアクセスされますã?
035 *
036 * @param opt オプションタグæ–?—å?
037 */
038 public void addOption( final String opt ) ;
039
040 /**
041 * 値を外部から取り出しますã?
042 *
043 * OptionTag で、value を取りå?して、å?部の値と同じ場合ã?ã€?�¸択状態にしますã?
044 *
045 * @return å†?ƒ¨に設定された値
046 */
047 public String getValue();
048
049 /**
050 * è¤?•°選択可能時に全選択を設定するかどã�?�‹を返しますã?
051 *
052 * これは、上位å?れ子ã?タグの OptionTag で、multipleAll を取りå?してã€?
053 * true であれば、å?選択に設定しますã?
054 *
055 * @return 全選æŠ?true / 通常:false
056 */
057 public boolean isMultipleAll();
058
059 /**
060 * パラメーター変換({@XXXX}の置き換えをしなã�?ж態ã?パラメーターをセãƒ?ƒˆしますã?
061 *
062 * @param param パラメーター
063 */
064 public void setRawParam( final String param );
065 }