public class SpaceTag extends CommonTagSupport
●形式:<og:space /> ●body:なし ●Tag定義: <og:space width 【TAG】全体の大きさ(width 属性)を指定します colspan 【TAG】全体の大きさ(width 属性)を指定します labelWidth 【TAG】ラベル部分(前半部分)の大きさ(width 属性)を指定します valueWidth 【TAG】値部分(後半部分)の大きさ(width 属性)を指定します debug 【TAG】デバッグ情報を出力するかどうか[true/false]を指定します(初期値:false) /> ●使用例 通常の、ラベル部、フィールド部が空の td タグを生成します。 <og:space /> td タグの大きさを指定することができます。 <og:space labelWidth = "ラベル部分(前半部分)の大きさ(width 属性)を指定します。" valueWidth = "値部分(後半部分)の大きさ(width 属性)を指定します。" />
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
コンストラクタと説明 |
---|
SpaceTag() |
修飾子とタイプ | メソッドと説明 |
---|---|
int |
doStartTag()
Taglibの開始タグが見つかったときに処理する doStartTag() を オーバーライドします。
|
protected void |
release2()
タグリブオブジェクトをリリースします。
|
void |
setColspan(String colspan)
【TAG】全体の大きさ(width 属性)を指定します。
|
void |
setLabelWidth(String width)
【TAG】ラベル部分(前半部分)の大きさ(width 属性)を指定します。
|
void |
setValueWidth(String width)
【TAG】値部分(後半部分)の大きさ(width 属性)を指定します。
|
void |
setWidth(String width)
【TAG】全体の大きさ(width 属性)を指定します。
|
String |
toString()
このオブジェクトの文字列表現を返します。
|
add, add, addEventColumn, addEventColumn, check, check, commitTableObject, debugPrint, doAfterBody, doCatch, doEndTag, doFinally, get, getApplicationInfo, getAttributes, getBodyRawString, getBodyString, getContextAttribute, getContextPath, getCookie, getCSVParameter, getDataCondition, getDateFormat, getDBColumn, getDBFunctionName, getDocumentLink, getGUIInfo, getGUIInfoAttri, getHostName, getLabel, getLabelInterface, getLanguage, getLASTAttri, getLongLabel, getMsglbl, getNVLAttri, getObject, getParameterNames, getParameterRows, getRequest, getRequestAttribute, getRequestCacheData, getRequestParameter, getRequestParameterValues, getRequestValue, getRequestValue, getRequestValues, getReservedParameter, getReservedValue, getResource, getSanitizedBodyString, getScope, getSessionAttribute, getTagName, getUser, getUserEditInfo, getUserInfo, isAjaxSubmitRequest, isDebug, isNoTransitionRequest, isNull, jspPrint, removeContextAttribute, removeObject, removeRequestAttribute, removeSessionAttribute, set, setAjaxSubmitRequest, setCaseKey, setCaseNN, setCaseNull, setCaseVal, setContextAttribute, setCookie, setDebug, setLanguage, setLbl, setNoTransitionRequest, setObject, setObject, setParameterNames, setParameterRows, setRequestAttribute, setRequestCacheData, setScope, setSessionAttribute, setUserInfo, startQueryTransaction, sys, sysBool, sysInt, useMainTrans, useQuotCheck, useTag, useXssCheck
doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getParent, setPageContext, setParent
public SpaceTag()
public int doStartTag()
doStartTag
インタフェース内 Tag
doStartTag
クラス内 CommonTagSupport
protected void release2()
release2
クラス内 CommonTagSupport
3.1.1.2 (2003/04/04) Tomcat4.1 対応。release2() を doEndTag()で呼ぶ。 |
5.1.9.0 (2010/08/01) width , colspan 属性追加 |
public void setWidth(String width)
width
- 属性通常の space タグは、td 2個分のタグを出力しますが、width 属性を 指定した場合は、colspan="2" をセット下上で、width 属性に設定されます。
5.1.9.0 (2010/08/01) 新規追加 |
public void setColspan(String colspan)
colspan
- 属性属性は td タグの colspan 属性に設定されます。
5.1.9.0 (2010/08/01) 新規追加 |
public void setLabelWidth(String width)
width
- 属性属性は td タグの width 属性に設定されます。
public void setValueWidth(String width)
width
- 属性属性は td タグの width 属性に設定されます。
public String toString()
toString
クラス内 CommonTagSupport
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.