com.ideo.sweetdevria.taglib.tabLayout
Class TabLayoutTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.ideo.sweetdevria.taglib.AbstractTagDrawer
com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
com.ideo.sweetdevria.taglib.BaseTagSupport
com.ideo.sweetdevria.taglib.BaseStateTagSupport
com.ideo.sweetdevria.taglib.tabLayout.TabLayoutTag
- All Implemented Interfaces:
- Hideable, IRiaTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class TabLayoutTag
- extends BaseStateTagSupport
- implements IRiaTag, Hideable
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.BodyTag |
doInitBody, setBodyContent |
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag |
doAfterBody |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
BUILDER_ID
protected static final java.lang.String BUILDER_ID
- Builder ID.
- See Also:
- Constant Field Values
orientation
protected java.lang.String orientation
headerSize
protected java.lang.String headerSize
width
protected java.lang.String width
height
protected java.lang.String height
model
protected TabLayoutModel model
selectedId
protected java.lang.String selectedId
tabModels
protected java.util.List tabModels
ORIENTATION_TOP
public static final java.lang.String ORIENTATION_TOP
- See Also:
- Constant Field Values
ORIENTATION_BOTTOM
public static final java.lang.String ORIENTATION_BOTTOM
- See Also:
- Constant Field Values
ORIENTATION_LEFT
public static final java.lang.String ORIENTATION_LEFT
- See Also:
- Constant Field Values
ORIENTATION_RIGHT
public static final java.lang.String ORIENTATION_RIGHT
- See Also:
- Constant Field Values
TabLayoutTag
public TabLayoutTag()
- Default constructor.
release
public void release()
- Description copied from interface:
IRiaTag
- Release method which must call super.release !
- Specified by:
release
in interface IRiaTag
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class BaseStateTagSupport
- See Also:
IRiaTag.release()
getBuilderId
public java.lang.String getBuilderId()
- Description copied from interface:
IRiaTag
- Return the targeted builder id for this component as specified in the configuration file.
- Specified by:
getBuilderId
in interface IRiaTag
- Specified by:
getBuilderId
in class AbstractTagDrawer
- Returns:
- id targeted builder id
- See Also:
AbstractTagDrawer.getBuilderId()
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Description copied from interface:
IRiaTag
- Default processing of the start tag.
- Specified by:
doStartTag
in interface IRiaTag
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class AbstractComponentTagSupport
- Returns:
- EVAL_BODY_AGAIN, EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY or SKIP_PAGE.
- Throws:
javax.servlet.jsp.JspException
- See Also:
IRiaTag.doStartTag()
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Description copied from interface:
IRiaTag
- Default processing of the end tag returning EVAL_PAGE.
- Specified by:
doEndTag
in interface IRiaTag
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class AbstractComponentTagSupport
- Returns:
- EVAL_PAGE or SKIP_PAGE.
- Throws:
javax.servlet.jsp.JspException
- See Also:
IRiaTag.doEndTag()
getOrientation
public java.lang.String getOrientation()
setOrientation
public void setOrientation(java.lang.String orientation)
getHeaderSize
public java.lang.String getHeaderSize()
setHeaderSize
public void setHeaderSize(java.lang.String headerSize)
getWidth
public java.lang.String getWidth()
setWidth
public void setWidth(java.lang.String width)
getHeight
public java.lang.String getHeight()
setHeight
public void setHeight(java.lang.String height)
getSelectedId
public java.lang.String getSelectedId()
setSelectedId
public void setSelectedId(java.lang.String selectedId)
getModel
public TabLayoutModel getModel()
- Returns:
- the model associated for this tag
setModel
public void setModel(TabLayoutModel model)
getTabModels
public java.util.List getTabModels()
- Returns:
- the tag contents added through a list
setTabModels
public void setTabModels(java.util.List tabContents)
isSelectOnLoad
public boolean isSelectOnLoad()
setSelectOnLoad
public void setSelectOnLoad(boolean selectOnLoad)
getAdjustedWidth
public java.lang.String getAdjustedWidth()
Copyright © 2010 Ideo Technologies. All Rights Reserved.