public class

IPhoneMapVisualizationPropertiesTransform

extends VisualizationPropertiesTransform
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
Known Direct Subclasses

Summary

Constants
String APPLY_THRESHOLDS_ON_MAP
String AREA_FUSION_TABLE
String ATTRIBUTE_FORM_FOR_LATITUDE_FROM_GA
String ATTRIBUTE_FORM_FOR_LONGITUDE_FROM_GA
String BASE_MAP_ESRI
String BASE_MAP_GOOGLE
String GEO_ATTRIBUTE_ID
String LAYOUT_KEY_INDEX
String MARKER_STYLE_ON_THE_MAP
String PRIMARY_GRID_KEY
String RADIO_OPTION_DENSITY
String RADIO_OPTION_DYNAMIC_BUBBLES
String RADIO_OPTION_LAT_LONG
String RADIO_OPTION_MARKER_STYLE
String RADIO_OPTION_PATH
String RADIO_OPTION_POINT
String SHOW_MARKER_OR_AREA
String USE_DOCUMENT_LAYOUT_FOR_INFO_WINDOW
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
public static final HashList<String, String> BASE_MAP_LIST
public static final HashList<String, String> ESRI_GOOGLE_PROP_MAP
protected String _errorMessage
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
IPhoneMapVisualizationPropertiesTransform()
Public Methods
List<String> getKeyList()
This method return a Key list for Grids in Doc, the first key corresponds to the primary key For report, it return a list containing an element "-1".
Map getTemplateKey(String gridKey)
Map getTemplateName(String gridKey)
void initializeTransform(Transformable data)

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

boolean isDisplay()
boolean isIE()
boolean isValidGrid()
void renderAttributeFormsPulldown(MarkupOutput out, String propName, String gridKey, HashList<String, String> extraAttributes, HashList<String, String> elems)
void renderAttributeFormsPulldown(MarkupOutput out, String propName, String gridKey)
void renderAttributeOrFormPulldown(MarkupOutput out, String propName, String gridKey)
void renderAttributePulldown(MarkupOutput out, String propName, String gridKey)
void renderBaseMapPulldown(MarkupOutput out, String propName)
void renderCheckbox(MarkupOutput out, String propName, String defaultValue, String gridKey)
Renders a checkbox.
void renderCheckbox(MarkupOutput out, String propName, HashList<String, String> extraAttributes, String defaultValue, String gridKey)
void renderColorPicker(MarkupOutput out, String propName, String gridKey, String defaultValue)
void renderDatasetRadio(MarkupOutput out)
void renderDefaultViewPulldown(MarkupOutput out, String propName)
void renderDensityPulldown(MarkupOutput out, String propName, String gridKey)
void renderDisplayAffinityCheckbox(MarkupOutput out, String propName, String gridKey)
void renderDisplayInfoWinCheckbox(MarkupOutput out, String propName, String gridKey)
void renderDrawingPulldown(MarkupOutput out, String propName, String gridKey)
void renderElemsVisibilityOptionsLink(MarkupOutput out)
void renderHiddenInput(MarkupOutput out, String propName, String value, String extraAtts)
void renderImageRadio(MarkupOutput out, String propName, String gridKey)
void renderLayoutPulldown(MarkupOutput out, String propName, String gridKey)
void renderLookupAttributePulldown(MarkupOutput out, String propName, String gridKey)
void renderMapElemsVisibilityOptionsMenu(MarkupOutput out)
void renderMapSizingStylePulldown(MarkupOutput out, String propName, String gridKey, boolean includeEmptyOpt)
void renderMapSizingStylePulldown(MarkupOutput out, String propName, String gridKey)
void renderMarkerStylePulldown(MarkupOutput out, String propName, String gridKey)
void renderMaxLineThicknessPulldown(MarkupOutput out, String propName, String gridKey)
void renderPointLatLongPulldown(MarkupOutput out, String propName, String gridKey)
void renderRadio(MarkupOutput out, String propName, HashList<String, String> elems, HashList<String, String> extraAttributes, String selectedVal, String gridKey)
void renderSecondaryDataProvidersSelectbox(MarkupOutput out, String propName, String gridKey)
void renderSelectBox(MarkupOutput out, String propName, HashList<String, String> elems, HashList<String, String> extraAttributes, String selectedVal, String gridKey)
void renderShapePulldown(MarkupOutput out, String propName, String gridKey)
void renderShowAreaRadioButton(MarkupOutput out, String propName, String defaultValue, String key)
void renderShowMarkerRadioButton(MarkupOutput out, String propName, String defaultValue, String key)
void renderTabs(MarkupOutput out)
void renderTextbox(MarkupOutput out, String propName, String defaultValue, String gridKey)
Renders a text input.
void renderTextbox(MarkupOutput out, String propName, String defaultValue, String gridKey, HashList<String, String> extraAttributes)
void renderValidationError(MarkupOutput out)
Protected Methods
void addSpecialExtraAttributes(String gridKey, HashList<String, String> extraAttributes)
HashList<String, String> getAttributes(String gridKey)
ResourceBundle getDensityMapsProperties()
RWUnitDef[] getGridDef()
WebAxis getRowsAxis(String gridKey)
String getScriptClass()

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

