public class

ESRIVisualizationPropertiesTransform

extends IPhoneMapVisualizationPropertiesTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
           ↳ com.microstrategy.web.app.transforms.IPhoneMapVisualizationPropertiesTransform
             ↳ com.microstrategy.web.app.transforms.ESRIVisualizationPropertiesTransform

Class Overview

This transform renders the content of the Visualization Properties Editor for the ESRI Map Visualization.

Summary

Constants
String AREA_ATTRIBUTE_ID_PROPERTY_NAME
String LATITUDE_ATTRIBUTE_FORM_ID_PROPERTY_NAME
String LONGITUDE_ATTRIBUTE_FORM_ID_PROPERTY_NAME
String MARKUP_ATTRIBUTE_ID_PROPERTY_NAME
String SHOW_AREAS_PROPERTY_NAME
String SHOW_MARKERS_PROPERTY_NAME
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.IPhoneMapVisualizationPropertiesTransform
From class com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.IPhoneMapVisualizationPropertiesTransform
From class com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
ESRIVisualizationPropertiesTransform()
Public Methods
boolean isValidGrid()
void renderAttributeFormsPulldown(MarkupOutput out, String propName, String gridKey)
Renders a pulldown with the list of attributes forms for the attribute that defines the Marker.
void renderAttributeOrFormPulldown(MarkupOutput out, String propName, String gridKey)
void renderAttributesPulldown(MarkupOutput out, String propName, String gridKey)
Renders a pulldown with the list of attributes on the template.
void renderBubbleSizeTextbox(MarkupOutput out, String propName, String defaultValue, String gridKey)
void renderImageRadio(MarkupOutput out, String propName, String gridKey)
void renderShapePulldown(MarkupOutput out, String propName, String gridKey)
void renderShowAreaCheckbox(MarkupOutput out, String propName, String defaultValue, String key)
void renderShowMarkerCheckbox(MarkupOutput out, String propName, String defaultValue, String key)
Protected Methods
WebTemplateAttribute getMarkerAttribute(String gridKey)
String getScriptClass()

Returns the name of the javaScript class (if any) to be associated with the component.

void setBoneProperties(JsonGenerator boneProps)
Sets the necessary properties to the bone assigned to this transform (based on the scriptClass formal parameter)
Usually called by renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.IPhoneMapVisualizationPropertiesTransform
From class com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
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

Constants

public static final String AREA_ATTRIBUTE_ID_PROPERTY_NAME

Constant Value: "aa"

public static final String LATITUDE_ATTRIBUTE_FORM_ID_PROPERTY_NAME

Constant Value: "lat"

public static final String LONGITUDE_ATTRIBUTE_FORM_ID_PROPERTY_NAME

Constant Value: "lng"

public static final String MARKUP_ATTRIBUTE_ID_PROPERTY_NAME

Constant Value: "ma"

public static final String SHOW_AREAS_PROPERTY_NAME

Constant Value: "sa"

public static final String SHOW_MARKERS_PROPERTY_NAME

Constant Value: "sm"

Public Constructors

public ESRIVisualizationPropertiesTransform ()

Public Methods

public boolean isValidGrid ()

public void renderAttributeFormsPulldown (MarkupOutput out, String propName, String gridKey)

Renders a pulldown with the list of attributes forms for the attribute that defines the Marker.
Read from #getMarkerAttribute().

Parameters
out The Markup output of this transform
propName the name of the property to render and read the value from

public void renderAttributeOrFormPulldown (MarkupOutput out, String propName, String gridKey)

public void renderAttributesPulldown (MarkupOutput out, String propName, String gridKey)

Renders a pulldown with the list of attributes on the template.

Parameters
out The Markup output of this transform
propName the name of the property to render and read the value from

public void renderBubbleSizeTextbox (MarkupOutput out, String propName, String defaultValue, String gridKey)

public void renderImageRadio (MarkupOutput out, String propName, String gridKey)

public void renderShapePulldown (MarkupOutput out, String propName, String gridKey)

public void renderShowAreaCheckbox (MarkupOutput out, String propName, String defaultValue, String key)

public void renderShowMarkerCheckbox (MarkupOutput out, String propName, String defaultValue, String key)

Protected Methods

protected WebTemplateAttribute getMarkerAttribute (String gridKey)

protected String getScriptClass ()

Returns the name of the javaScript class (if any) to be associated with the component. When the scriptClass is specified, a bone is registered on the page for this component.

A bone is the corresponding concept of a bean in Microstrategy's javascript environment.
By default, thie methods returns an empty string. Transform which does have an associated bone needs to override this method.

Returns
  • String representing the name of a javaScript class

protected void setBoneProperties (JsonGenerator boneProps)

Sets the necessary properties to the bone assigned to this transform (based on the scriptClass formal parameter)
Usually called by renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.

Parameters
boneProps the JsonGenerator object that contains the collection of bone properties.