org.apache.struts.taglib
クラス SelectTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.apache.struts.taglib.BaseHandlerTag
                    |
                    +--org.apache.struts.taglib.SelectTag
すべての実装インタフェース:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public final class SelectTag
extends BaseHandlerTag

Custom tag that represents an HTML select element, associated with a bean property specified by our attributes. This tag must be nested inside a form tag.

バージョン:
$Revision: 1.12 $ $Date: 2001/05/20 01:19:06 $
作成者:
Craig R. McClanahan
関連項目:
直列化された形式

フィールドの概要
private  java.lang.String match
          The actual value we will match against, calculated in doStartTag().
protected static MessageResources messages
          The message resources for this package.
private  java.lang.String multiple
          Should multiple selections be allowed?
private  java.lang.String name
          The name of the bean containing our underlying property.
private  java.lang.String property
          The property name we are associated with.
private  java.lang.String size
          How many available options should be displayed when this element is rendered?
private  java.lang.String value
          The value to compare with for marking an option selected.
 
クラス org.apache.struts.taglib.BaseHandlerTag から継承したフィールド
accessKey, tabIndex
 
クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したフィールド
bodyContent
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したフィールド
id, pageContext
 
インタフェース javax.servlet.jsp.tagext.BodyTag から継承したフィールド
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
インタフェース javax.servlet.jsp.tagext.IterationTag から継承したフィールド
EVAL_BODY_AGAIN
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したフィールド
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
コンストラクタの概要
SelectTag()
           
 
メソッドの概要
 int doEndTag()
          Render the end of this form.
 int doStartTag()
          Render the beginning of this form.
 java.lang.String getMatch()
          Return the actual match value (only valid from nested tags).
 java.lang.String getMultiple()
           
 java.lang.String getName()
           
 java.lang.String getProperty()
          Return the property name.
 java.lang.String getSize()
           
 java.lang.String getValue()
          Return the comparison value.
 void release()
          Release any acquired resources.
 void setMultiple(java.lang.String multiple)
           
 void setName(java.lang.String name)
           
 void setProperty(java.lang.String property)
          Set the property name.
 void setSize(java.lang.String size)
           
 void setValue(java.lang.String value)
          Set the comparison value.
 
クラス org.apache.struts.taglib.BaseHandlerTag から継承したメソッド
getAccessKey, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getStyleClass, getStyleId, getTabIndex, prepareEventHandlers, prepareStyles, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setStyleId, setTabIndex
 
クラス javax.servlet.jsp.tagext.BodyTagSupport から継承したメソッド
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
クラス javax.servlet.jsp.tagext.TagSupport から継承したメソッド
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース javax.servlet.jsp.tagext.Tag から継承したメソッド
getParent, setPageContext, setParent
 

フィールドの詳細

match

private java.lang.String match
The actual value we will match against, calculated in doStartTag().


messages

protected static MessageResources messages
The message resources for this package.


multiple

private java.lang.String multiple
Should multiple selections be allowed? Any non-null value will trigger rendering this.


name

private java.lang.String name
The name of the bean containing our underlying property.


property

private java.lang.String property
The property name we are associated with.


size

private java.lang.String size
How many available options should be displayed when this element is rendered?


value

private java.lang.String value
The value to compare with for marking an option selected.

コンストラクタの詳細

SelectTag

public SelectTag()
メソッドの詳細

getMultiple

public java.lang.String getMultiple()

setMultiple

public void setMultiple(java.lang.String multiple)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getSize

public java.lang.String getSize()

setSize

public void setSize(java.lang.String size)

getMatch

public java.lang.String getMatch()
Return the actual match value (only valid from nested tags).


getProperty

public java.lang.String getProperty()
Return the property name.


setProperty

public void setProperty(java.lang.String property)
Set the property name.

パラメータ:
property - The new property name

getValue

public java.lang.String getValue()
Return the comparison value.


setValue

public void setValue(java.lang.String value)
Set the comparison value.

パラメータ:
value - The new comparison value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Render the beginning of this form.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doStartTag
オーバーライド:
クラス javax.servlet.jsp.tagext.BodyTagSupport 内の doStartTag
例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Render the end of this form.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の doEndTag
オーバーライド:
クラス javax.servlet.jsp.tagext.BodyTagSupport 内の doEndTag
例外:
javax.servlet.jsp.JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.

定義:
インタフェース javax.servlet.jsp.tagext.Tag 内の release
オーバーライド:
クラス BaseHandlerTag 内の release


このドキュメントは、Ja-Jakartaにより訳されました。コメントがある場合は、report@jajakarta.orgまでお願いします。
Copyright (C) 2000-2002 - Apache Software Foundation