com.ideo.sweetdevria.taglib.menu
Class MenuItemTag
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.menu.MenuItemTag
- All Implemented Interfaces:
- Hideable, IRiaTag, MenuTagsInterface, 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 MenuItemTag
- extends BaseTagSupport
- implements IRiaTag, Hideable, MenuTagsInterface
- 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
- See Also:
- Constant Field Values
label
protected java.lang.String label
onclick
protected java.lang.String onclick
checkbox
protected java.lang.Boolean checkbox
checked
protected java.lang.Boolean checked
disabled
protected java.lang.Boolean disabled
oncheck
protected java.lang.String oncheck
onuncheck
protected java.lang.String onuncheck
image
protected java.lang.String image
model
protected MenuItemModel model
MenuItemTag
public MenuItemTag()
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:
IRiaTag.getBuilderId()
getPageContext
public javax.servlet.jsp.PageContext getPageContext()
- Description copied from interface:
IRiaTag
- Return the Page Context.
- Specified by:
getPageContext in interface IRiaTag- Overrides:
getPageContext in class AbstractTagDrawer
- Returns:
- Page context.
- See Also:
IRiaTag.getPageContext()
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 BaseTagSupport
- See Also:
AbstractComponentTagSupport.release()
isCheckbox
public java.lang.Boolean isCheckbox()
setCheckbox
public void setCheckbox(java.lang.Boolean checkbox)
isDisabled
public java.lang.Boolean isDisabled()
setDisabled
public void setDisabled(java.lang.Boolean disabled)
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
getOncheck
public java.lang.String getOncheck()
setOncheck
public void setOncheck(java.lang.String oncheck)
getOnclick
public java.lang.String getOnclick()
setOnclick
public void setOnclick(java.lang.String onclick)
getOnuncheck
public java.lang.String getOnuncheck()
setOnuncheck
public void setOnuncheck(java.lang.String onuncheck)
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()
addItem
public void addItem(MenuItemModel item)
- Specified by:
addItem in interface MenuTagsInterface
getCheckbox
public java.lang.Boolean getCheckbox()
getDisabled
public java.lang.Boolean getDisabled()
getChecked
public java.lang.Boolean getChecked()
setChecked
public void setChecked(java.lang.Boolean checked)
getImage
public java.lang.String getImage()
setImage
public void setImage(java.lang.String image)
Copyright © 2010 Ideo Technologies. All Rights Reserved.