Class ColorGradientEditorTransform

    • Constructor Detail

      • ColorGradientEditorTransform

        public ColorGradientEditorTransform()
    • Method Detail

      • getScriptClass

        protected java.lang.String getScriptClass()

        Returns the name of the javaScript class 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.
        This methods returns "mstrEditorImpl", the default bone implementation for an editor. Transforms which uses a different bone implementation need to override this method.
        Overrides:
        getScriptClass in class AbstractAppTransform
        Returns:
        String representing the name of a javaScript class
      • getSupportedBeanType

        public java.lang.Class getSupportedBeanType()
        Description copied from class: AbstractAppTransform
        Returns the supported bean type. This abstract Transform supports all WebComponents so every sub-class should override this method to return the class of the Bean the Transform is expecting, for example:
         public class CustomReportClass extends AbstractAppTransform {
        
            public Class getSupportedBeanType() {
                //This Transform is expected to work only with a ReportBean,
                //therefore this method needs to return this class:
                return ReportBean.class;
            }
        
         }
         
        Specified by:
        getSupportedBeanType in interface Transform
        Overrides:
        getSupportedBeanType in class AbstractAppTransform
        Returns:
        a root class/interface supported by this transform.