Liferay 6.2-ce-ga5

com.liferay.taglib.ui
Class ToggleTag

java.lang.Object
  extended by com.liferay.portal.kernel.servlet.taglib.TagSupport
      extended by com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
          extended by com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
              extended by com.liferay.taglib.util.AttributesTagSupport
                  extended by com.liferay.taglib.util.IncludeTag
                      extended by com.liferay.taglib.ui.ToggleTag
All Implemented Interfaces:
ParamAncestorTag, PropertyAncestorTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ToggleTag
extends IncludeTag


Field Summary
 
Fields inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
request, servletContext
 
Fields inherited from class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
bodyContent
 
Fields inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ToggleTag()
           
 
Method Summary
 int doEndTag()
           
static void doTag(String id, String showImage, String hideImage, String showMessage, String hideMessage, boolean defaultShowContent, String stateVar, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static void doTag(String page, String id, String showImage, String hideImage, String showMessage, String hideMessage, boolean defaultShowContent, String stateVar, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  String getPage()
           
 void setDefaultShowContent(boolean defaultShowContent)
           
 void setHideImage(String hideImage)
           
 void setHideMessage(String hideMessage)
           
 void setId(String id)
           
 void setShowImage(String showImage)
           
 void setShowMessage(String showMessage)
           
 void setStateVar(String stateVar)
           
 
Methods inherited from class com.liferay.taglib.util.IncludeTag
callSetAttributes, cleanUp, cleanUpSetAttributes, doInclude, doIncludeTheme, doStartTag, getCustomPage, getEndPage, getOriginalServletRequest, getStartPage, include, isCleanUpSetAttributes, isUseCustomPage, processEndTag, processStartTag, runTag, setAttributes, setPage, setPortletId, setStrict, setUseCustomPage, themeResourceExists
 
Methods inherited from class com.liferay.taglib.util.AttributesTagSupport
clearDynamicAttributes, getAttributeNamespace, getDynamicAttributes, getScopedAttributes, release, setAttributeNamespace, setDynamicAttribute, setNamespacedAttribute, setScopedAttribute
 
Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getRemovedParameterNames, isAllowEmptyParam, setAllowEmptyParam, setPageContext, setServletContext
 
Methods inherited from class com.liferay.portal.kernel.servlet.taglib.BaseBodyTagSupport
doAfterBody, doInitBody, getBodyContent, getBodyContentAsStringBundler, setBodyContent, writeBodyContent
 
Methods inherited from class com.liferay.portal.kernel.servlet.taglib.TagSupport
findAncestorWithClass, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleTag

public ToggleTag()
Method Detail

doTag

public static void doTag(String id,
                         String showImage,
                         String hideImage,
                         String showMessage,
                         String hideMessage,
                         boolean defaultShowContent,
                         String stateVar,
                         javax.servlet.ServletContext servletContext,
                         javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws Exception
Throws:
Exception

doTag

public static void doTag(String page,
                         String id,
                         String showImage,
                         String hideImage,
                         String showMessage,
                         String hideMessage,
                         boolean defaultShowContent,
                         String stateVar,
                         javax.servlet.ServletContext servletContext,
                         javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws Exception
Throws:
Exception

doEndTag

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

setDefaultShowContent

public void setDefaultShowContent(boolean defaultShowContent)

setHideImage

public void setHideImage(String hideImage)

setHideMessage

public void setHideMessage(String hideMessage)

setId

public void setId(String id)

setShowImage

public void setShowImage(String showImage)

setShowMessage

public void setShowMessage(String showMessage)

setStateVar

public void setStateVar(String stateVar)

getPage

protected String getPage()
Overrides:
getPage in class IncludeTag

Liferay 6.2-ce-ga5