public class

SubsetViewLimitElementDialogTransform

extends SubsetViewLimitElementTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.ExpressionGenericTransform
           ↳ com.microstrategy.web.app.transforms.AbstractFilterElementTransform
             ↳ com.microstrategy.web.app.transforms.FilterElementTransform
               ↳ com.microstrategy.web.app.transforms.LimitElementTransform
                 ↳ com.microstrategy.web.app.transforms.SubsetViewLimitElementTransform
                   ↳ com.microstrategy.web.app.transforms.SubsetViewLimitElementDialogTransform

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.FilterElementTransform
From class com.microstrategy.web.app.transforms.AbstractFilterElementTransform
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
SubsetViewLimitElementDialogTransform()
Public Methods
void initializeTransform(Transformable data)
Overrides the initializeTransform method with type-specific initialization data.
void renderEditor(MarkupOutput out)
Main method to render the output of an editor
void transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestSuccessful.
Protected Methods
String getBoneId()
Returns the id to be used for the JavaScript bone.
void initEditor(Editor editor)
Initializes the editor with the global settings.
void initExpressionBeanTransform(FilterElementBean _filterElem)
The initTransform method will take a FilterElement and will initialize itself based on that FilterElement.
void renderOperator(MarkupOutput out, WebOperatorNode opNode, WebNode leftNode, WebNode rightNode, int level, boolean isReportLimit)
This method renders the given operator node.
void renderSubExpressionViewMode(MarkupOutput out, WebExpression expr, WebNode node, int level, boolean isReportLimit)
This is the generic method that renders a non-branch subexpression in view mode.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.SubsetViewLimitElementTransform
From class com.microstrategy.web.app.transforms.LimitElementTransform
From class com.microstrategy.web.app.transforms.FilterElementTransform
From class com.microstrategy.web.app.transforms.AbstractFilterElementTransform
From class com.microstrategy.web.app.transforms.ExpressionGenericTransform
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 SubsetViewLimitElementDialogTransform ()

Public Methods

public void initializeTransform (Transformable data)

Overrides the initializeTransform method with type-specific initialization data. This MUST be overridden by any classes which extend this transform if they do not transform on a FilterElement object, because this initializeTransform method assumes that the Transformable passed to it is of type FilterElement.

Parameters
data The object that is being transformed.

public void renderEditor (MarkupOutput out)

Main method to render the output of an editor

Parameters
out MarkupOutput instance where to create the HTML output

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

Protected Methods

protected String getBoneId ()

Returns the id to be used for the JavaScript bone.
This method is used by the renderRegisterBone method to indicate the id of the bone html element.

Returns
  • String

protected void initEditor (Editor editor)

Initializes the editor with the global settings.

Parameters
editor the Editor to modify.

protected void initExpressionBeanTransform (FilterElementBean _filterElem)

The initTransform method will take a FilterElement and will initialize itself based on that FilterElement. This method must be called by any derived classes' initializeTransform method.

Parameters
_filterElem The FilterElement object to initialize the transform with.

protected void renderOperator (MarkupOutput out, WebOperatorNode opNode, WebNode leftNode, WebNode rightNode, int level, boolean isReportLimit)

This method renders the given operator node. It will render the HTML common to all operator nodes being rendered, then delegate to either renderOperatorEditMode or renderOperatorViewMode based upon whether the operator is being edited.

Parameters
out The MarkupOutput object to render the output to.
opNode The operator node being rendered.
leftNode The left child of the operator node.
rightNode The right child of the operator node.
level The depth within the expression tree of the operator node.

protected void renderSubExpressionViewMode (MarkupOutput out, WebExpression expr, WebNode node, int level, boolean isReportLimit)

This is the generic method that renders a non-branch subexpression in view mode. It renders GUI elements such as the delete button and shift buttons, plus the expression itself.

Parameters
out The MarkupOutput object to render the output to.
expr The expression being rendered.
node The currently rendered node.
level The level of the node within the expression.
isReportLimit Whether the expression is from the report limit. If this is true, then the expression passed in will not be the expression set on the ExpressionBean.