it.eng.spagobi.qbe.commons.presentation.tag
Class ButtonTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by it.eng.spagobi.qbe.commons.presentation.tag.BaseTagSupport
              extended by it.eng.spagobi.qbe.commons.presentation.tag.QbeTagSupport
                  extended by it.eng.spagobi.qbe.commons.presentation.tag.ButtonTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ButtonTag
extends QbeTagSupport

The Class ButtonTag.

Author:
Andrea Gioia
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
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
ButtonTag()
           
 
Method Summary
 void addParameter(java.lang.String name, java.lang.String value)
          Adds the parameter.
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getId()
           
 java.lang.String getImage()
          Gets the image.
 java.lang.String getName()
          Gets the name.
 java.util.Map getParameters()
          Gets the parameters.
 java.util.List getPNames()
          Gets the p names.
 java.lang.String getTooltip()
          Gets the tooltip.
 java.lang.String getType()
          Gets the type.
 void setId(java.lang.String id)
           
 void setImage(java.lang.String image)
          Sets the image.
 void setName(java.lang.String name)
          Sets the name.
 void setParameters(java.util.Map parameters)
          Sets the parameters.
 void setPNames(java.util.List names)
          Sets the p names.
 void setTooltip(java.lang.String tooltip)
          Sets the tooltip.
 void setType(java.lang.String type)
          Sets the type.
 
Methods inherited from class it.eng.spagobi.qbe.commons.presentation.tag.QbeTagSupport
getActionUrl, getContextManager, getDatamartModel, getDatamartWizard, getEngineInstance, getLocale, getQbeUrlGenerator, getQuery, getResourceUrl, isStandaloneModality, isWebModality
 
Methods inherited from class it.eng.spagobi.qbe.commons.presentation.tag.BaseTagSupport
getRequest, getRequestContainer, getResponseContainer, getSessionContainer
 
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, getParent, getValue, getValues, removeValue, 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

ButtonTag

public ButtonTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

addParameter

public void addParameter(java.lang.String name,
                         java.lang.String value)
Adds the parameter.

Parameters:
name - the name
value - the value

getId

public java.lang.String getId()
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

setId

public void setId(java.lang.String id)
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getType

public java.lang.String getType()
Gets the type.

Returns:
the type

setType

public void setType(java.lang.String type)
Sets the type.

Parameters:
type - the new type

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name

getTooltip

public java.lang.String getTooltip()
Gets the tooltip.

Returns:
the tooltip

setTooltip

public void setTooltip(java.lang.String tooltip)
Sets the tooltip.

Parameters:
tooltip - the new tooltip

getImage

public java.lang.String getImage()
Gets the image.

Returns:
the image

setImage

public void setImage(java.lang.String image)
Sets the image.

Parameters:
image - the new image

getParameters

public java.util.Map getParameters()
Gets the parameters.

Returns:
the parameters

setParameters

public void setParameters(java.util.Map parameters)
Sets the parameters.

Parameters:
parameters - the new parameters

getPNames

public java.util.List getPNames()
Gets the p names.

Returns:
the p names

setPNames

public void setPNames(java.util.List names)
Sets the p names.

Parameters:
names - the new p names