public class

SubtotalsDHTMLTransform

extends AbstractAppTransform
implements LayoutTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.SubtotalsDHTMLTransform

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
SubtotalsDHTMLTransform()
Public Methods
ArrayList getAvailableSubtotals()
String getDescription()
Returns a textual description of the transform.
String getStyleShellDiv()
Returns the style (that is, the style attribute used for css formatting) of the shell's div.
ArrayList getSubtotalUnits()
Class getSupportedBeanType()
Returns the supported bean type.
void initializeTransform(Transformable data)

This method initialize the private and protected fields of the transform, such as width and height.

boolean isSubtotalNotNull(WebTemplateSubtotal subtotalObj)
Convenience method to check object is Null.
void renderAdvancedAcrossLevelRadioButton(MarkupOutput out)
void renderAdvancedByPositionColumnsDropDown(MarkupOutput out)
void renderAdvancedByPositionPagesDropDown(MarkupOutput out)
void renderAdvancedByPositionRadioButton(MarkupOutput out)
void renderAdvancedByPositionRowsDropDown(MarkupOutput out)
void renderAdvancedSelectedLevelsUnits(MarkupOutput out, WebObjectInfo objInfo)
void renderAdvancedTotalsDropDown(MarkupOutput out)
void renderAllSubtotalCheckbox(MarkupOutput out, WebTemplateSubtotal subtotalObj)
void renderCheckbox(MarkupOutput out, String id, String name, String value)
void renderContentsBody(MarkupOutput out)
void renderDisplayColumnOption1(MarkupOutput out)
void renderDisplayColumnOption2(MarkupOutput out)
void renderDisplayPageOption1(MarkupOutput out)
void renderDisplayPageOption2(MarkupOutput out)
void renderDisplayRowOption1(MarkupOutput out)
void renderDisplayRowOption2(MarkupOutput out)
void renderGrandTotalCheckbox(MarkupOutput out, WebTemplateSubtotal subtotalObj)
void renderSubtotalName(MarkupOutput out, WebTemplateSubtotal subtotalObj)
void renderUndefinedColSectionDisplayTab(MarkupOutput out)
void renderUndefinedPageSectionDisplayTab(MarkupOutput out)
void renderUndefinedRowSectionDisplayTab(MarkupOutput out)
void renderUndefinedSimpleTabSection(MarkupOutput out)
void transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestSuccessful.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.LayoutTransform
From interface com.microstrategy.web.transform.Transform

Public Constructors

public SubtotalsDHTMLTransform ()

Public Methods

public ArrayList getAvailableSubtotals ()

public String getDescription ()

Returns a textual description of the transform.

Returns
  • The textual description of the transform.

public String getStyleShellDiv ()

Returns the style (that is, the style attribute used for css formatting) of the shell's div.

public ArrayList getSubtotalUnits ()

public Class getSupportedBeanType ()

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;
    }

 }
 

Returns
  • a root class/interface supported by this transform.

public void initializeTransform (Transformable data)

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.

Parameters
data the bean to transform.

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.

public void renderAdvancedAcrossLevelRadioButton (MarkupOutput out)

public void renderAdvancedByPositionColumnsDropDown (MarkupOutput out)

public void renderAdvancedByPositionPagesDropDown (MarkupOutput out)

public void renderAdvancedByPositionRadioButton (MarkupOutput out)

public void renderAdvancedByPositionRowsDropDown (MarkupOutput out)

public void renderAdvancedSelectedLevelsUnits (MarkupOutput out, WebObjectInfo objInfo)

public void renderAdvancedTotalsDropDown (MarkupOutput out)

public void renderAllSubtotalCheckbox (MarkupOutput out, WebTemplateSubtotal subtotalObj)

public void renderCheckbox (MarkupOutput out, String id, String name, String value)

public void renderContentsBody (MarkupOutput out)

public void renderDisplayColumnOption1 (MarkupOutput out)

public void renderDisplayColumnOption2 (MarkupOutput out)

public void renderDisplayPageOption1 (MarkupOutput out)

public void renderDisplayPageOption2 (MarkupOutput out)

public void renderDisplayRowOption1 (MarkupOutput out)

public void renderDisplayRowOption2 (MarkupOutput out)

public void renderGrandTotalCheckbox (MarkupOutput out, WebTemplateSubtotal subtotalObj)

public void renderSubtotalName (MarkupOutput out, WebTemplateSubtotal subtotalObj)

public void renderUndefinedColSectionDisplayTab (MarkupOutput out)

public void renderUndefinedPageSectionDisplayTab (MarkupOutput out)

public void renderUndefinedRowSectionDisplayTab (MarkupOutput out)

public void renderUndefinedSimpleTabSection (MarkupOutput out)

public void transformForRequestSuccessful (MarkupOutput out)

Generates the output when the bean's status is WebBeanRequestSuccessful. This is the main entry point to generate the output for those Transforms that just want to render the "regular" bean case.
This is an abstract method. All classes need to implement it.

Parameters
out output by this transform