Class SubscriptionContactsBrowserTransform

    • Constructor Detail

      • SubscriptionContactsBrowserTransform

        public SubscriptionContactsBrowserTransform()
    • 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 AbstractAppTransform
        Parameters:
        data - the bean to transform.
      • renderJavascript

        public void renderJavascript​(MarkupOutput out)
      • renderEditor

        public void renderEditor​(MarkupOutput out)
        Main method to render the output of an editor
        Parameters:
        out - MarkupOutput instance where to create the HTML output
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Transform
        Returns a textual description of the transform.
        Returns:
        The textual description of the transform.
      • 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.
      • 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
      • initEditor

        protected void initEditor​(Editor editor)