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 }