Class FolderSmallIconTransform

    • Field Detail

      • objectClickJS

        public FormalParameter objectClickJS
        Formal parameter: The javascript function to execute when you click on a folder's subitem
        Since:
        MicroStrategy Web 8.0.1
      • folderJS

        public FormalParameter folderJS
        Formal parameter: The javascript function to execute when you click on the folder links
        Since:
        MicroStrategy Web 8.0.2
      • FP_OBJECT_CLICK_JS

        public static final java.lang.String FP_OBJECT_CLICK_JS
        Name for the formal parameter: objectClickJS
        Since:
        MicroStrategy Web 8.0.1
        See Also:
        Constant Field Values
      • FP_FOLDER_JS

        public static final java.lang.String FP_FOLDER_JS
        Name for the formal parameter: folderJS
        Since:
        MicroStrategy Web 8.0.2
        See Also:
        Constant Field Values
    • Constructor Detail

      • FolderSmallIconTransform

        public FolderSmallIconTransform()
        Default no-argument constructor. Initializes formal parameters.
    • Method Detail

      • getObjectAttributes

        public java.util.Map getObjectAttributes​(WebObjectInfo object)
        Returns a Map object containing the attributes the object's main container will have
        Parameters:
        object - WebObjectInfo to be rendered.
        Returns:
        Map
        Since:
        MicroStrategy Web 8.0.1
      • setObjectClickJS

        protected void setObjectClickJS​(java.util.HashMap __result,
                                        WebObjectInfo object)
        Set the onclick Js event
        Parameters:
        __result -
        object -
        Since:
        MicroStrategy Web 8.0.2
      • renderObjectName

        public void renderObjectName​(MarkupOutput out,
                                     WebObjectInfo object)
        Renders only the name of the object passed as a parameter
        Parameters:
        out - MarkupOutput instance where to save the contents to display
        object - WebObjectInfo
        Since:
        MicroStrategy Web 8.0.1
      • postAnchorGenerated

        protected void postAnchorGenerated​(AnchorTag anchor)
        Since:
        MicroStrategy Web 9.0.0
      • getDescription

        public java.lang.String getDescription()
        Return the description for this Transform
        Returns:
        String with the description for the transform.
      • getContainerAttributes

        public java.util.Map getContainerAttributes()
        Returns a Map containing any attribute that must be added to the list's container.
        Returns:
        Map key-value pairs of attributes.
        Since:
        MicroStrategy Web 8.0.1
      • getTooltipInfo

        protected java.lang.String getTooltipInfo​(WebObjectInfo item)
        Returns the tooltip to add to each individual item in the Folder's list.
        Parameters:
        item - WebObjectInfo the folder's child.
        Returns:
        String the tooltip to add to the HTML output.
        Since:
        MicroStrategy Web 8.0.1
      • renderLayeredIconInfo

        public void renderLayeredIconInfo​(MarkupOutput out,
                                          WebObjectInfo object)
        generate a SPAN tag which host background image and an inner SPAN for the layering effect in case an additional image has to be included on top of the original (for example, a shortcut arrow, a red error sign, etc).
        Overrides:
        renderLayeredIconInfo in class AbstractObjectInfoListTransform
        Parameters:
        out - MarkupOutput instance where to save the contents to display
        object - WebObjectInfo to be rendered.
        Since:
        MicroStrategy Web 9.0.0