public class

MojoAttributeTransform

extends AbstractMojoTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractMojoTransform
           ↳ com.microstrategy.web.app.transforms.MojoAttributeTransform
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractMojoTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
MojoAttributeTransform()
Public Methods
static Block createAttrFormBlock(WebAttribute attr, WebAttributeForm attrForm)
Block createAttributeBlock()
static Block createCustomizeAttrFormBlock(WebAttribute attr, WebAttributeForm attrForm, String templateFormLabel)
Block createElementBlock(WebElement elem)
String getDescription()
void initializeTransform(Transformable data)

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

void transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status is WebBeanRequestSuccessful.
Protected Methods
Block createAttrFormBaseBlock(WebAttribute attr, WebAttributeForm attrForm)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractMojoTransform
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.Transform

Public Constructors

public MojoAttributeTransform ()

Public Methods

public static Block createAttrFormBlock (WebAttribute attr, WebAttributeForm attrForm)

Throws
Exception

public Block createAttributeBlock ()

Throws
Exception

public static Block createCustomizeAttrFormBlock (WebAttribute attr, WebAttributeForm attrForm, String templateFormLabel)

Throws
Exception

public Block createElementBlock (WebElement elem)

Throws
Exception

public String getDescription ()

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 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 Block createAttrFormBaseBlock (WebAttribute attr, WebAttributeForm attrForm)

Throws
Exception