|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport mx.com.brained.taglib.GridElement
public class GridElement
Field Summary | |
---|---|
protected java.lang.String |
bundle
|
protected java.lang.String |
locale
|
protected java.lang.String |
name
|
protected java.lang.String |
property
|
protected java.lang.String |
title
|
protected java.lang.String |
type
|
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 |
Constructor Summary | |
---|---|
GridElement()
|
Method Summary | |
---|---|
int |
doStartTag()
This method renders the grid element based on the properties set |
java.lang.String |
getBundle()
Return the bundle to which the key belongs to |
java.lang.String |
getLocale()
Return the locale that was set |
java.lang.String |
getName()
Returns the name of the bean containing the value to be rendered |
java.lang.String |
getProperty()
Return the property of the bean rendered as a combobox |
java.lang.String |
getTitle()
Return the resource bundle key to be rendered as the header |
java.lang.String |
getType()
Get the type of element to be rendered |
void |
release()
Reset the properties to be reused |
void |
setBundle(java.lang.String bundle)
Set the bundle to which the key belongs to |
void |
setLocale(java.lang.String locale)
Set the locale to be rendered |
void |
setName(java.lang.String name)
Set the name of the bean containing the value to be rendered |
void |
setProperty(java.lang.String property)
Set the property of the bean rendered as a grid element |
void |
setTitle(java.lang.String title)
Set the resource bundle key to be rendered as the header |
void |
setType(java.lang.String type)
Sets the type of element to be rendered, must be one of the following: readonly editable date |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String property
protected java.lang.String title
protected java.lang.String type
protected java.lang.String bundle
protected java.lang.String locale
Constructor Detail |
---|
public GridElement()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public void setName(java.lang.String name)
name
- Stringpublic void setProperty(java.lang.String property)
property
- Stringpublic void setTitle(java.lang.String title)
title
- Stringpublic void setType(java.lang.String type)
type
- Stringpublic void setLocale(java.lang.String locale)
locale
- Stringpublic void setBundle(java.lang.String bundle)
bundle
- Stringpublic java.lang.String getName()
public java.lang.String getProperty()
public java.lang.String getTitle()
public java.lang.String getType()
public java.lang.String getLocale()
public java.lang.String getBundle()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |