Interface RWHyperlink


  • public interface RWHyperlink
    Since:
    MicroStrategy Web 9.0.0
    • Method Detail

      • getAttributes

        WebAttribute[] getAttributes()
        Returns a modifiable list of attributes
      • addAttribute

        void addAttribute​(java.lang.String attrID)
                   throws java.lang.IllegalArgumentException
        Adds a new attribute to the attributes collection
        Parameters:
        attrID -
        Throws:
        java.lang.IllegalArgumentException - if the attribute ID that is passed in does not correspond to a valid attribute in one of the datasets
      • getURL

        java.lang.String getURL()
        Returns the url (if any) associated with the hyperlink
      • setURL

        void setURL​(java.lang.String url)
      • getLinkType

        int getLinkType()
        Returns the type of link
      • setLinkType

        void setLinkType​(int type)
      • isDefault

        boolean isDefault()
        Indicates whether this is the default url
      • setDefault

        void setDefault​(boolean def)
        Set the current hyperlink as the default
        Parameters:
        def -
      • getDisplayText

        java.lang.String getDisplayText()
      • setDisplayText

        void setDisplayText​(java.lang.String text)
      • openInNewWindow

        boolean openInNewWindow()
      • setOpenInNewWindow

        void setOpenInNewWindow​(boolean open)
      • getPromptAnswersType

        int getPromptAnswersType()
      • setPromptsAnswersType

        void setPromptsAnswersType​(int type)
      • getHyperlink

        java.lang.String getHyperlink()
        Returns the url (@see #getURL()) if the hyperlink is of type LINK_TYPE_URL If the hyperlink is of type LINK_TYPE_EXECUTE, then a hyperlink representation based on the current parameters is returned
      • clearAttributes

        void clearAttributes()