Class AbstractReportGridTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.AbstractWebBeanTransform
-
- com.microstrategy.web.app.transforms.AbstractReportTransform
-
- com.microstrategy.web.app.transforms.AbstractReportDataTransform
-
- com.microstrategy.web.app.transforms.AbstractReportGridTransform
-
- All Implemented Interfaces:
AppTransform
,ReportDataTransform
,LayoutTransform
,Transform
- Direct Known Subclasses:
ReportGridTransformImpl
,ReportPageByTransform
public abstract class AbstractReportGridTransform extends AbstractReportDataTransform
The AbstractReportGridTransform is an base class for those transform that generate a grid visualization of the data returned by a Report.
It serves two main purposes a)to hold an initialize common formal parameters, and b)as a factory forReportGridDisplayCell
classes.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
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 ContextMenuManager
_contextMenuManager
protected java.util.HashMap
_gridCellClasses
protected java.lang.String
_imgRemove
The full image name for remove button.protected java.lang.String
_imgShiftDown
The full image name for shift-to-down pivot button.protected java.lang.String
_imgShiftLeft
The full image name for shift-to-left pivot button.protected java.lang.String
_imgShiftLeftDown
The full image name for shift-left-down pivot button.protected java.lang.String
_imgShiftRight
The full image name for shift-to-right pivot button.protected java.lang.String
_imgShiftRightDown
Deprecated.This parameter has been deprecated as it was only used by the ReportPageByTransform.protected java.lang.String
_imgShiftRightUp
The full image name for shift-right-up pivot button.protected java.lang.String
_imgShiftUp
The full image name for shift-to-up pivot button.protected java.lang.String
_imgToPageBy
The full image name for shift-to-pageby pivot button.protected ReportDisplayCellsFactory
_rdcFactory
This factory object is used to generate a cell instance for a particular type if necessary.protected boolean
_reuseFlag
This flag is used to indicate reuse the cell instances from the above cell factory or not.protected FormalParameter
addNumberFormatting
Whether to add the number formatting on metric values.protected java.lang.String
COL_HEADER
protected java.lang.String
COL_HEADER_CLASS
protected java.lang.String
COL_TITLE
protected java.lang.String
COL_TITLE_CLASS
protected FormalParameter
contextMenuName
This is the parameter to define the name of the context menu to use.protected java.lang.String
DISPLAY_CELL
protected java.lang.String
DISPLAY_CELL_CLASS
protected FormalParameter
gridClassesConfFile
It is used to indicate the name and location of the properties file containing the definition of the grid classes to use.protected FormalParameter
imgRemove
This is the image name for remove image used in the transform.protected FormalParameter
imgShiftDown
This is the image name for shift down arrow used in the transform.protected FormalParameter
imgShiftLeft
This is the image name for shift left arrow used in the transform.protected FormalParameter
imgShiftLeftDown
This is the image name for shift left down arrow (pivot to row) used in the transform.protected FormalParameter
imgShiftRight
This is the image name for shift right arrow used in the transform.protected FormalParameter
imgShiftRightDown
Deprecated.This parameter has been deprecated as it was only used by the ReportPageByTransform.protected FormalParameter
imgShiftRightUp
This is the image name for shift right up arrow (pivot to column) used in the transform.protected FormalParameter
imgShiftUp
This is the image name for shift up arrow used in the transform.protected FormalParameter
imgToPageBy
This is the image name for to-page-by image used in the transform.protected FormalParameter
isContextMenuEnabled
Deprecated.To customize context-menus use the xml-definition specified byAbstractAppTransform.contextMenus
protected FormalParameter
isDragAndDropEnabled
This is the flag used in the transform to specify whether to enable drag and drop functionality.protected java.lang.String
METRIC_VALUE
protected java.lang.String
METRIC_VALUE_CLASS
protected FormalParameter
postTextForMetricValue
This is the post text for the metric value cell content.protected FormalParameter
postTextForNonMetricValue
This is the post text for the non-metric value cell content.protected FormalParameter
preTextForMetricValue
This is the pre text for the metric value cell content.protected FormalParameter
preTextForNonMetricValue
This is the pre text for the non-metric value cell content.protected FormalParameter
reportDesignModePara
This is the report mode flag used in the transform.protected FormalParameter
returnReplacement
This is the substring that when found in the cell will be replaced by a break (<br>) tag.protected java.lang.String
REUSE_FLAG
Note: for the purpose of cell reuse.protected java.lang.String
ROW_HEADER
protected java.lang.String
ROW_HEADER_CLASS
protected java.lang.String
ROW_TITLE
protected java.lang.String
ROW_TITLE_CLASS
protected FormalParameter
showContextMenus
Deprecated.use isContextMenuEnabled instead.protected FormalParameter
showDescriptionAsTooltip
It is used in the transform to specify whether to show the descriptions in the tooltip for the row or column titles.protected FormalParameter
showExtraRemoveRMC
This is the flag used in the transform to specify whether to show a second Right Mouse Click menu for removing option.protected FormalParameter
showFormattingRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for formatting.protected FormalParameter
showGridInFullWidth
Deprecated.Previously used only in design mode of the report.protected FormalParameter
showPivotPara
This is the flag used in the transform to specify whether to show pivot buttons.protected FormalParameter
showPivotRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for pivoting.protected FormalParameter
showRemovePara
This is the flag used in the transform to specify whether to show remove buttons.protected FormalParameter
showRemoveRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for removing.protected FormalParameter
showRenameRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for renaming.-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractReportDataTransform
_blankImage, _cssBottom, _cssCenter, _cssLeft, _cssRight, _cssTop, _ifLeftArrowImage, _ifRightArrowImage, advancedDrillingContextMenuDisplay, BLANK_SUBSET_REPORT_ID, cssBottom, cssCenter, cssLeft, cssRight, cssTop, customJavaScriptFeatures, drillRetainThresholds, drillWithinBehavior, gridGraphUnitKeyContext, groupContextMenuDrillPathsByType, hasIncreFetchForColumnOnLeft, hasIncreFetchForColumnOnRight, id, ifLeftArrowImage, ifRightArrowImage, incrementalFetchStyleForRow, quickSwitch, quickSwitchCurrent, rwbViewerID, showDrillPathSetNamesSubMenuAtTopLevel, showIncreFetchForColumn, showIncreFetchForRowOnBottom, showIncreFetchForRowOnTop, showSubtitlePara, sortSetNamesAndDrillPaths, transformContext, uniqueReportId
-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractReportTransform
BLANK_XDA_REPORT_ID, cssErrorMessage, cssErrorTitle, cssUseFileContent, generateJSForDrillCheckBoxesForIncFetch, iFramePara, imgError, showScroller, useBuiltInFormatPara
-
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 AbstractReportGridTransform()
default no-args constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
generateJavaScriptForDragAndDrop(MarkupOutput out, ReportBean rb)
Deprecated.This method has been deprecated and will be removed in future versions of the product.protected java.lang.String
getCssPrefix()
Get the prefix for the css class name.protected int
getDesignMode()
Deprecated.- use isDesignMode insteadprotected ReportGridDisplayCell
getGridCell(java.lang.String className)
Get the cell instance for the given cell class name.protected ReportGridCellColHeader
getGridCellColHeader()
protected ReportGridCellColTitle
getGridCellColTitle()
protected ReportGridCellMetricValue
getGridCellMetricValue()
protected ReportGridCellRowHeader
getGridCellRowHeader()
protected ReportGridCellRowTitle
getGridCellRowTitle()
protected ReportGridCell
getGridGenericCell()
protected void
initGridCellClasses()
Deprecated.This method is deprecated and will be removed in future versions of the product.
It's not invoked anymore by the Transform, and calling it has no effect.protected void
initializeCellClasses()
Reads the configuration with the cell classes and caches its content, then it callssetGridCellClass
for each different cell type.void
initializeImages()
initialize the images for the transform.void
initializeProperties()
ExtendsinitializeProperties
by invokinginitializeTranformContext
void
initializeTransform(Transformable data)
ExtendsinitializeTransform
by initiliazing the grid cell classes by callinginitializeCellClasses
protected boolean
isContextMenuEnabled()
Deprecated.Please query directly theisContextMenuEnabled
formal parameter insteadprotected boolean
isDragAndDropEnabled()
Deprecated.Please query directly theisDragAndDropEnabled
formal parameter insteadprotected boolean
isGraphTransform()
protected boolean
isGridTransform()
protected void
setGridCellClass(java.lang.String classKey, java.lang.String className)
This method initializes the classes used to render headers, titles and metric values.protected void
setGridCellClass(java.util.Properties properties, java.lang.String classKey, java.lang.String defaultClassName)
This method initializes the classes used to render headers, titles and metric values by using a property file.protected boolean
showFormattingRMC()
Deprecated.Please query directly theshowFormattingRMC
formal parameter insteadprotected boolean
showPivot()
Deprecated.Please query directly theshowPivotPara
formal parameter insteadprotected boolean
showPivotRMC()
Deprecated.Please query directly theshowPivotRMC
formal parameter insteadprotected boolean
showRemove()
Deprecated.Please query directly theshowRemovePara
formal parameter insteadprotected boolean
showRemoveRMC()
Deprecated.Please query directly theshowRemoveRMC
formal parameter insteadprotected boolean
showRenameRMC()
Deprecated.Please query directly theshowRenameRMC
formal parameter instead-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportDataTransform
createBlockEditorProperties, createBlockEditorProperties, generatePageHistoryItems, getAttributesShellDiv, getBeanPath, getBoneId, getDisplayMode, getFrameBean, getGridData, getGridScriptClass, getGridWidths, getID, getMetricAxisName, getReportSetting, getTransformContext, getViewBean, getWebTemplate, hasBottom, hasCenter, hasLeft, hasRight, hasTop, initializeCss, initializeTranformContext, initializeWebComponent, isCalledFromPrinting, isGridEmpty, isQuickSwitchEnabled, isRWBean, renderBottom, renderContent, renderIncreFetchOnColumnLeftPart, renderIncreFetchOnColumnRightPart, renderIncreFetchOnRow, renderJavascript, renderLeft, renderRight, renderRowsIncrementalFetch, renderTop, setBoneProperties, shouldRenderGridInfo, showSubtitle, showSubtitle, showSubTitleOnly, supports, supports, transformForRequestSuccessful
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportTransform
canTransform, generateAnchor, generateErrorForIframe, generateErrorForIframe, generateIncFetchAnchor, generateIncFetchOpenAnchor, getCancelEvent, getContinueEvent, getErrorMessage, getErrorTitle, getHistoryListEvent, getInboxSource, getJobExpiredMessage, getNextColumnsEvent, getPreviousColumnsEvent, getReexecuteButtonDescription, getReportBean, getReportStatus, getReportStatusDescriptorKey, getRepromptEvent, getSupportedBeanType, getViewDetailsEvent, getWebReexecuteEvent, isCubeReport, isDatamart, isDesignMode, isIFrameEnabled, isIncRefreshReport, isNonViewableReport, renderColumnsIncrementalFetch, renderColumnsIncrementalFetchNext, renderColumnsIncrementalFetchPrevious, renderContinueFormForRequestInError, renderErrorButtons, renderErrorInfo, renderHistoryListButton, renderImage, renderJobExpiredSection, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoDetails, renderViewDetailsButton, setWebReexecuteEventArguments, transformForRequestInError, transformForRequestNotInited, useBuiltInFormat
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractWebBeanTransform
getReexcuteEventFromBean, getTaskProcessorBaseURL
-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestProcessing, transformForRequestWaitingForUserInput
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated
-
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.app.transforms.ReportDataTransform
renderCenter, renderData, renderEmptyCase, renderLayout
-
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getDescription, getFormalParams, getPreview, getSupportedBeanType, isPreviewAvailable, isResolved, transform
-
-
-
-
Field Detail
-
reportDesignModePara
protected FormalParameter reportDesignModePara
This is the report mode flag used in the transform.
not needed any more because we have two seperate transforms for execute mode and design mode: ReportGridTransformImpl and ReportDesignModeTransformImpl
Allowed Values: integer values from enumeration EnumReportViewModes.
-
isDragAndDropEnabled
protected FormalParameter isDragAndDropEnabled
This is the flag used in the transform to specify whether to enable drag and drop functionality.
Allowed Values: TRUE/FALSE.
-
isContextMenuEnabled
protected FormalParameter isContextMenuEnabled
Deprecated.To customize context-menus use the xml-definition specified byAbstractAppTransform.contextMenus
This is the flag used in the transform to specify whether to enable context menu functionality.
Allowed Values: TRUE/FALSE.
-
showPivotPara
protected FormalParameter showPivotPara
This is the flag used in the transform to specify whether to show pivot buttons.
Allowed Values: TRUE/FALSE.
-
showRemovePara
protected FormalParameter showRemovePara
This is the flag used in the transform to specify whether to show remove buttons.
Allowed Values: TRUE/FALSE.
-
showPivotRMC
protected FormalParameter showPivotRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for pivoting.
Allowed Values: TRUE/FALSE.
-
showRemoveRMC
protected FormalParameter showRemoveRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for removing.
Allowed Values: TRUE/FALSE.
-
showExtraRemoveRMC
protected FormalParameter showExtraRemoveRMC
This is the flag used in the transform to specify whether to show a second Right Mouse Click menu for removing option.
This second option will allow the Remove From Report manipulation only if Remove From Grid is granted to the user andshowRemoveRMC
is enabled. Allowed Values: TRUE/FALSE.- Since:
- MicroStrategy Web 8.0.0
-
showFormattingRMC
protected FormalParameter showFormattingRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for formatting.
Allowed Values: TRUE/FALSE.
-
showRenameRMC
protected FormalParameter showRenameRMC
This is the flag used in the transform to specify whether to show Right Mouse Click menu for renaming.
Allowed Values: TRUE/FALSE.
-
contextMenuName
protected FormalParameter contextMenuName
This is the parameter to define the name of the context menu to use.
Allowed Values: String values.
-
showContextMenus
protected FormalParameter showContextMenus
Deprecated.use isContextMenuEnabled instead.It is used in the transform to specify whether to enable context menu functionality.
Allowed Values: TRUE/FALSE.
-
preTextForMetricValue
protected FormalParameter preTextForMetricValue
This is the pre text for the metric value cell content. Most likely used with exporting feature.
Allowed Values: String values.
-
returnReplacement
protected FormalParameter returnReplacement
This is the substring that when found in the cell will be replaced by a break (<br>) tag.
Allowed Values: String values.- Since:
- MicroStrategy Web 8.0.0
-
postTextForMetricValue
protected FormalParameter postTextForMetricValue
This is the post text for the metric value cell content. Most likely used with exporting feature.
Allowed Values: String values.
-
preTextForNonMetricValue
protected FormalParameter preTextForNonMetricValue
This is the pre text for the non-metric value cell content. Most likely used with exporting feature.
Allowed Values: String values.
-
postTextForNonMetricValue
protected FormalParameter postTextForNonMetricValue
This is the post text for the non-metric value cell content. Most likely used with exporting feature.
Allowed Values: String values.
-
showDescriptionAsTooltip
protected FormalParameter showDescriptionAsTooltip
It is used in the transform to specify whether to show the descriptions in the tooltip for the row or column titles.
It should be of BOOLEAN type.
Allowed Values: "1" means TRUE, "0" means FALSE.
-
imgShiftLeft
protected FormalParameter imgShiftLeft
This is the image name for shift left arrow used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgShiftRight
protected FormalParameter imgShiftRight
This is the image name for shift right arrow used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgShiftUp
protected FormalParameter imgShiftUp
This is the image name for shift up arrow used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgShiftDown
protected FormalParameter imgShiftDown
This is the image name for shift down arrow used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgShiftRightUp
protected FormalParameter imgShiftRightUp
This is the image name for shift right up arrow (pivot to column) used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgShiftLeftDown
protected FormalParameter imgShiftLeftDown
This is the image name for shift left down arrow (pivot to row) used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgShiftRightDown
protected FormalParameter imgShiftRightDown
Deprecated.This parameter has been deprecated as it was only used by the ReportPageByTransform.This is the image name for pivot-to-cols image used in the transform.
Allowed values: a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgToPageBy
protected FormalParameter imgToPageBy
This is the image name for to-page-by image used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
imgRemove
protected FormalParameter imgRemove
This is the image name for remove image used in the transform.
Allowed Values: The value to indicate should be a valid image file name, with any necessary path information not included already on theresourcesFolderImage
application configuration parameter.
-
showGridInFullWidth
protected FormalParameter showGridInFullWidth
Deprecated.Previously used only in design mode of the report. Deprecated because now the layout of the grid will be dictated by the column width setting, i.e. whether it is set to Fit to Contents or Fit to Window.It is used in the transform to specify whether to show the grid in full width.
If TRUE, the grid will expand to the complete browser window; If FALSE, the grid will fit to the content in each cell. Allowed Values: TRUE/FALSE.
-
gridClassesConfFile
protected FormalParameter gridClassesConfFile
It is used to indicate the name and location of the properties file containing the definition of the grid classes to use.- Since:
- MicroStrategy Web 7.5.1
-
addNumberFormatting
protected FormalParameter addNumberFormatting
Whether to add the number formatting on metric values.- Since:
- MicroStrategy Web 8.0.2
-
_imgShiftLeft
protected java.lang.String _imgShiftLeft
The full image name for shift-to-left pivot button.
It includeds the image folder path.
-
_imgShiftRight
protected java.lang.String _imgShiftRight
The full image name for shift-to-right pivot button.
It includeds the image folder path.
-
_imgShiftUp
protected java.lang.String _imgShiftUp
The full image name for shift-to-up pivot button.
It includeds the image folder path.
-
_imgShiftDown
protected java.lang.String _imgShiftDown
The full image name for shift-to-down pivot button.
It includeds the image folder path.
-
_imgShiftRightUp
protected java.lang.String _imgShiftRightUp
The full image name for shift-right-up pivot button.
It's for pivot from row axis to column axis.
It includeds the image folder path.
-
_imgShiftLeftDown
protected java.lang.String _imgShiftLeftDown
The full image name for shift-left-down pivot button.
It's for pivot from column axis to row axis, and for pivot from page axis to row axis.
It includeds the image folder path.
-
_imgShiftRightDown
protected java.lang.String _imgShiftRightDown
Deprecated.This parameter has been deprecated as it was only used by the ReportPageByTransform.The full image name for shift-to-left pivot button.
It's for pivot from page axis to row axis.
It includeds the image folder path.
-
_imgToPageBy
protected java.lang.String _imgToPageBy
The full image name for shift-to-pageby pivot button.
It includeds the image folder path.
-
_imgRemove
protected java.lang.String _imgRemove
The full image name for remove button.
It includeds the image folder path.
-
_contextMenuManager
protected ContextMenuManager _contextMenuManager
-
_gridCellClasses
protected java.util.HashMap _gridCellClasses
- Since:
- MicroStrategy Web 7.5.1
-
COL_HEADER
protected final java.lang.String COL_HEADER
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
ROW_HEADER
protected final java.lang.String ROW_HEADER
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
COL_TITLE
protected final java.lang.String COL_TITLE
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
ROW_TITLE
protected final java.lang.String ROW_TITLE
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
METRIC_VALUE
protected final java.lang.String METRIC_VALUE
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
DISPLAY_CELL
protected final java.lang.String DISPLAY_CELL
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
COL_HEADER_CLASS
protected final java.lang.String COL_HEADER_CLASS
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
ROW_HEADER_CLASS
protected final java.lang.String ROW_HEADER_CLASS
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
COL_TITLE_CLASS
protected final java.lang.String COL_TITLE_CLASS
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
ROW_TITLE_CLASS
protected final java.lang.String ROW_TITLE_CLASS
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
METRIC_VALUE_CLASS
protected final java.lang.String METRIC_VALUE_CLASS
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
DISPLAY_CELL_CLASS
protected final java.lang.String DISPLAY_CELL_CLASS
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
REUSE_FLAG
protected final java.lang.String REUSE_FLAG
Note: for the purpose of cell reuse.- Since:
- MicroStrategy Web 9.0.1
- See Also:
- Constant Field Values
-
_rdcFactory
protected ReportDisplayCellsFactory _rdcFactory
This factory object is used to generate a cell instance for a particular type if necessary. One cell class has only one cell instance. Note: for the purpose of cell reuse.- Since:
- MicroStrategy Web 9.0.1
-
_reuseFlag
protected boolean _reuseFlag
This flag is used to indicate reuse the cell instances from the above cell factory or not. By default, it is set to true. Or, it can be read from the property file defined by #gridClassesConfFile. NOte: for the purpose of cell reuse.- Since:
- MicroStrategy Web 9.0.1
-
-
Method Detail
-
setGridCellClass
protected void setGridCellClass(java.util.Properties properties, java.lang.String classKey, java.lang.String defaultClassName)
This method initializes the classes used to render headers, titles and metric values by using a property file. These classes are defined under WEB-INF\classes\resources\gridClasses.properties By default, this file contains the following values:colHeader=com.microstrategy.web.app.transforms.ReportGridCellColHeaderImpl rowHeader=com.microstrategy.web.app.transforms.ReportGridCellRowHeaderImpl colTitle=com.microstrategy.web.app.transforms.ReportGridCellColTitleImpl rowTitle=com.microstrategy.web.app.transforms.ReportGridCellRowTitleImpl metricValue=com.microstrategy.web.app.transforms.ReportGridCellMetricValueImpl displayCell=com.microstrategy.web.app.transforms.ReportGridDisplayCellImpl
- Since:
- MicroStrategy Web 7.5.1
-
setGridCellClass
protected void setGridCellClass(java.lang.String classKey, java.lang.String className)
This method initializes the classes used to render headers, titles and metric values.
These classes are defined under WEB-INF\classes\resources\gridClasses.properties By default, this file contains the following values:colHeader=com.microstrategy.web.app.transforms.ReportGridCellColHeaderImpl rowHeader=com.microstrategy.web.app.transforms.ReportGridCellRowHeaderImpl colTitle=com.microstrategy.web.app.transforms.ReportGridCellColTitleImpl rowTitle=com.microstrategy.web.app.transforms.ReportGridCellRowTitleImpl metricValue=com.microstrategy.web.app.transforms.ReportGridCellMetricValueImpl displayCell=com.microstrategy.web.app.transforms.ReportGridDisplayCellImpl
This method is used as shown below:setGridCellClass(properties, COL_HEADER, COL_HEADER_CLASS);
whereCOL_HEADER
is a constant that defines a column header andCOL_HEADER_CLASS
defines the actual name of the implementation class (com.microstrategy.web.app.transforms.ReportGridCellColHeaderImpl) Developers can use this method to set their own implementation classes. For example://Initialize the HashMap with the name of the classes. initGridCellClasses(); //Set the class to be used for the different elements of a grid setGridCellClass(COL_HEADER, "com.microstrategy.web.app.transforms.MyReportGridCellColHeaderImpl"); setGridCellClass(ROW_HEADER, "com.microstrategy.web.app.transforms.MyReportGridCellRowHeaderImpl"); setGridCellClass(COL_TITLE, "com.microstrategy.web.app.transforms.MyReportGridCellColTitleImpl"); setGridCellClass(ROW_TITLE, "com.microstrategy.web.app.transforms.MyReportGridCellRowTitleImpl"); setGridCellClass(METRIC_VALUE, "com.microstrategy.web.app.transforms.MyReportGridCellMetricValueImpl"); setGridCellClass(DISPLAY_CELL, "com.microstrategy.web.app.transforms.MyReportGridCellDisplayCellImpl");
- Parameters:
classKey
- one of the following:- COL_HEADER
- ROW_HEADER
- COL_TITLE
- ROW_TITLE
- METRIC_VALUE
- DISPLAY_CELL
className
- a fully qualified class name.- Since:
- MicroStrategy Web 7.5.1
-
initializeTransform
public void initializeTransform(Transformable data)
ExtendsinitializeTransform
by initiliazing the grid cell classes by callinginitializeCellClasses
- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classAbstractReportDataTransform
- Parameters:
data
-- Since:
- MicroStrategy Web 7.5.1
-
initGridCellClasses
protected void initGridCellClasses()
Deprecated.This method is deprecated and will be removed in future versions of the product.
It's not invoked anymore by the Transform, and calling it has no effect.- Since:
- MicroStrategy Web 7.5.1
-
initializeCellClasses
protected void initializeCellClasses()
Reads the configuration with the cell classes and caches its content, then it callssetGridCellClass
for each different cell type.- Since:
- MicroStrategy Web 7.5.1
-
initializeImages
public void initializeImages()
Description copied from class:AbstractReportTransform
initialize the images for the transform.- Overrides:
initializeImages
in classAbstractReportDataTransform
-
initializeProperties
public void initializeProperties()
Description copied from class:AbstractReportDataTransform
ExtendsinitializeProperties
by invokinginitializeTranformContext
- Overrides:
initializeProperties
in classAbstractReportDataTransform
-
isDragAndDropEnabled
protected boolean isDragAndDropEnabled()
Deprecated.Please query directly theisDragAndDropEnabled
formal parameter insteadwhether drag and drop feature is enabled.- Returns:
- whether drag and drop feature is enabled
-
isContextMenuEnabled
protected boolean isContextMenuEnabled()
Deprecated.Please query directly theisContextMenuEnabled
formal parameter insteadwhether context menu feature is enabled.- Returns:
- whether context menu feature is enabled
-
showPivot
protected boolean showPivot()
Deprecated.Please query directly theshowPivotPara
formal parameter insteadwhether to display the pivot buttons.- Returns:
- whether to display the pivot buttons
-
getDesignMode
protected int getDesignMode()
Deprecated.- use isDesignMode insteadget the design mode of the report.- Returns:
EnumReportViewModes
value
-
showRemove
protected boolean showRemove()
Deprecated.Please query directly theshowRemovePara
formal parameter insteadwhether to display the remove buttons.- Returns:
- whether to display the remove buttons
-
showRemoveRMC
protected boolean showRemoveRMC()
Deprecated.Please query directly theshowRemoveRMC
formal parameter insteadwhether to display the remove RMC (right mouse click context menu).- Returns:
- whether to display the remove RMC (right mouse click context menu)
-
showRenameRMC
protected boolean showRenameRMC()
Deprecated.Please query directly theshowRenameRMC
formal parameter insteadwhether to display the rename RMC (right mouse click context menu).- Returns:
- whether to display the rename RMC (right mouse click context menu)
-
showFormattingRMC
protected boolean showFormattingRMC()
Deprecated.Please query directly theshowFormattingRMC
formal parameter insteadwhether to display the formatting RMC (right mouse click context menu).- Returns:
- whether to display the formatting RMC (right mouse click context menu)
-
showPivotRMC
protected boolean showPivotRMC()
Deprecated.Please query directly theshowPivotRMC
formal parameter insteadwhether to display the pivot RMC (right mouse click context menu).- Returns:
- whether to display the pivot RMC (right mouse click context menu)
-
getCssPrefix
protected java.lang.String getCssPrefix()
Get the prefix for the css class name.- Overrides:
getCssPrefix
in classAbstractAppTransform
- Returns:
- the prefix for the css class name
-
generateJavaScriptForDragAndDrop
protected void generateJavaScriptForDragAndDrop(MarkupOutput out, ReportBean rb)
Deprecated.This method has been deprecated and will be removed in future versions of the product.Generates the javascript used to initialize the drilling when using incremental fetch.- Parameters:
out
- MarkupOutput to generate the HTML.rb
- ReportBean being transformed (ignored, always uses the bean passed to theinitializeTransform
method).
-
getGridCell
protected ReportGridDisplayCell getGridCell(java.lang.String className)
Get the cell instance for the given cell class name. Note: This method has been refactored since 9.0.1 for the purpose of cell reuse.- Since:
- MicroStrategy Web 7.5.1
-
getGridGenericCell
protected ReportGridCell getGridGenericCell()
- Since:
- MicroStrategy Web 7.5.2
-
getGridCellColHeader
protected ReportGridCellColHeader getGridCellColHeader()
- Since:
- MicroStrategy Web 7.5.1
-
getGridCellRowHeader
protected ReportGridCellRowHeader getGridCellRowHeader()
- Since:
- MicroStrategy Web 7.5.1
-
getGridCellColTitle
protected ReportGridCellColTitle getGridCellColTitle()
- Since:
- MicroStrategy Web 7.5.1
-
getGridCellRowTitle
protected ReportGridCellRowTitle getGridCellRowTitle()
- Since:
- MicroStrategy Web 7.5.1
-
getGridCellMetricValue
protected ReportGridCellMetricValue getGridCellMetricValue()
- Since:
- MicroStrategy Web 7.5.1
-
isGridTransform
protected boolean isGridTransform()
- Specified by:
isGridTransform
in classAbstractReportDataTransform
- Since:
- MicroStrategy Web 8.1.0
-
isGraphTransform
protected boolean isGraphTransform()
- Specified by:
isGraphTransform
in classAbstractReportDataTransform
- Since:
- MicroStrategy Web 8.1.0
-
-