String getVisPropValue(String propName)
String getVisPropValue(String propName, String gridKey)
WebTemplate getWebTemplate(String gridKey)
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.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 APPLY_THRESHOLDS_ON_MAP

Constant Value: "at"

public static final String AREA_FUSION_TABLE

Constant Value: "aft"

public static final String ATTRIBUTE_FORM_FOR_LATITUDE_FROM_GA

Constant Value: "flat"

public static final String ATTRIBUTE_FORM_FOR_LONGITUDE_FROM_GA

Constant Value: "flong"

public static final String BASE_MAP_ESRI

Constant Value: "1"

public static final String BASE_MAP_GOOGLE

Constant Value: "2"

public static final String GEO_ATTRIBUTE_ID

Constant Value: "ga"

public static final String LAYOUT_KEY_INDEX

Constant Value: "lyt"

public static final String MARKER_STYLE_ON_THE_MAP

Constant Value: "mstyl"

public static final String PRIMARY_GRID_KEY

Constant Value: "pgk"

public static final String RADIO_OPTION_DENSITY

Constant Value: "4"

public static final String RADIO_OPTION_DYNAMIC_BUBBLES

Constant Value: "2"

public static final String RADIO_OPTION_LAT_LONG

Constant Value: "2"

public static final String RADIO_OPTION_MARKER_STYLE

Constant Value: "1"

public static final String RADIO_OPTION_PATH

Constant Value: "5"

public static final String RADIO_OPTION_POINT

Constant Value: "1"

public static final String SHOW_MARKER_OR_AREA

Constant Value: "sma"

public static final String USE_DOCUMENT_LAYOUT_FOR_INFO_WINDOW

Constant Value: "dl"

Fields

public static final HashList<String, String> BASE_MAP_LIST

public static final HashList<String, String> ESRI_GOOGLE_PROP_MAP

protected String _errorMessage

Public Constructors

public IPhoneMapVisualizationPropertiesTransform ()

Public Methods

public List<String> getKeyList ()

This method return a Key list for Grids in Doc, the first key corresponds to the primary key For report, it return a list containing an element "-1".

public Map getTemplateKey (String gridKey)

public Map getTemplateName (String gridKey)

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 isDisplay ()

public boolean isIE ()

public boolean isValidGrid ()

public void renderAttributeFormsPulldown (MarkupOutput out, String propName, String gridKey, HashList<String, String> extraAttributes, HashList<String, String> elems)

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

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

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

public void renderBaseMapPulldown (MarkupOutput out, String propName)

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

Renders a checkbox.
Assumes the true value is "1"
Adds the attribute (visprop="1") that informs the visualization Properties editor to save this value

Parameters
out The Markup output of this transform
propName the name of the property to render and read the value from
defaultValue A list with value/name pairs of extra attributes to add to the input. The format is "onclick^alert('a')|onchange^alert('b')"
gridKey the default value for the textbox. Used if the property is not saved.

public void renderCheckbox (MarkupOutput out, String propName, HashList<String, String> extraAttributes, String defaultValue, String gridKey)

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

public void renderDatasetRadio (MarkupOutput out)

public void renderDefaultViewPulldown (MarkupOutput out, String propName)

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

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

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

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

public void renderElemsVisibilityOptionsLink (MarkupOutput out)

public void renderHiddenInput (MarkupOutput out, String propName, String value, String extraAtts)

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

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

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

public void renderMapElemsVisibilityOptionsMenu (MarkupOutput out)

public void renderMapSizingStylePulldown (MarkupOutput out, String propName, String gridKey, boolean includeEmptyOpt)

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

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

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

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

public void renderRadio (MarkupOutput out, String propName, HashList<String, String> elems, HashList<String, String> extraAttributes, String selectedVal, String gridKey)

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

public void renderSelectBox (MarkupOutput out, String propName, HashList<String, String> elems, HashList<String, String> extraAttributes, String selectedVal, String gridKey)

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

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

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

public void renderTabs (MarkupOutput out)

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

Renders a text input.
Adds the attribute (visprop="1") that informs the visualization Properties editor to save this value

Parameters
out The Markup output of this transform
propName the name of the property to render and read the value from
defaultValue A list with value/name pairs of extra attributes to add to the input. The format is "onclick^alert('a')|onchange^alert('b')"
gridKey the default value for the textbox. Used if the property is not saved.

public void renderTextbox (MarkupOutput out, String propName, String defaultValue, String gridKey, HashList<String, String> extraAttributes)

public void renderValidationError (MarkupOutput out)

Protected Methods

protected void addSpecialExtraAttributes (String gridKey, HashList<String, String> extraAttributes)

protected HashList<String, String> getAttributes (String gridKey)

protected ResourceBundle getDensityMapsProperties ()

protected RWUnitDef[] getGridDef ()

protected WebAxis getRowsAxis (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 String getVisPropValue (String propName)

Parameters
propName The property name
Returns
  • The value of a visualization Property

protected String getVisPropValue (String propName, String gridKey)

protected WebTemplate getWebTemplate (String gridKey)

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.