Class SurveyVisualizationPropertiesTransform

    • Field Detail

      • attributeMap

        protected HashList<java.lang.String,​java.lang.String> attributeMap
      • attributes

        protected HashList<java.lang.String,​java.lang.String> attributes
      • attributeForms

        protected HashList<java.lang.String,​java.lang.String> attributeForms
      • metrics

        protected HashList<java.lang.String,​java.lang.String> metrics
    • Constructor Detail

      • SurveyVisualizationPropertiesTransform

        public SurveyVisualizationPropertiesTransform()
    • Method Detail

      • initializeTransform

        public void initializeTransform​(Transformable data)
        Description copied from class: AbstractAppTransform

        This method initialize the private and protected fields of the transform, such as width and height. It also invokes the initializeWebComponent, initializeImages and initializeCss methods.

        This method is automatically called from the transform method. Transforms which would like to invoke other methods in this instance directly (for example, to invoke some render methods), need first to call this method to guarantee that the Transform is ready to generate output.
        Specified by:
        initializeTransform in interface AppTransform
        Overrides:
        initializeTransform in class VisualizationPropertiesTransform
        Parameters:
        data - the bean to transform.
      • getScriptClass

        protected java.lang.String getScriptClass()
        Description copied from class: AbstractAppTransform

        Returns the name of the javaScript class (if any) to be associated with the component. When the scriptClass is specified, a bone is registered on the page for this component.

        A bone is the corresponding concept of a bean in Microstrategy's javascript environment.
        By default, thie methods returns an empty string. Transform which does have an associated bone needs to override this method.
        Overrides:
        getScriptClass in class AbstractAppTransform
        Returns:
        String representing the name of a javaScript class
      • isValidGrid

        public boolean isValidGrid()
      • renderValidationError

        public void renderValidationError​(MarkupOutput out)
      • getSurveyObjects

        public java.util.ArrayList<com.microstrategy.web.app.transforms.SurveyObject> getSurveyObjects()
      • renderSurveySemanticsTitle

        public void renderSurveySemanticsTitle​(MarkupOutput out,
                                               com.microstrategy.web.app.transforms.SurveyObject so)
      • renderIsRequired

        public void renderIsRequired​(MarkupOutput out,
                                     com.microstrategy.web.app.transforms.SurveyObject so)
      • renderAttributeSelectBox

        public void renderAttributeSelectBox​(MarkupOutput out,
                                             com.microstrategy.web.app.transforms.SurveyObject so)
      • renderColorThemeSelectBox

        public void renderColorThemeSelectBox​(MarkupOutput out,
                                              java.lang.String propName)
      • getAttributes

        protected HashList<java.lang.String,​java.lang.String> getAttributes()
      • getMetrics

        protected HashList<java.lang.String,​java.lang.String> getMetrics()