|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleTagSupport
AbstractSimpleTag
DataGrid
public class DataGrid
Constructor Summary | |
---|---|
DataGrid()
|
Method Summary | |
---|---|
void |
doTag()
|
int |
getCurrentIndex()
Get the current index in this iteration. |
Object |
getCurrentItem()
Get the current data item in this IDataAccessProvider. |
Object |
getCurrentMetadata()
Get a metadata object for the current item. |
String |
getDataSource()
Get the expression that references the data item to which the IDataAccessProvider is bound. |
IDataAccessProvider |
getProviderParent()
Get the parent IDataAccessProvider of a DataAccessProvider. |
String |
getTagName()
Return the name of the tag. |
void |
setBehavior(String name,
String value,
String facet)
Set a behavior value on the implementing class. |
void |
setDataGridConfig(DataGridConfig dataGridConfig)
|
void |
setDataSource(String dataSource)
|
void |
setName(String name)
|
void |
setRenderRowGroups(boolean renderRowGroups)
|
void |
setResourceBundlePath(String resourceBundlePath)
|
void |
setStyleClassPolicy(String stylePolicy)
|
void |
setStyleClassPrefix(String styleClassPrefix)
|
Methods inherited from class AbstractSimpleTag |
---|
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write |
Methods inherited from class SimpleTagSupport |
---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataGrid()
Method Detail |
---|
public String getTagName()
AbstractSimpleTag
getTagName
in interface INetuiTag
getTagName
in class AbstractSimpleTag
public void setDataGridConfig(DataGridConfig dataGridConfig)
public void setName(String name)
public void setDataSource(String dataSource)
public void setStyleClassPrefix(String styleClassPrefix)
public void setResourceBundlePath(String resourceBundlePath)
public void setStyleClassPolicy(String stylePolicy)
public void setRenderRowGroups(boolean renderRowGroups)
public void setBehavior(String name, String value, String facet) throws JspException
IBehaviorConsumer
name
represents
the name of the behavior. The value
represents the value.
The facet
is optional and may be used by complex types to
target the behavior.
setBehavior
in interface IBehaviorConsumer
name
- value
- facet
-
JspException
public void doTag() throws JspException, IOException
doTag
in interface SimpleTag
doTag
in class SimpleTagSupport
JspException
IOException
public int getCurrentIndex()
IDataAccessProvider
getCurrentIndex
in interface IDataAccessProvider
public Object getCurrentItem()
IDataAccessProvider
getCurrentItem
in interface IDataAccessProvider
null
public Object getCurrentMetadata()
IDataAccessProvider
getCurrentMetadata
in interface IDataAccessProvider
null
if no metadata can be
found or metadata is not supported by a IDataAccessProvider implementationpublic String getDataSource()
IDataAccessProvider
getDataSource
in interface IDataAccessProvider
null
if no
dataSource is setpublic IDataAccessProvider getProviderParent()
IDataAccessProvider
null
.
getProviderParent
in interface IDataAccessProvider
null
if this method
is not supported or the parent can not be found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |