|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport com.cc.framework.taglib.ScriptBodyTagSupport com.cc.framework.taglib.controls.ColumnBaseTag com.cc.framework.taglib.controls.ColumnBaseBodyTag
Base Tag-Handler for columns with body tag support
Field Summary | |
private LineIterator |
iterator
Object to iterate over the Elements of the current page |
private java.lang.Object |
rowbean
The current row bean |
private int |
rowcount
Number of elements on the current page |
private boolean |
roweditable
Indicates if the current row is editable |
private int |
rowindex
The index of the current row |
private java.lang.String |
rowkey
Key of the current row bean |
private java.lang.Object |
rowproperty
The column property of the current row |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.taglib.controls.ColumnBaseTag |
|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
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 |
Constructor Summary | |
ColumnBaseBodyTag()
Constructor |
Method Summary | |
int |
doAfterBody()
|
int |
doEndTag()
|
int |
doStartTag()
|
java.lang.Object |
getCurrent()
Returns the current iteration element |
java.lang.String |
getCurrentKey()
Returns the key of the current iteration element |
java.lang.Object |
getCurrentProperty()
Returns the column property of the current iteration element |
boolean |
isCurrentEditable()
Checks if the current row is editable |
protected boolean |
isEditable(LineIterator iter)
Checks if the column or cell is editable or not |
void |
release()
|
protected int |
selectNext()
This method selects the next element of the iteration |
Methods inherited from class com.cc.framework.taglib.controls.ColumnBaseTag |
addDesignRule, assignConverter, doCreateDesignModel, getClientHandler, getContainer, getDesignModel, releaseDesignModel, setAjax, setAjax, setAlign, setAnchor, setAnchorProperty, setConverter, setDisabled, setDisableProperty, setEditable, setEditableProperty, setEnableProperty, setFilter, setImagemap, setImageProperty, setJoin, setLinkName, setLinkNameProperty, setMaxlength, setPageContext, setPermission, setProperty, setRunat, setSortable, setStyle, setStyleClass, setStyleId, setTarget, setTargetProperty, setTitle, setTooltip, setTooltipProperty, setTransaction, setType, setWidth |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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.Tag |
getParent, setParent |
Field Detail |
private static final long serialVersionUID
private LineIterator iterator
private int rowcount
private int rowindex
private java.lang.String rowkey
private java.lang.Object rowbean
private boolean roweditable
private java.lang.Object rowproperty
Constructor Detail |
public ColumnBaseBodyTag()
Method Detail |
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class ColumnBaseTag
Tag.release()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class ColumnBaseTag
javax.servlet.jsp.JspException
Tag.doStartTag()
public int doAfterBody() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
IterationTag.doAfterBody()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class ColumnBaseTag
javax.servlet.jsp.JspException
Tag.doEndTag()
public java.lang.String getCurrentKey()
public java.lang.Object getCurrentProperty()
public java.lang.Object getCurrent()
public boolean isCurrentEditable()
true
if the row is
editableprotected boolean isEditable(LineIterator iter)
iter
- the iterator with the current row bean
true
if the cell is
editableprotected int selectNext()
EVAL_BODY_BUFFERED
when there was a valid iteration element
and SKIP_BODY
otherwise
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |