|
||||||||||
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 org.dbforms.taglib.AbstractScriptHandlerTag
public abstract class AbstractScriptHandlerTag
Base class for TagSupport that render form data-elements capable of including JavaScript event handlers and/or CSS Style attributes.
the html/css releated properties and methods where originally done by Don Clasen for Apache Groups's Jakarta-Struts project.
Field Summary |
---|
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 | |
---|---|
AbstractScriptHandlerTag()
|
Method Summary | |
---|---|
void |
doCatch(Throwable t)
|
void |
doFinally()
reset tag state |
String |
getAccessKey()
Returns the accessKey character. |
DbFormsConfig |
getConfig()
DOCUMENT ME! |
String |
getOnBlur()
Returns the onBlur event handler. |
String |
getOnChange()
Returns the onChange event handler. |
String |
getOnClick()
Returns the onClick event handler. |
String |
getOnDblClick()
Returns the onDblClick event handler. |
String |
getOnFocus()
Returns the onFocus event handler. |
String |
getOnKeyDown()
Returns the onKeyDown event handler. |
String |
getOnKeyPress()
Returns the onKeyPress event handler. |
String |
getOnKeyUp()
Returns the onKeyUp event handler. |
String |
getOnMouseDown()
Returns the onMouseDown event handler. |
String |
getOnMouseMove()
Returns the onMouseMove event handler. |
String |
getOnMouseOut()
Returns the onMouseOut event handler. |
String |
getOnMouseOver()
Returns the onMouseOver event handler. |
String |
getOnMouseUp()
Returns the onMouseUp event handler. |
String |
getOnSelect()
Returns the onSelect event handler. |
String |
getStyle()
Returns the style attribute. |
String |
getStyleClass()
Returns the style class attribute. |
String |
getTabIndex()
Returns the tabIndex value. |
String |
getTitle()
Returns the title attribute. |
protected String |
prepareEventHandlers()
Prepares the event handlers for inclusion in the component's HTML tag. |
protected String |
prepareStyles()
Prepares the style attributes for inclusion in the component's HTML tag. |
void |
setAccessKey(String accessKey)
Sets the accessKey character. |
void |
setOnBlur(String onBlur)
Sets the onBlur event handler. |
void |
setOnChange(String onChange)
Sets the onChange event handler. |
void |
setOnClick(String onClick)
Sets the onClick event handler. |
void |
setOnDblClick(String onDblClick)
Sets the onDblClick event handler. |
void |
setOnFocus(String onFocus)
Sets the onFocus event handler. |
void |
setOnKeyDown(String onKeyDown)
Sets the onKeyDown event handler. |
void |
setOnKeyPress(String onKeyPress)
Sets the onKeyPress event handler. |
void |
setOnKeyUp(String onKeyUp)
Sets the onKeyUp event handler. |
void |
setOnMouseDown(String onMouseDown)
Sets the onMouseDown event handler. |
void |
setOnMouseMove(String onMouseMove)
Sets the onMouseMove event handler. |
void |
setOnMouseOut(String onMouseOut)
Sets the onMouseOut event handler. |
void |
setOnMouseOver(String onMouseOver)
Sets the onMouseOver event handler. |
void |
setOnMouseUp(String onMouseUp)
Sets the onMouseUp event handler. |
void |
setOnSelect(String onSelect)
Sets the onSelect event handler. |
void |
setStyle(String style)
Sets the style attribute. |
void |
setStyleClass(String styleClass)
Sets the style class attribute. |
void |
setTabIndex(String tabIndex)
Sets the tabIndex value. |
void |
setTitle(String title)
Sets the title attribute. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Constructor Detail |
---|
public AbstractScriptHandlerTag()
Method Detail |
---|
public void setAccessKey(String accessKey)
accessKey
- DOCUMENT ME!public String getAccessKey()
public DbFormsConfig getConfig()
public void setOnBlur(String onBlur)
onBlur
- DOCUMENT ME!public String getOnBlur()
public void setOnChange(String onChange)
onChange
- DOCUMENT ME!public String getOnChange()
public void setOnClick(String onClick)
onClick
- DOCUMENT ME!public String getOnClick()
public void setOnDblClick(String onDblClick)
onDblClick
- DOCUMENT ME!public String getOnDblClick()
public void setOnFocus(String onFocus)
onFocus
- DOCUMENT ME!public String getOnFocus()
public void setOnKeyDown(String onKeyDown)
onKeyDown
- DOCUMENT ME!public String getOnKeyDown()
public void setOnKeyPress(String onKeyPress)
onKeyPress
- DOCUMENT ME!public String getOnKeyPress()
public void setOnKeyUp(String onKeyUp)
onKeyUp
- DOCUMENT ME!public String getOnKeyUp()
public void setOnMouseDown(String onMouseDown)
onMouseDown
- DOCUMENT ME!public String getOnMouseDown()
public void setOnMouseMove(String onMouseMove)
onMouseMove
- DOCUMENT ME!public String getOnMouseMove()
public void setOnMouseOut(String onMouseOut)
onMouseOut
- DOCUMENT ME!public String getOnMouseOut()
public void setOnMouseOver(String onMouseOver)
onMouseOver
- DOCUMENT ME!public String getOnMouseOver()
public void setOnMouseUp(String onMouseUp)
onMouseUp
- DOCUMENT ME!public String getOnMouseUp()
public void setOnSelect(String onSelect)
onSelect
- DOCUMENT ME!public String getOnSelect()
public void setStyle(String style)
style
- DOCUMENT ME!public String getStyle()
public void setStyleClass(String styleClass)
styleClass
- DOCUMENT ME!public String getStyleClass()
public void setTabIndex(String tabIndex)
tabIndex
- DOCUMENT ME!public String getTabIndex()
public void setTitle(String title)
title
- DOCUMENT ME!public String getTitle()
public void doFinally()
TryCatchFinally.doFinally()
public void doCatch(Throwable t) throws Throwable
Throwable
TryCatchFinally.doCatch(java.lang.Throwable)
protected String prepareEventHandlers()
protected String prepareStyles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |