Class EditorImpl.Button

  • Enclosing class:
    EditorImpl

    protected class EditorImpl.Button
    extends java.lang.Object
    Since:
    MicroStrategy Web 8.0.0
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Button()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBaseBean()
      Returns the name of the base bean where the event is obtained from
      java.lang.String getButtonStyle()
      Returns the style of the button
      java.lang.String getEnableFeatureId()
      Returns the feature ID use to enable or disable the button
      java.lang.String getEventId()
      Returns the event associated to the button
      java.lang.String getExtraAttributes()
      Returns the extra attributes to add the the generated html node
      java.lang.String getExtraLink()
      Returns the extra link to add to the event url
      java.lang.String getFeatureID()
      Returns the feature ID for the button
      java.lang.String getId()
      Returns the if of the button
      java.lang.String getImage()
      Returns the name of the image file associated with the button
      java.lang.String getJavaScript()
      Return the javascript to execute when the button is clicked on
      java.lang.String getTitle()
      Returns the alt title of the image
      java.lang.String getType()
      Returns the type of button, image link or input
      void initFromXML​(org.w3c.dom.Node root)  
      void setBaseBean​(java.lang.String baseBean)
      Sets the name of the base bean where the event is obtained from
      void setButtonStyle​(java.lang.String buttonStyle)
      Sets the type of button to used.
      void setEnableFeatureId​(java.lang.String featureID)
      Sets the feature ID use to enable or disable the button
      void setEventId​(java.lang.String eventID)
      Sets the event associated to the button
      void setExtraAttributes​(java.lang.String extraAttributes)
      Sets the extra attributes to add the the generated html node
      void setExtraLink​(java.lang.String extraLink)
      Sets the extra link to add to the event url
      void setFeatureId​(java.lang.String featureID)
      Sets the feature ID use for the button
      void setId​(java.lang.String id)
      Sets the id of the button
      void setImage​(java.lang.String image)
      Sets the name of the image file associated with the button
      void setJavaScript​(java.lang.String javaScript)
      Sets the javascript to execute when the button is clicked on
      void setTitle​(java.lang.String title)
      Sets the alt title of the image
      void setType​(java.lang.String type)
      Sets the type of button, image link or input
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Button

        protected Button()
    • Method Detail

      • initFromXML

        public void initFromXML​(org.w3c.dom.Node root)
      • setButtonStyle

        public void setButtonStyle​(java.lang.String buttonStyle)
        Sets the type of button to used.
        Parameters:
        buttonStyle - could be either '0' (submit) or '1' ('button').
      • setId

        public void setId​(java.lang.String id)
        Sets the id of the button
        Parameters:
        id - the button's id
      • setImage

        public void setImage​(java.lang.String image)
        Sets the name of the image file associated with the button
        Parameters:
        image - the image file name
      • setJavaScript

        public void setJavaScript​(java.lang.String javaScript)
        Sets the javascript to execute when the button is clicked on
        Parameters:
        javaScript - the javascript call
      • setEventId

        public void setEventId​(java.lang.String eventID)
        Sets the event associated to the button
        Parameters:
        eventID - the event id
      • setType

        public void setType​(java.lang.String type)
        Sets the type of button, image link or input
        Parameters:
        type - the type of button
      • setBaseBean

        public void setBaseBean​(java.lang.String baseBean)
        Sets the name of the base bean where the event is obtained from
        Parameters:
        baseBean - String with the name of the base bean to use
      • setEnableFeatureId

        public void setEnableFeatureId​(java.lang.String featureID)
        Sets the feature ID use to enable or disable the button
      • setFeatureId

        public void setFeatureId​(java.lang.String featureID)
        Sets the feature ID use for the button
      • setTitle

        public void setTitle​(java.lang.String title)
        Sets the alt title of the image
      • setExtraLink

        public void setExtraLink​(java.lang.String extraLink)
        Sets the extra link to add to the event url
      • setExtraAttributes

        public void setExtraAttributes​(java.lang.String extraAttributes)
        Sets the extra attributes to add the the generated html node
      • getButtonStyle

        public java.lang.String getButtonStyle()
        Returns the style of the button
        Returns:
        the button's style
      • getId

        public java.lang.String getId()
        Returns the if of the button
        Returns:
        the button's id
      • getImage

        public java.lang.String getImage()
        Returns the name of the image file associated with the button
        Returns:
        the image file name
      • getJavaScript

        public java.lang.String getJavaScript()
        Return the javascript to execute when the button is clicked on
        Returns:
        the javascript call
      • getEventId

        public java.lang.String getEventId()
        Returns the event associated to the button
        Returns:
        the event id
      • getType

        public java.lang.String getType()
        Returns the type of button, image link or input
        Returns:
        the type of button
      • getBaseBean

        public java.lang.String getBaseBean()
        Returns the name of the base bean where the event is obtained from
        Returns:
        the name of the event's bean
      • getEnableFeatureId

        public java.lang.String getEnableFeatureId()
        Returns the feature ID use to enable or disable the button
        Returns:
        the enable feature ID
      • getFeatureID

        public java.lang.String getFeatureID()
        Returns the feature ID for the button
        Returns:
        the feature ID
      • getTitle

        public java.lang.String getTitle()
        Returns the alt title of the image
        Returns:
        the alt title of the image
      • getExtraLink

        public java.lang.String getExtraLink()
        Returns the extra link to add to the event url
        Returns:
        the extra link
      • getExtraAttributes

        public java.lang.String getExtraAttributes()
        Returns the extra attributes to add the the generated html node
        Returns:
        the extra attributes