|
||||||||||
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 org.dbforms.taglib.AbstractDbBaseHandlerTag org.dbforms.taglib.AbstractDbBaseButtonTag
public abstract class AbstractDbBaseButtonTag
abstract base class for buttons supports 3 types of Buttons: #fixme - docu
Field Summary | |
---|---|
protected static int |
FLAVOR_IMAGE
DOCUMENT ME! |
protected static int |
FLAVOR_MODERN
DOCUMENT ME! |
protected static int |
FLAVOR_STANDARD
DOCUMENT ME! |
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 | |
---|---|
AbstractDbBaseButtonTag()
|
Method Summary | |
---|---|
int |
doEndTag()
DOCUMENT ME! |
void |
doFinally()
DOCUMENT ME! |
int |
doStartTag()
DOCUMENT ME! |
String |
getAlt()
DOCUMENT ME! |
String |
getBorder()
Gets the border |
protected String |
getButtonBegin()
returns beginnings of tags with attributes defining type/value/[src/alt - if image] |
protected String |
getButtonEnd()
returns beginnings of tags with attributes defining type/value/[src/alt - if image] |
String |
getCaption()
DOCUMENT ME! |
int |
getChoosenFlavor()
DOCUMENT ME! |
protected String |
getDataTag(String primaryTagName,
String dataKey,
String dataValue)
renders tag containing additional information about that button: ie followUp, associatedRadio, etc. |
String |
getDisabledBehaviour()
DOCUMENT ME! |
protected String |
getDisabledImage()
DOCUMENT ME! |
String |
getDisabledImageAlt()
DOCUMENT ME! |
String |
getDisabledImageHeight()
DOCUMENT ME! |
String |
getDisabledImageSrc()
DOCUMENT ME! |
String |
getDisabledImageWidth()
DOCUMENT ME! |
String |
getFollowUp()
DOCUMENT ME! |
String |
getFollowUpOnError()
Gets the followUpOnError |
String |
getSrc()
DOCUMENT ME! |
Table |
getTable()
DOCUMENT ME! |
protected static int |
getUniqueID()
DOCUMENT ME! |
protected String |
JsValidation()
returns the JavaScript validation flags. |
protected String |
prepareStyles()
Prepares the style attributes for inclusion in the component's HTML tag. |
void |
setAlt(String src)
DOCUMENT ME! |
void |
setBorder(String border)
Sets the border |
void |
setCaption(String caption)
DOCUMENT ME! |
void |
setDisabledBehaviour(String disabledBehaviour)
DOCUMENT ME! |
void |
setDisabledImageAlt(String disabledImageAlt)
DOCUMENT ME! |
void |
setDisabledImageHeight(String disabledImageHeight)
DOCUMENT ME! |
void |
setDisabledImageSrc(String disabledImageSrc)
DOCUMENT ME! |
void |
setDisabledImageWidth(String disabledImageWidth)
DOCUMENT ME! |
void |
setFlavor(String flavor)
DOCUMENT ME! |
void |
setFollowUp(String followUp)
DOCUMENT ME! |
void |
setFollowUpOnError(String followUpOnError)
Sets the followUpOnError |
void |
setParent(javax.servlet.jsp.tagext.Tag parent)
DOCUMENT ME! |
void |
setSrc(String src)
DOCUMENT ME! |
Methods inherited from class org.dbforms.taglib.AbstractScriptHandlerTag |
---|
doCatch, getAccessKey, getConfig, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getTabIndex, getTitle, prepareEventHandlers, setAccessKey, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyleClass, setTabIndex, setTitle |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, 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 |
Field Detail |
---|
protected static final int FLAVOR_STANDARD
protected static final int FLAVOR_IMAGE
protected static final int FLAVOR_MODERN
Constructor Detail |
---|
public AbstractDbBaseButtonTag()
Method Detail |
---|
public void setAlt(String src)
src
- DOCUMENT ME!public String getAlt()
public void setBorder(String border)
border
- The border to setpublic String getBorder()
public void setCaption(String caption)
caption
- DOCUMENT ME!public String getCaption()
public int getChoosenFlavor()
public void setDisabledBehaviour(String disabledBehaviour)
disabledBehaviour
- -
possible values: "nohtml", "altimage", "disabled"public String getDisabledBehaviour()
public void setDisabledImageAlt(String disabledImageAlt)
disabledImageAlt
- -
alternative image if button is disabled and flavor 'image'public String getDisabledImageAlt()
public void setDisabledImageHeight(String disabledImageHeight)
disabledImageHeight
- -
the height of disabledImageSrcpublic String getDisabledImageHeight()
public void setDisabledImageSrc(String disabledImageSrc)
disabledImageSrc
- -
alternative image alt text if button is disabled and flavor
'image'public String getDisabledImageSrc()
public void setDisabledImageWidth(String disabledImageWidth)
disabledImageWidth
- -
the width of disabledImageSrcpublic String getDisabledImageWidth()
public void setFlavor(String flavor)
flavor
- DOCUMENT ME!public void setFollowUp(String followUp)
followUp
- DOCUMENT ME!public String getFollowUp()
public void setFollowUpOnError(String followUpOnError)
followUpOnError
- The followUpOnError to setpublic String getFollowUpOnError()
public void setParent(javax.servlet.jsp.tagext.Tag parent)
setParent
in interface javax.servlet.jsp.tagext.Tag
setParent
in class AbstractDbBaseHandlerTag
parent
- DOCUMENT ME!public void setSrc(String src)
src
- DOCUMENT ME!public String getSrc()
public Table getTable()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- DOCUMENT ME!
javax.servlet.jsp.JspException
- DOCUMENT ME!public void doFinally()
doFinally
in class AbstractDbBaseHandlerTag
TryCatchFinally.doFinally()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
- DOCUMENT ME!protected static int getUniqueID()
protected String getButtonBegin()
protected String getButtonEnd()
protected String getDataTag(String primaryTagName, String dataKey, String dataValue)
primaryTagName
- DOCUMENT ME!dataKey
- DOCUMENT ME!dataValue
- DOCUMENT ME!
protected String getDisabledImage()
protected String JsValidation()
protected String prepareStyles()
prepareStyles
in class AbstractScriptHandlerTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |