Class AbstractAdminTransform

    • Field Detail

      • needToUpdateStyleForDoubleByte

        protected boolean needToUpdateStyleForDoubleByte
        Since:
        MicroStrategy Web 8.0.1
    • Constructor Detail

      • AbstractAdminTransform

        public AbstractAdminTransform()
    • Method Detail

      • 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.
      • initializeDoubleByte

        public void initializeDoubleByte()
        Get the browser type and the language encoding
        Since:
        MicroStrategy Web 8.0.1
      • updateStyleForButtons

        protected void updateStyleForButtons​(Tag inputTag)
        set the button style based on the browser type and the encoding to solve the IE and mozilla diffrence. IE doesn't render double byte button fully, so need to give it extra padding; Mozilla renders the button correctly, so no need for padding TQMS ids: 178717, 210319
        Since:
        MicroStrategy Web 8.0.1