Class Widget

    • Field Detail

      • ATT_ID

        protected static final java.lang.String ATT_ID
        xml attribute name for widget ID
        See Also:
        Constant Field Values
      • ATT_JAVA_CLASS

        protected static final java.lang.String ATT_JAVA_CLASS
        xml attribute name for widget Java class name
        See Also:
        Constant Field Values
      • ATT_TITLE

        protected static final java.lang.String ATT_TITLE
        xml attribute name for widget title
        See Also:
        Constant Field Values
      • ATT_TITLE_ID

        protected static final java.lang.String ATT_TITLE_ID
        xml attribute name for widget title ID
        See Also:
        Constant Field Values
      • ATT_FLASH_STYLE_ID

        protected static final java.lang.String ATT_FLASH_STYLE_ID
        xml attribute name for the flash style id
        Since:
        MicroStrategy Web 8.1.1
        See Also:
        Constant Field Values
      • ATT_TITLE_DESC_ID

        protected static final java.lang.String ATT_TITLE_DESC_ID
        xml attribute name for widget title description ID
        Since:
        MicroStrategy Web 8.1.1
        See Also:
        Constant Field Values
      • ATT_SCOPE

        protected static final java.lang.String ATT_SCOPE
        xml attribute name for widget scope
        See Also:
        Constant Field Values
      • ATT_TB_IMAGE

        protected static final java.lang.String ATT_TB_IMAGE
        xml attribute name for widget toolbar image
        See Also:
        Constant Field Values
      • ATT_TB_CLASS

        protected static final java.lang.String ATT_TB_CLASS
        xml attribute name for widget toolbar CSS class
        See Also:
        Constant Field Values
      • ATT_PREVIEW_IMAGE

        protected static final java.lang.String ATT_PREVIEW_IMAGE
        xml attribute name for widget preview image
        See Also:
        Constant Field Values
      • ATT_RSL_PATH

        protected static final java.lang.String ATT_RSL_PATH
        xml attribute name for widget RSL path
        See Also:
        Constant Field Values
      • ATT_IS_APP

        protected static final java.lang.String ATT_IS_APP
        xml attribute name indicates whether it is an application widget or component widget.
        Since:
        MicroStrategy Web 8.1.1
        See Also:
        Constant Field Values
      • ATT_DEFAULT_DHTML_STYLE

        protected static final java.lang.String ATT_DEFAULT_DHTML_STYLE
        xml attribute name indicates the default dhtml style a widget uses (if it uses any).
        Since:
        MicroStrategy Web 8.1.1
        See Also:
        Constant Field Values
      • ATT_MIN_SECONDARY_PROVIDERS

        protected static final java.lang.String ATT_MIN_SECONDARY_PROVIDERS
        xml attribute name indicates the minimum number of secondary data providers a widget uses. Default value of this attribute is 0.
        Since:
        MicroStrategy Web 8.1.1
        See Also:
        Constant Field Values
      • ATT_MAX_SECONDARY_PROVIDERS

        protected static final java.lang.String ATT_MAX_SECONDARY_PROVIDERS
        xml attribute name indicates the maximum number of secondary data providers a widget uses. Default value of this attribute is 0.
        Since:
        MicroStrategy Web 8.1.1
        See Also:
        Constant Field Values
      • ATT_IS_IVE

        protected static final java.lang.String ATT_IS_IVE
        xml attribute name indicates whether it is available for IVE.
        See Also:
        Constant Field Values
    • Method Detail

      • getKeyAttribute

        protected java.lang.String getKeyAttribute()
        Description copied from class: AbstractConfigurationElement
        This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
        Specified by:
        getKeyAttribute in class AbstractConfigurationElement
        Since:
        MicroStrategy Web 9.0.0
      • getId

        public java.lang.String getId()
        Get the widget ID
        Returns:
        the widget ID.
      • setId

        public void setId​(java.lang.String value)
        Set the widget ID
        Parameters:
        value - widget id value.
      • getJavaClass

        public java.lang.String getJavaClass()
        Get the widget Java class
        Returns:
        the widget Java class.
      • setJavaClass

        public void setJavaClass​(java.lang.String value)
        Set the widget Java class
        Parameters:
        value - widget Java class value.
      • getTitle

        public java.lang.String getTitle()
        Get the widget title
        Returns:
        the widget title.
      • setTitle

        public void setTitle​(java.lang.String value)
        Set the widget title
        Parameters:
        value - the widget title value.
      • getTitleId

        public java.lang.String getTitleId()
        Get the widget title ID
        Returns:
        the widget title ID.
      • setTitleId

        public void setTitleId​(java.lang.String value)
        Set the widget title ID
        Parameters:
        value - the widget title ID value.
      • getFlashStyleId

        public java.lang.String getFlashStyleId()
        Get the widget flash style ID
        Returns:
        the widget flash style ID.
        Since:
        MicroStrategy Web 8.1.1
      • setFlashStyleId

        public void setFlashStyleId​(java.lang.String value)
        Set the widget flash style ID
        Parameters:
        value - the widget flash style ID value.
        Since:
        MicroStrategy Web 8.1.1
      • getScope

        public int getScope()
        Returns a unit type supported by the widget
        Returns:
        a unit type supported by the widget.
      • setScope

        public void setScope​(int value)
        Sets a unit type supported by the widget
        Parameters:
        value - unit type value
      • getToolbarImage

        public java.lang.String getToolbarImage()
        Get the widget toolbar image path
        Returns:
        the widget toolbar image path.
      • setToolbarImage

        public void setToolbarImage​(java.lang.String value)
        Sets the widget toolbar image path
        Parameters:
        value - the widget toolbar image path
      • getToolbarClass

        public java.lang.String getToolbarClass()
        Returns the widget toolbar class
        Returns:
        the widget toolbar class.
      • setToolbarClass

        public void setToolbarClass​(java.lang.String value)
        Sets the widget toolbar CSS class
        Parameters:
        value - the widget toolbar CSS class.
      • getPreviewImage

        public java.lang.String getPreviewImage()
        Returns the widget preview image path
        Returns:
        the widget preview image path.
      • setPreviewImage

        public void setPreviewImage​(java.lang.String value)
        Sets the widget preview image path
        Parameters:
        value - the widget preview image path.
      • getRslPath

        public java.lang.String getRslPath()
        Returns the widget RSL path
        Returns:
        the widget RSL path.
      • setRslPath

        public void setRslPath​(java.lang.String value)
        Sets the widget RSL path
        Parameters:
        value - the widget RSL path.
      • getDefaultDHTMLStyel

        public int getDefaultDHTMLStyel()
        Returns the widget default DHTML style.
        Returns:
        the widget default DHTML style.
        Since:
        MicroStrategy Web 8.1.1
      • setDefaultDHTMLStyle

        public void setDefaultDHTMLStyle​(int value)
        Sets the default DHTML style the widget uses
        Parameters:
        value - the default DHTML style
        Since:
        MicroStrategy Web 8.1.1
      • getMinSecondaryProviders

        public int getMinSecondaryProviders()
        Returns the widget minimum number of secondary providers allowed.
        Returns:
        the widget minimum number of secondary providers allowed.
        Since:
        MicroStrategy Web 8.1.1
      • setMinSecondaryProviders

        public void setMinSecondaryProviders​(int value)
        Sets the widget minimum number of secondary providers allowed.
        Parameters:
        value - the widget minimum number of secondary providers allowed.
        Since:
        MicroStrategy Web 8.1.1
      • getMaxSecondaryProviders

        public int getMaxSecondaryProviders()
        Returns the widget maximum number of secondary providers allowed.
        Returns:
        the widget maximum number of secondary providers allowed.
        Since:
        MicroStrategy Web 8.1.1
      • setMaxSecondaryProviders

        public void setMaxSecondaryProviders​(int value)
        Sets the widget minimum number of secondary providers allowed.
        Parameters:
        value - the widget minimum number of secondary providers allowed.
        Since:
        MicroStrategy Web 8.1.1
      • getTitleDescId

        public java.lang.String getTitleDescId()
        Returns the widgets titleDESCId
        Returns:
        The widgets titleDESCId
        Since:
        MicroStrategy Web 8.1.1
      • setTitleDescId

        public void setTitleDescId​(java.lang.String value)
        Sets the Desktop title description id
        Parameters:
        value - value of the titleDESCId
        Since:
        MicroStrategy Web 8.1.1
      • setIsApp

        public void setIsApp​(boolean value)
        Since:
        MicroStrategy Web 8.1.1
      • isApp

        public boolean isApp()
        Since:
        MicroStrategy Web 8.1.1
      • setIsIVE

        public void setIsIVE​(boolean value)
      • getIsIVE

        public boolean getIsIVE()