Class 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
-
- All Implemented Interfaces:
AppTransform
,LayoutTransform
,Transform
- Direct Known Subclasses:
ESRIVisualizationPropertiesTransform
public class IPhoneMapVisualizationPropertiesTransform extends VisualizationPropertiesTransform
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_errorMessage
static java.lang.String
APPLY_THRESHOLDS_ON_MAP
static java.lang.String
AREA_FUSION_TABLE
static java.lang.String
ATTRIBUTE_FORM_FOR_LATITUDE_FROM_GA
static java.lang.String
ATTRIBUTE_FORM_FOR_LONGITUDE_FROM_GA
static java.lang.String
BASE_MAP_ESRI
static java.lang.String
BASE_MAP_GOOGLE
static HashList<java.lang.String,java.lang.String>
BASE_MAP_LIST
static java.lang.String
BASE_MAP_MAPBOX
static HashList<java.lang.String,java.lang.String>
ESRI_GOOGLE_PROP_MAP
static java.lang.String
GEO_ATTRIBUTE_ID
static java.lang.String
LAYOUT_KEY_INDEX
static java.lang.String
MARKER_STYLE_ON_THE_MAP
static java.lang.String
PRIMARY_GRID_KEY
static java.lang.String
RADIO_OPTION_DENSITY
static java.lang.String
RADIO_OPTION_DYNAMIC_BUBBLES
static java.lang.String
RADIO_OPTION_LAT_LONG
static java.lang.String
RADIO_OPTION_MARKER_STYLE
static java.lang.String
RADIO_OPTION_PATH
static java.lang.String
RADIO_OPTION_POINT
static java.lang.String
SHOW_MARKER_OR_AREA
static java.lang.String
USE_DOCUMENT_LAYOUT_FOR_INFO_WINDOW
-
Fields inherited from class com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
_rb, _rwb, _template, _vb, colorPickerName, FP_COLOR_PICKER_NAME
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width
-
-
Constructor Summary
Constructors Constructor Description IPhoneMapVisualizationPropertiesTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addSpecialExtraAttributes(java.lang.String gridKey, HashList<java.lang.String,java.lang.String> extraAttributes)
protected HashList<java.lang.String,java.lang.String>
getAttributes(java.lang.String gridKey)
protected java.util.ResourceBundle
getDensityMapsProperties()
protected RWUnitDef[]
getGridDef()
java.util.List<java.lang.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".protected WebAxis
getRowsAxis(java.lang.String gridKey)
protected java.lang.String
getScriptClass()
Returns the name of the javaScript class (if any) to be associated with the component.java.util.Map
getTemplateKey(java.lang.String gridKey)
java.util.Map
getTemplateName(java.lang.String gridKey)
protected java.lang.String
getVisPropValue(java.lang.String propName)
protected java.lang.String
getVisPropValue(java.lang.String propName, java.lang.String gridKey)
protected WebTemplate
getWebTemplate(java.lang.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, java.lang.String propName, java.lang.String gridKey)
void
renderAttributeFormsPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey, HashList<java.lang.String,java.lang.String> extraAttributes, HashList<java.lang.String,java.lang.String> elems)
void
renderAttributeOrFormPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderAttributePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderAutoShowCurrLocCheckbox(MarkupOutput out, java.lang.String propName)
void
renderBaseMapPulldown(MarkupOutput out, java.lang.String propName)
void
renderCheckbox(MarkupOutput out, java.lang.String propName, HashList<java.lang.String,java.lang.String> extraAttributes, java.lang.String defaultValue, java.lang.String gridKey)
void
renderCheckbox(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String gridKey)
Renders a checkbox.void
renderColorPicker(MarkupOutput out, java.lang.String propName, java.lang.String gridKey, java.lang.String defaultValue)
void
renderDatasetRadio(MarkupOutput out)
void
renderDefaultViewPulldown(MarkupOutput out, java.lang.String propName)
void
renderDensityPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderDisplayAffinityCheckbox(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderDisplayInfoWinCheckbox(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderDrawingPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderElemsVisibilityOptionsLink(MarkupOutput out)
void
renderHiddenInput(MarkupOutput out, java.lang.String propName, java.lang.String value, java.lang.String extraAtts)
void
renderImageRadio(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderLayoutPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderLookupAttributePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderMapElemsVisibilityOptionsMenu(MarkupOutput out)
void
renderMapSizingStylePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderMapSizingStylePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey, boolean includeEmptyOpt)
void
renderMarkerStylePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderMaxLineThicknessPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderPointLatLongPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderRadio(MarkupOutput out, java.lang.String propName, HashList<java.lang.String,java.lang.String> elems, HashList<java.lang.String,java.lang.String> extraAttributes, java.lang.String selectedVal, java.lang.String gridKey)
void
renderSecondaryDataProvidersSelectbox(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderSelectBox(MarkupOutput out, java.lang.String propName, HashList<java.lang.String,java.lang.String> elems, HashList<java.lang.String,java.lang.String> extraAttributes, java.lang.String selectedVal, java.lang.String gridKey)
void
renderShapePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
void
renderShowAreaRadioButton(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String key)
void
renderShowCurrLocCheckbox(MarkupOutput out, java.lang.String propName)
void
renderShowCurrLocLevelPulldown(MarkupOutput out, java.lang.String propName)
void
renderShowMarkerRadioButton(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String key)
void
renderTabs(MarkupOutput out)
void
renderTextbox(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String gridKey)
Renders a text input.
Adds the attribute (visprop="1") that informs the visualization Properties editor to save this valuevoid
renderTextbox(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String gridKey, HashList<java.lang.String,java.lang.String> extraAttributes)
void
renderValidationError(MarkupOutput out)
protected void
setBoneProperties(JsonGenerator boneProps)
Sets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClass
formal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.-
Methods inherited from class com.microstrategy.web.app.transforms.VisualizationPropertiesTransform
getColorPicker, getDescription, getEditorBean, getHashListFromString, getStyleShellDiv, getTemplateName, getWebTemplate, isDescriptor, isDialog, isOpen, isRW, renderCheckbox, renderCheckbox, renderCheckbox, renderCheckbox, renderColorDropdown, renderColorPicker, renderColorPicker, renderHiddenInput, renderHiddenInput, renderHiddenInput, renderJavascript, renderRadio, renderRadio, renderRadio, renderRadio, renderRadio, renderRadio, renderSecondaryDataProvidersSelectbox, renderSelectBox, renderSelectBox, renderSelectBox, renderSelectBox, renderSelectBox, renderSelectBox, renderTabs, renderTextarea, renderTextarea, renderTextarea, renderTextarea, renderTextarea, renderTextbox, renderTextbox, renderTextbox, renderTextbox, setExtraAttributesOnInput, transformForRequestSuccessful
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchor, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getBoneId, getCancelEvent, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorMessage, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getStringValue, getStyleRequestContext, getSupportedBeanType, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeCss, initializeImages, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderImage, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestInError, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.transform.LayoutTransform
getLayoutDefinition, setLayoutDefinition
-
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getID, getPreview, getSupportedBeanType, isPreviewAvailable, isResolved, supports, supports, transform
-
-
-
-
Field Detail
-
GEO_ATTRIBUTE_ID
public static final java.lang.String GEO_ATTRIBUTE_ID
- See Also:
- Constant Field Values
-
ATTRIBUTE_FORM_FOR_LATITUDE_FROM_GA
public static final java.lang.String ATTRIBUTE_FORM_FOR_LATITUDE_FROM_GA
- See Also:
- Constant Field Values
-
ATTRIBUTE_FORM_FOR_LONGITUDE_FROM_GA
public static final java.lang.String ATTRIBUTE_FORM_FOR_LONGITUDE_FROM_GA
- See Also:
- Constant Field Values
-
MARKER_STYLE_ON_THE_MAP
public static final java.lang.String MARKER_STYLE_ON_THE_MAP
- See Also:
- Constant Field Values
-
AREA_FUSION_TABLE
public static final java.lang.String AREA_FUSION_TABLE
- See Also:
- Constant Field Values
-
APPLY_THRESHOLDS_ON_MAP
public static final java.lang.String APPLY_THRESHOLDS_ON_MAP
- See Also:
- Constant Field Values
-
USE_DOCUMENT_LAYOUT_FOR_INFO_WINDOW
public static final java.lang.String USE_DOCUMENT_LAYOUT_FOR_INFO_WINDOW
- See Also:
- Constant Field Values
-
LAYOUT_KEY_INDEX
public static final java.lang.String LAYOUT_KEY_INDEX
- See Also:
- Constant Field Values
-
RADIO_OPTION_POINT
public static final java.lang.String RADIO_OPTION_POINT
- See Also:
- Constant Field Values
-
RADIO_OPTION_LAT_LONG
public static final java.lang.String RADIO_OPTION_LAT_LONG
- See Also:
- Constant Field Values
-
RADIO_OPTION_MARKER_STYLE
public static final java.lang.String RADIO_OPTION_MARKER_STYLE
- See Also:
- Constant Field Values
-
RADIO_OPTION_DYNAMIC_BUBBLES
public static final java.lang.String RADIO_OPTION_DYNAMIC_BUBBLES
- See Also:
- Constant Field Values
-
RADIO_OPTION_DENSITY
public static final java.lang.String RADIO_OPTION_DENSITY
- See Also:
- Constant Field Values
-
RADIO_OPTION_PATH
public static final java.lang.String RADIO_OPTION_PATH
- See Also:
- Constant Field Values
-
SHOW_MARKER_OR_AREA
public static final java.lang.String SHOW_MARKER_OR_AREA
- See Also:
- Constant Field Values
-
BASE_MAP_ESRI
public static final java.lang.String BASE_MAP_ESRI
- See Also:
- Constant Field Values
-
BASE_MAP_GOOGLE
public static final java.lang.String BASE_MAP_GOOGLE
- See Also:
- Constant Field Values
-
BASE_MAP_MAPBOX
public static final java.lang.String BASE_MAP_MAPBOX
- See Also:
- Constant Field Values
-
PRIMARY_GRID_KEY
public static final java.lang.String PRIMARY_GRID_KEY
- See Also:
- Constant Field Values
-
ESRI_GOOGLE_PROP_MAP
public static final HashList<java.lang.String,java.lang.String> ESRI_GOOGLE_PROP_MAP
-
BASE_MAP_LIST
public static final HashList<java.lang.String,java.lang.String> BASE_MAP_LIST
-
_errorMessage
protected java.lang.String _errorMessage
-
-
Method Detail
-
initializeTransform
public void initializeTransform(Transformable data)
Description copied from class:AbstractAppTransform
This method initialize the private and protected fields of the transform, such as width and height. It also invokes the
This method is automatically called from theinitializeWebComponent
,initializeImages
andinitializeCss
methods.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.- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classVisualizationPropertiesTransform
- Parameters:
data
- the bean to transform.
-
getDensityMapsProperties
protected java.util.ResourceBundle getDensityMapsProperties()
-
getScriptClass
protected java.lang.String getScriptClass()
Description copied from class:AbstractAppTransform
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.- Overrides:
getScriptClass
in classAbstractAppTransform
- Returns:
String
representing the name of a javaScript class
-
renderShowMarkerRadioButton
public void renderShowMarkerRadioButton(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String key)
-
renderShowAreaRadioButton
public void renderShowAreaRadioButton(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String key)
-
renderAttributeFormsPulldown
public void renderAttributeFormsPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderAttributeFormsPulldown
public void renderAttributeFormsPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey, HashList<java.lang.String,java.lang.String> extraAttributes, HashList<java.lang.String,java.lang.String> elems)
-
renderDrawingPulldown
public void renderDrawingPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderMaxLineThicknessPulldown
public void renderMaxLineThicknessPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderAttributeOrFormPulldown
public void renderAttributeOrFormPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderMapSizingStylePulldown
public void renderMapSizingStylePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderMapSizingStylePulldown
public void renderMapSizingStylePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey, boolean includeEmptyOpt)
-
renderLayoutPulldown
public void renderLayoutPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
isIE
public boolean isIE()
-
renderPointLatLongPulldown
public void renderPointLatLongPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderAttributePulldown
public void renderAttributePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderShapePulldown
public void renderShapePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderSecondaryDataProvidersSelectbox
public void renderSecondaryDataProvidersSelectbox(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderLookupAttributePulldown
public void renderLookupAttributePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderImageRadio
public void renderImageRadio(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderCheckbox
public void renderCheckbox(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String gridKey)
Description copied from class:VisualizationPropertiesTransform
Renders a checkbox.
Assumes the true value is "1"
Adds the attribute (visprop="1") that informs the visualization Properties editor to save this value- Overrides:
renderCheckbox
in classVisualizationPropertiesTransform
- Parameters:
out
- The Markup output of this transformpropName
- the name of the property to render and read the value fromdefaultValue
- 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.
-
renderCheckbox
public void renderCheckbox(MarkupOutput out, java.lang.String propName, HashList<java.lang.String,java.lang.String> extraAttributes, java.lang.String defaultValue, java.lang.String gridKey)
-
renderRadio
public void renderRadio(MarkupOutput out, java.lang.String propName, HashList<java.lang.String,java.lang.String> elems, HashList<java.lang.String,java.lang.String> extraAttributes, java.lang.String selectedVal, java.lang.String gridKey)
-
renderHiddenInput
public void renderHiddenInput(MarkupOutput out, java.lang.String propName, java.lang.String value, java.lang.String extraAtts)
-
renderMarkerStylePulldown
public void renderMarkerStylePulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderSelectBox
public void renderSelectBox(MarkupOutput out, java.lang.String propName, HashList<java.lang.String,java.lang.String> elems, HashList<java.lang.String,java.lang.String> extraAttributes, java.lang.String selectedVal, java.lang.String gridKey)
-
renderDensityPulldown
public void renderDensityPulldown(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderBaseMapPulldown
public void renderBaseMapPulldown(MarkupOutput out, java.lang.String propName)
-
renderDefaultViewPulldown
public void renderDefaultViewPulldown(MarkupOutput out, java.lang.String propName)
-
renderShowCurrLocCheckbox
public void renderShowCurrLocCheckbox(MarkupOutput out, java.lang.String propName)
-
renderShowCurrLocLevelPulldown
public void renderShowCurrLocLevelPulldown(MarkupOutput out, java.lang.String propName)
-
renderAutoShowCurrLocCheckbox
public void renderAutoShowCurrLocCheckbox(MarkupOutput out, java.lang.String propName)
-
isValidGrid
public boolean isValidGrid()
-
renderDisplayInfoWinCheckbox
public void renderDisplayInfoWinCheckbox(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderDisplayAffinityCheckbox
public void renderDisplayAffinityCheckbox(MarkupOutput out, java.lang.String propName, java.lang.String gridKey)
-
renderColorPicker
public void renderColorPicker(MarkupOutput out, java.lang.String propName, java.lang.String gridKey, java.lang.String defaultValue)
-
renderElemsVisibilityOptionsLink
public void renderElemsVisibilityOptionsLink(MarkupOutput out)
-
renderMapElemsVisibilityOptionsMenu
public void renderMapElemsVisibilityOptionsMenu(MarkupOutput out)
-
renderValidationError
public void renderValidationError(MarkupOutput out)
-
isDisplay
public boolean isDisplay()
-
setBoneProperties
protected void setBoneProperties(JsonGenerator boneProps)
Description copied from class:AbstractAppTransform
Sets the necessary properties to the bone assigned to this transform (based on theAbstractAppTransform.scriptClass
formal parameter)
Usually called byAbstractAppTransform.renderRegisterBone(MarkupOutput)
Can be overwritten to add or modify bone properties.- Overrides:
setBoneProperties
in classVisualizationPropertiesTransform
- Parameters:
boneProps
- the JsonGenerator object that contains the collection of bone properties.
-
getRowsAxis
protected WebAxis getRowsAxis(java.lang.String gridKey)
-
getVisPropValue
protected java.lang.String getVisPropValue(java.lang.String propName)
- Overrides:
getVisPropValue
in classVisualizationPropertiesTransform
- Parameters:
propName
- The property name- Returns:
- The value of a visualization Property
-
getVisPropValue
protected java.lang.String getVisPropValue(java.lang.String propName, java.lang.String gridKey)
-
getTemplateName
public java.util.Map getTemplateName(java.lang.String gridKey)
-
getGridDef
protected RWUnitDef[] getGridDef()
-
getTemplateKey
public java.util.Map getTemplateKey(java.lang.String gridKey)
-
getAttributes
protected HashList<java.lang.String,java.lang.String> getAttributes(java.lang.String gridKey)
-
getWebTemplate
protected WebTemplate getWebTemplate(java.lang.String gridKey)
-
renderTabs
public void renderTabs(MarkupOutput out)
-
renderDatasetRadio
public void renderDatasetRadio(MarkupOutput out)
-
getKeyList
public java.util.List<java.lang.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".- Returns:
-
renderTextbox
public void renderTextbox(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String gridKey)
Description copied from class:VisualizationPropertiesTransform
Renders a text input.
Adds the attribute (visprop="1") that informs the visualization Properties editor to save this value- Overrides:
renderTextbox
in classVisualizationPropertiesTransform
- Parameters:
out
- The Markup output of this transformpropName
- the name of the property to render and read the value fromdefaultValue
- 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.
-
renderTextbox
public void renderTextbox(MarkupOutput out, java.lang.String propName, java.lang.String defaultValue, java.lang.String gridKey, HashList<java.lang.String,java.lang.String> extraAttributes)
-
addSpecialExtraAttributes
protected void addSpecialExtraAttributes(java.lang.String gridKey, HashList<java.lang.String,java.lang.String> extraAttributes)
-
-