Class ImageSelectorTag

java.lang.Object
com.liferay.taglib.TagSupport
com.liferay.taglib.BaseBodyTagSupport
com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
com.liferay.taglib.util.AttributesTagSupport
com.liferay.taglib.util.IncludeTag
com.liferay.item.selector.taglib.servlet.taglib.ImageSelectorTag
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

public class ImageSelectorTag extends com.liferay.taglib.util.IncludeTag
  • 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
     
    Deprecated.
    As of Cavanaugh (7.4.x), replaced by getImageCropDirection()
    long
     
     
     
     
    long
     
    protected String
     
     
     
     
    boolean
     
    protected void
    setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest)
     
    void
    setDraggableImage(String draggableImage)
    Deprecated.
    As of Cavanaugh (7.4.x), replaced by #setImageCropDirection()
    void
    setFileEntryId(long fileEntryId)
     
    void
    setImageCropDirection(String imageCropDirection)
     
    void
    setItemSelectorEventName(String itemSelectorEventName)
     
    void
    setItemSelectorURL(String itemSelectorURL)
     
    void
    setMaxFileSize(long maxFileSize)
     
    void
    setPageContext(javax.servlet.jsp.PageContext pageContext)
     
    void
    setParamName(String paramName)
     
    void
    setUploadURL(String uploadURL)
     
    void
    setValidExtensions(String validExtensions)
     

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

    callSetAttributes, cleanUpSetAttributes, doClearTag, doEndTag, doInclude, doIncludeTheme, getBodyContentWrapper, getCustomPage, getEndPage, getOriginalServletRequest, getStartPage, include, includePage, isCleanUpSetAttributes, isPortalPage, isUseCustomPage, logUnavailablePage, processEndTag, processStartTag, runTag, setPage, setPortletId, setStrict, setUseCustomPage, themeResourceExists

    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

    • ImageSelectorTag

      public ImageSelectorTag()
  • Method Details

    • doStartTag

      public int doStartTag() throws javax.servlet.jsp.JspException
      Specified by:
      doStartTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class com.liferay.taglib.util.IncludeTag
      Throws:
      javax.servlet.jsp.JspException
    • getDraggableImage

      @Deprecated public String getDraggableImage()
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getImageCropDirection()
    • getFileEntryId

      public long getFileEntryId()
    • getImageCropDirection

      public String getImageCropDirection()
    • getItemSelectorEventName

      public String getItemSelectorEventName()
    • getItemSelectorURL

      public String getItemSelectorURL()
    • getMaxFileSize

      public long getMaxFileSize()
    • getParamName

      public String getParamName()
    • getUploadURL

      public String getUploadURL()
    • getValidExtensions

      public String getValidExtensions()
    • isDraggable

      public boolean isDraggable()
    • setDraggableImage

      @Deprecated public void setDraggableImage(String draggableImage)
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by #setImageCropDirection()
    • setFileEntryId

      public void setFileEntryId(long fileEntryId)
    • setImageCropDirection

      public void setImageCropDirection(String imageCropDirection)
    • setItemSelectorEventName

      public void setItemSelectorEventName(String itemSelectorEventName)
    • setItemSelectorURL

      public void setItemSelectorURL(String itemSelectorURL)
    • setMaxFileSize

      public void setMaxFileSize(long maxFileSize)
    • setPageContext

      public void setPageContext(javax.servlet.jsp.PageContext pageContext)
      Specified by:
      setPageContext in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      setPageContext in class com.liferay.taglib.util.ParamAndPropertyAncestorTagImpl
    • setParamName

      public void setParamName(String paramName)
    • setUploadURL

      public void setUploadURL(String uploadURL)
    • setValidExtensions

      public void setValidExtensions(String validExtensions)
    • cleanUp

      protected void cleanUp()
      Overrides:
      cleanUp in class com.liferay.taglib.util.IncludeTag
    • getPage

      protected String getPage()
      Overrides:
      getPage in class com.liferay.taglib.util.IncludeTag
    • setAttributes

      protected void setAttributes(javax.servlet.http.HttpServletRequest httpServletRequest)
      Overrides:
      setAttributes in class com.liferay.taglib.util.IncludeTag