Class DropdownMenuTag

java.lang.Object
com.liferay.taglib.TagSupport
com.liferay.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.AttributesTagSupport
com.liferay.frontend.taglib.clay.internal.servlet.taglib.BaseContainerTag
com.liferay.frontend.taglib.clay.servlet.taglib.ButtonTag
com.liferay.frontend.taglib.clay.servlet.taglib.DropdownMenuTag
All Implemented Interfaces:
com.liferay.taglib.DirectTag, com.liferay.taglib.util.ParamAncestorTag, com.liferay.taglib.util.PropertyAncestorTag, javax.servlet.jsp.tagext.DynamicAttributes, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
DropdownActionsTag

public class DropdownMenuTag extends ButtonTag
  • Field Summary

    Fields inherited from class com.liferay.taglib.BaseBodyTagSupport

    bodyContent

    Fields inherited from class com.liferay.taglib.TagSupport

    pageContext

    Fields inherited from interface javax.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    int
     
    int
     
     
    protected String
     
     
    protected Map<String,Object>
     
    void
     
    void
     

    Methods inherited from class com.liferay.frontend.taglib.clay.internal.servlet.taglib.BaseContainerTag

    doClearTag, getAdditionalProps, getClassName, getComponentId, getContainerElement, getContributorKey, getCssClass, getData, getDefaultEventHandler, getElementClasses, getHydratedContainerElement, getId, getNamespace, getPropsTransformer, getPropsTransformerServletContext, processBodyCssClasses, processData, processEndBodyTag, processEndTag, processStartBodyTag, setAdditionalProps, setClassName, setComponentId, setContainerElement, setContributorKey, setCssClass, setData, setDefaultEventHandler, setElementClasses, setHydratedContainerElement, setId, setNamespace, setPageContext, setPropsTransformer, setPropsTransformerServletContext, writeBodyCssClassAttribute, writeCssClassAttribute, writeDynamicAttributes, writeIdAttribute

    Methods inherited from class com.liferay.taglib.util.AttributesTagSupport

    clearDynamicAttributes, getAttributeNamespace, getDynamicAttributes, release, setAttributeNamespace, setDynamicAttribute, setNamespacedAttribute

    Methods inherited from class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl

    addParam, addProperty, clearParams, clearProperties, getParams, getProperties, getRemovedParameterNames, getRequest, getServletContext, isAllowEmptyParam, setAllowEmptyParam, setCopyCurrentRenderParameters, setServletContext

    Methods inherited from class com.liferay.taglib.BaseBodyTagSupport

    doAfterBody, doInitBody, getBodyContent, getBodyContentAsStringBundler, setBodyContent, writeBodyContent

    Methods inherited from class com.liferay.taglib.TagSupport

    findAncestorWithClass, getParent, setParent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.taglib.DirectTag

    doBodyTag, doBodyTag, doBodyTagAsString, doBodyTagAsString, doTag, doTag, doTagAsString, doTagAsString
  • Constructor Details

    • DropdownMenuTag

      public DropdownMenuTag()
  • Method Details

    • doEndTag

      public int doEndTag() throws javax.servlet.jsp.JspException
      Specified by:
      doEndTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class com.liferay.frontend.taglib.clay.internal.servlet.taglib.BaseContainerTag
      Throws:
      javax.servlet.jsp.JspException
    • doStartTag

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

      public List<DropdownItem> getDropdownItems()
    • getMenuProps

      public Map<String,String> getMenuProps()
    • setDropdownItems

      public void setDropdownItems(List<DropdownItem> dropdownItems)
    • setMenuProps

      public void setMenuProps(Map<String,String> menuProps)
    • cleanUp

      protected void cleanUp()
      Overrides:
      cleanUp in class ButtonTag
    • getHydratedModuleName

      protected String getHydratedModuleName()
      Overrides:
      getHydratedModuleName in class ButtonTag
    • prepareProps

      protected Map<String,Object> prepareProps(Map<String,Object> props)
      Overrides:
      prepareProps in class ButtonTag