|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
pt.moredata.taglibs.widgets.ToolBarTag
pt.moredata.dataentry.taglibs.ToolBarTag
Implementacao de uma tag para mostrar uma barra de navegacao para controlar o DataEntry. Company MoreData
| Field Summary |
| Fields inherited from class pt.moredata.taglibs.widgets.ToolBarTag |
_buttonList, results |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface pt.moredata.widgets.SimpleToolBar |
CANCEL_BUTTON, DELETE_BUTTON, EXECUTEQUERY_BUTTON, EXIT_BUTTON, EXPORT_BUTTON, FIRST_BUTTON, LAST_BUTTON, NEW_BUTTON, NEXT_BUTTON, PREVIOUS_BUTTON, PRINT_BUTTON, QUERY_BUTTON, SAVE_ALL_BUTTON, SAVE_BUTTON |
| 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 | |
ToolBarTag()
|
|
| Method Summary | |
void |
addButton(JspButton button)
Adiciona um botao a toolbar. |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
int |
doStartTag()
|
void |
hideButton(java.lang.String name)
Setter for property hideButton. |
protected void |
printButton(JspButton button)
Imprime o codigo correspondente a um botao caso ele nao esteja escondido. |
protected void |
printToolBar()
Imprime o codigo da toolBar em HTML. |
void |
setDataEntryId(java.lang.String dataEntryId)
Setter for property dataEntryId. |
void |
setHideAllButtons(java.lang.String hideAllButtons)
Setter for property hideAllButtons. |
void |
showButton(java.lang.String name)
Setter for property hideButton. |
| Methods inherited from class pt.moredata.taglibs.widgets.ToolBarTag |
doCatch, doEndTag, getButton, getButton, getButtonIndex, getButtonsCount, isEnabled, setBgcolor, setButton, setHeight, setWidth |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, 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.TryCatchFinally |
doCatch |
| Constructor Detail |
public ToolBarTag()
| Method Detail |
protected void printButton(JspButton button)
printButton in class ToolBarTagprotected void printToolBar()
printToolBar in class ToolBarTagpublic void addButton(JspButton button)
addButton in class ToolBarTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class ToolBarTagjavax.servlet.jsp.JspTagExceptionpublic void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallydoFinally in class ToolBarTagpublic void hideButton(java.lang.String name)
public void showButton(java.lang.String name)
public void setDataEntryId(java.lang.String dataEntryId)
dataEntryId - New value of property dataEntryId.public void setHideAllButtons(java.lang.String hideAllButtons)
hideAllButtons - New value of property hideAllButtons.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||