Class SubtotalsDHTMLTransform

    • Constructor Detail

      • SubtotalsDHTMLTransform

        public SubtotalsDHTMLTransform()
    • 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.
      • 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.
      • getAvailableSubtotals

        public java.util.ArrayList getAvailableSubtotals()
      • getSubtotalUnits

        public java.util.ArrayList getSubtotalUnits()
      • renderUndefinedSimpleTabSection

        public void renderUndefinedSimpleTabSection​(MarkupOutput out)
      • renderUndefinedRowSectionDisplayTab

        public void renderUndefinedRowSectionDisplayTab​(MarkupOutput out)
      • renderUndefinedColSectionDisplayTab

        public void renderUndefinedColSectionDisplayTab​(MarkupOutput out)
      • renderUndefinedPageSectionDisplayTab

        public void renderUndefinedPageSectionDisplayTab​(MarkupOutput out)
      • isSubtotalNotNull

        public boolean isSubtotalNotNull​(WebTemplateSubtotal subtotalObj)
        Convenience method to check object is Null.
        Parameters:
        subtotalObj - WebTemplateSubtotal Object to be checked for null.
        Returns:
        true if the object is not null.
      • renderCheckbox

        public void renderCheckbox​(MarkupOutput out,
                                   java.lang.String id,
                                   java.lang.String name,
                                   java.lang.String value)
      • renderContentsBody

        public void renderContentsBody​(MarkupOutput out)
      • renderAdvancedTotalsDropDown

        public void renderAdvancedTotalsDropDown​(MarkupOutput out)
      • renderAdvancedByPositionRadioButton

        public void renderAdvancedByPositionRadioButton​(MarkupOutput out)
      • renderAdvancedByPositionRowsDropDown

        public void renderAdvancedByPositionRowsDropDown​(MarkupOutput out)
      • renderAdvancedByPositionColumnsDropDown

        public void renderAdvancedByPositionColumnsDropDown​(MarkupOutput out)
      • renderAdvancedByPositionPagesDropDown

        public void renderAdvancedByPositionPagesDropDown​(MarkupOutput out)
      • renderAdvancedAcrossLevelRadioButton

        public void renderAdvancedAcrossLevelRadioButton​(MarkupOutput out)
      • renderAdvancedSelectedLevelsUnits

        public void renderAdvancedSelectedLevelsUnits​(MarkupOutput out,
                                                      WebObjectInfo objInfo)
      • renderDisplayRowOption1

        public void renderDisplayRowOption1​(MarkupOutput out)
      • renderDisplayRowOption2

        public void renderDisplayRowOption2​(MarkupOutput out)
      • renderDisplayColumnOption1

        public void renderDisplayColumnOption1​(MarkupOutput out)
      • renderDisplayColumnOption2

        public void renderDisplayColumnOption2​(MarkupOutput out)
      • renderDisplayPageOption1

        public void renderDisplayPageOption1​(MarkupOutput out)
      • renderDisplayPageOption2

        public void renderDisplayPageOption2​(MarkupOutput out)
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Transform
        Returns a textual description of the transform.
        Specified by:
        getDescription in interface Transform
        Returns:
        The textual description of the transform.