Class AbstractReportGridCellTitle
- java.lang.Object
 - 
- com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
 - 
- com.microstrategy.web.app.transforms.AbstractReportGridCellTitle
 
 
 
- 
- All Implemented Interfaces:
 ReportGridCellTitle,ReportGridDisplayCell,java.lang.Cloneable
- Direct Known Subclasses:
 ReportGridCellColTitleImpl,ReportGridCellRowTitleImpl
public abstract class AbstractReportGridCellTitle extends AbstractReportGridDisplayCell implements ReportGridCellTitle
This class serves as base implementation for other classes such asReportGridCellColTitleImplandReportGridCellRowTitleImplwhich render Cell Title information of a Grid to be presented to the user.- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstractReportGridCellTitle.TitlePivotButtonInfoHelper class for storing pivot button information - such as JavaScript id, descriptor (tooltip) and image name - based on the action that can be performed given the current selected target.- 
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
AbstractReportGridDisplayCell.Context, AbstractReportGridDisplayCell.PivotButtonInfo 
- 
Nested classes/interfaces inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
ReportGridDisplayCell.Context 
 - 
 
- 
Field Summary
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
_advDrillEditorProcessEvent, _advdrillEvent, _appliedColSorts, _appliedSorts, _blankDrillAnchorTag, _cachedObjects, _drillEditorName, _drillEditorProcessEvent, _drillEvent, _drillFilterOnSelectionProcessEvent, _imgBasePath, _isIFrameRequest, _isNetscape, _isWrapHeaderText, _itemsAddedToContextMenu, _maxColHeaderDepth, _pivotImgHeight, _pivotImgWidth, _sharedCellProperties, _sortEvent, _sortImgHeight, _sortImgWidth, _sortSubtotalColPosition, _sortSubtotalPosition, _sortSubtotalPostion, _specifyIDForCell, _specifyWidthForCell, _text, _typicalURLBeanState, DISPLAY_CELL_CLASS, formalParas, NO, rb, RETAIN_PARENT_FORMAL_PARAMETER, RETAIN_THRESHOLDS_FORMAL_PARAMETER, YES 
- 
Fields inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
PIVOT_DECREASE_POSITION, PIVOT_INCREASE_POSITION, PIVOT_REMOVE, PIVOT_SWITCH_AXIS, PIVOT_TO_PAGE_BY 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AbstractReportGridCellTitle() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddContextMenuAttributes(java.util.Map atts)Adds into theMapinstance the tag attributes required for processing context menus.booleancanAddShortcutMetric(int shortcutMetricType)Returns whether specified shortcut metric could be created based on current cell.booleancanDrillAdvanced()Utility methood for determining if the cell object is enabled for displaying the user the option for advanced drilling on itbooleancanEditControl()Utility methood for determining if the cell object is enabled for displaying the user the option to edit controlbooleancanFilterOn()Utility methood for determining if the cell object is enabled for displaying the user the option to filter on itbooleancanHaveDerivedElements()booleancanHyperLink()Utility method for determining if the cell object is enabled for displaying the user the option to navigate to custom hyperlinksbooleancanModifyAttributeForm()Utility methood for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on itbooleancanPivot(int type)Utility methood for determining if the cell object is enabled for displaying the user the option to pivot it according to the type specifiedbooleancanRename()Utility methood for determining if the cell object is enabled for displaying the user the option to rename itbooleancanSort()Utility methood for determining if the cell object is enabled for displaying the user the option to sort itprotected booleancellNeedsLink()Utility method for determining if the current cell being displayed needs to be a link or not, for example, in case of drilling available.protected voidgenerateContent(MarkupOutput mo)ExtendsgenerateContentby adding a URL link to the cell's text.protected AnchorTaggenerateControlAnchor()protected AnchorTaggenerateDrillAnchor()Utility method for generating theAnchorTaginstance with all the drill information if available for the current cell being displayed by this instance.protected AnchorTaggenerateElementAnchor()Utility method for generating theAnchorTaginstance for the element being rendered .protected TaggeneratePivotButton(int type)Generate the pivot button tag, according to the type of manipulation that should performprotected java.lang.StringgenerateTooltipContent()Generates the string with the tooltip information to be assigned to the TITLE attribute of the cell tag for this instanceWebEventgetAddShortcutMetricEvent(int shortcutMetricType)Returns the WebEvent to add shortcut metric based on current cell.protected voidgetCellAttributes(java.util.Map attributes)WebEventgetDerivedElementsEvent()WebDrillPathgetDrillPathWithHighImportance()Obtain the Drill path with high importance information for the current cell being analyzedWebEventgetFilterOnEvent()Get the event for filter on the cell header instanceprotected WebTemplategetGridTemplate()Utility method for obtaining theWebTemplateobject for the grid being renderedintgetKey()protected intgetMaxPosition()WebEventgetOpenFormatEditorEvent()Get the event for opening the format editor for the requested target.protected WebEventgetPivotEvent(int type)Generate the pivot event, according to the type of manipulation that should performprotected intgetPosition()protected WebEventgetRemoveEvent()Generate the remove event for the currently selected object in the template.WebEventgetRenameEvent()Get the event for renaming the current cellprotected WebEventgetSelectorEvent()get selector Event by assigning the selected element as 'All elements'WebEventgetSetFormatEditorTargetEvent()Get the event for setting the current target of the format editor to be this cell instanceintgetUnitType()protected java.lang.StringBuffergetURLBuffer()Deprecated.if the link information for drilling should be modified, please update thegenerateDrillAnchor()method.WebTemplateUnitgetWebTemplateUnit()Obtain theWebTemplateUnitinstance associated with this classWebTitlegetWebTitle()Obtain theWebTitleinstance associated with this classprotected booleanhasRuntimeUnitLimit()voidinit(TransformContext context, WebTemplateUnit unit)This method is called to initialize the cell in design mode.voidinit(WebComponent wc, WebTemplateUnit unit, java.util.HashMap cachedObjects)Deprecated.please use the interface that takesContextobject instances as parametervoidinit(WebComponent wc, FormalParameters formalParas)Deprecated.This method is not used by the Transform anymore.voidinit(FormalParameters formalParas)Deprecated.This method is not used by the Transform anymore.protected abstract booleanisDrillPathAvailable(WebTitle title)Utility method to determine if the current title has drill information availableprotected booleanisFirst()protected booleanisLast()voidreset()Reset all of the instance variables.protected voidsetWebTemplateUnit(WebTemplateUnit unit)Define theWebTemplateUnitinstance to be rendered.protected voidsetWebTitle(WebTitle title)Define theWebTitleinstance to be rendered.protected booleanshouldHiliteOnServer()Indicate if it's necessary to hilight the selected element on server side.protected booleanshowRemoveFromReport()Determine whether to show the 'Remove from Report' option according to the objects already defined on the template.- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
addContextMenuAttributes, addDragAndDropAttributes, addExtraAttribute, addToHeaderMetricValueJsonMap, addTooltipAttributes, addToStyle, appendContextMenuItems, buildGenericTooltipInformation, canAddThresholds, canDefineDerivedElements, canDrill, canEditMetricFilter, canFilterOnSelection, canFormat, canInsertShortcutMetric, canMetricFilterOn, canOpenAlerts, canPivot, canQuickGroup, canRemoveFromGrid, canRemoveFromReport, canUse, checkOwnerAndPrivilgeForHTMLExecution, clone, convertNonbreakingSpaceOnMV, decodeEuro, encodeMV, generateAnchor, generateContextMenu, generateDragAndDrop, generateDragAndDropAttributes, generateDrillCheckBox, generateDrillCheckBox, generateDrillCheckBox, generateDrillCheckBoxTag, generateDrillContextMenu, generateDrillOpenLink, generateDrillOpenLink, generateFilterOnSelectionCheckBox, generateFilterOnSelectionCheckBox, generateFilterOnSelectionCheckBox, generateFilterOnSelectionCheckBoxTag, generateHeaderDrillContextMenu, generateHeaderDrillContextMenu, generateHeaderSortContextMenu, generateHeaderSortContextMenu, generateInnerHTML, generateOutlineModeImage, generateOutlineSubTotalName, generateOutput, generatePivotButtons, generatePostContent, generatePreContent, generateRowValueDrillContextMenu, generateRowValueDrillContextMenu, generateSortButton, generateSortButton, generateSortContextMenu, generateText, generateThresholdSymbol, generateTitleDrillContextMenu, generateTitleDrillContextMenu, generateTitleSortContextMenu, generateTitleSortContextMenu, generateTooltip, generateTooltipForHeaders, generateTooltipForRowValue, generateTooltipForTitles, getAccessibilityInfo, getBaseBean, getCellColor, getCellID, getCellLevelAttributes, getCellType, getColHeaderWebMetric, getColSpan, getContext, getContext, getContextMenu, getContextMenu, getContextMenuAttributes, getContextMenuAttributes, getContextMenuManager, getControlElementSelectorEvent, getCssPrefix, getDefaultAdvancedDrillEvent, getDefaultAdvancedDrillProcessEvent, getDefaultDrillEditorProcessEvent, getDefaultDrillEvent, getDefaultDrillEvent, getDefaultDrillFilterOnSelectionEvent, getDefaultSortEvent, getDerivedElementsEvent, getDescription, getDescriptor, getDescriptor, getDrillEvent, getDrillKey, getDrillParametersForDHTML, getDrillPath, getDrillpathKey, getDrillPathKey, getDrillpathKeyInOldFormat, getEventManager, getExtraInfo, getExtraStyle, getExtraUrl, getFilterOnEvent, getFPIntValue, getFPStringValue, getGridCell, getHeaderContent, getHeaderDrillParametersForDHTML, getHeaderDrillParametersForDHTML, getHeaderDrillPathWithHighImportance, getHeaderDrillPathWithHighImportance, getHeaderDrillURL, getHeaderDrillURL, getImgName, getMaxColHeaderDepth, getMaxSortAllowed, getNearestNonMetricRowHeader, getPostTextForMetricValue, getPostTextForNonMetricValue, getPreTextForMetricValue, getPreTextForNonMetricValue, getRenameEvent, getReportBean, getReportDesignMode, getReportGridTransform, getRowSpan, getRowValueDrillElements, getRowValueDrillParametersForDHTML, getRowValueDrillParametersForDHTML, getRowValueDrillPathWithHighImportance, getRowValueDrillPathWithHighImportance, getRowValueDrillURL, getRowValueDrillURL, getRWDDrillOutEvent, getShowDescriptionAsTooltip, getSortAscendingEvent, getSortDescendingEvent, getSortEvent, getSortEventByAxis, getSortEventByAxisBySortOrder, getSortID, getSortStatus, getStyle, getStyleForNonBuiltInFormat, getSubTitle, getSubtitleIndex, getTargetKeys, getText, getTitleDrillParametersForDHTML, getTitleDrillParametersForDHTML, getTitleDrillURL, getTitleDrillURL, getTooltip, getViewBean, getWidth, groupContextMenuDrillPathsByType, hasDrillPathsWithHighImportanceAvailable, hasMetricFilterCondition, hasWebObject, init, init, initCell, initDNDForDesignMode, initDNDForExecuteMode, initDragAndDrop, isAccessibilityMode, isContextMenuEnabled, isContextMenusEnabled, isDerivedMetric, isDesignMode, isDhtml, isDragAndDropEnabled, isFeatureAvailable, isFPTrue, isFPTrue, isHeaderMVJsonMovable, isHeaderNeedLink, isHTMLExecutionAllowed, isIframeEnabled, isIFrameEnabled, isIframeRequest, isIFrameRequest, isItemsAddedToContextMenu, isMetric, isMetricDrillable, isOutlineModeEnabled, isRemoveAvailable, isRowValueNeedLink, isRW, isSortAscending, isTitleNeedLink, newContext, newNamespaceEncoder, renderContextMenu, renderPivotButtons, setAccessibilityInfo, setArgumentFromFormalParameter, setCellColor, setCellID, setCellType, setColSpan, setContent, setContextMenu, setDescription, setDrillPath, setExtraInfo, setExtraStyle, setExtraStyle, setExtraUrl, setHTML, setInnerHTML, setPostContent, setPreContent, setRowSpan, setStyle, setStyleForNonBuiltInFormat, setSubTitle, setSubTitleIndex, setText, setTooltip, setWidth, showAdvancedDrillingOptionsInContextMenu, showBanding, showDrillAdvanced, showDrillCheckBox, showDrillDownOnly, showDrillHyperlink, showDrillHyperlinkMetric, showDrillMetric, showDrillPathSetNamesSubMenuAtTopLevel, showDrillRMC, showDrillRMCMetric, showExtraRemoveRMC, showFilterOnSelectionCheckBox, showFormattingRMC, showPivot, showPivotRMC, showRemove, showRemoveFromReport, showRemoveRMC, showRenameRMC, showSortButtonsForAttributes, showSortButtonsForMetrics, showSortRMCForAttributes, showSortRMCForMetrics, showSubtitle, showSubTitle, sortSetNamesAndDrillPaths, useBuiltInFormat 
- 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.web.app.transforms.ReportGridCellTitle
getSubTitle, getSubtitleIndex, init, init, setSubTitle, setSubTitleIndex 
- 
Methods inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
addExtraAttribute, canAddThresholds, canDrill, canEditMetricFilter, canFilterOnSelection, canFormat, canInsertShortcutMetric, canMetricFilterOn, canOpenAlerts, canPivot, canQuickGroup, canRemoveFromGrid, canRemoveFromReport, generateOutput, getAccessibilityInfo, getCellID, getCellType, getColSpan, getControlElementSelectorEvent, getDrillEvent, getExtraInfo, getExtraStyle, getHeaderContent, getRowSpan, getStyle, getText, getTooltip, getWidth, init, init, isRW, setAccessibilityInfo, setCellID, setColSpan, setContent, setContextMenu, setExtraInfo, setExtraStyle, setExtraStyle, setHTML, setInnerHTML, setPostContent, setPreContent, setRowSpan, setStyle, setText, setTooltip, setWidth 
 - 
 
 - 
 
- 
- 
Method Detail
- 
reset
public void reset()
Description copied from interface:ReportGridDisplayCellReset all of the instance variables. This method is very important when improve the memory performance: we create only one instance for a particular cell type and reuse it instead of creating a new instance for each concrete grid cell. Therefore, it saves a lot of memory. For implementation of this method, please follow the workflow of how all the instance variables are initialized in the class hierarchy when a new instance is created: superclass instance variables are initialized first, subclass instance variables are initialized second. Note: for the purpose of cell reuse.- Specified by:
 resetin interfaceReportGridDisplayCell- Overrides:
 resetin classAbstractReportGridDisplayCell
 
- 
getURLBuffer
@Deprecated protected java.lang.StringBuffer getURLBuffer()
Deprecated.if the link information for drilling should be modified, please update thegenerateDrillAnchor()method.Specify URL information to be used as drilling information for the title being rendered- Returns:
 StringBufferinstance
 
- 
init
@Deprecated public void init(FormalParameters formalParas)
Deprecated.This method is not used by the Transform anymore. To initialize empty cells it now usesinit(TransformContext, WebTemplateUnit).Initialize the instance with the formal parameter information provided.- Specified by:
 initin interfaceReportGridDisplayCell- Overrides:
 initin classAbstractReportGridDisplayCell- Parameters:
 formalParas-FormalParameterscollection to be used for initializing the instance.
 
- 
init
@Deprecated public void init(WebComponent wc, FormalParameters formalParas)
Deprecated.This method is not used by the Transform anymore. To initialize empty cells it now usesinit(TransformContext, WebTemplateUnit).Initialize the instance with the baseWebComponentand formal parameter information as provided- Specified by:
 initin interfaceReportGridDisplayCell- Overrides:
 initin classAbstractReportGridDisplayCell- Parameters:
 wc-WebComponentinstanceformalParas-FormalParameterscollection to be used for initializing the instance
 
- 
init
public void init(TransformContext context, WebTemplateUnit unit)
Description copied from interface:ReportGridCellTitleThis method is called to initialize the cell in design mode. It receives aWebTemplateUnitinstance as the underlying SDK object- Specified by:
 initin interfaceReportGridCellTitle- Parameters:
 context-TransformContextinstance initialized with the grid's transform information.unit-WebTemplateUnitinstance corresponding to the cell to display.
 
- 
generateContent
protected void generateContent(MarkupOutput mo)
ExtendsgenerateContentby adding a URL link to the cell's text.Developers can either use the
AbstractReportGridDisplayCell.setContent(java.lang.String)method to set any text they want to display as the cell's contents or override this method to inherit its functionality and build on top of it.As an example, the following code could be used to extend this method to add a <BR> tag after cell's content:
public void generateContent(MarkupOutput mo) { super.generateContent(mo); mo.append("<br>"); }- Overrides:
 generateContentin classAbstractReportGridDisplayCell- Parameters:
 mo- the output object- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
generateElementAnchor
protected AnchorTag generateElementAnchor()
Utility method for generating theAnchorTaginstance for the element being rendered .- Returns:
 AnchorTaginstance initialized with the drill details. If neither dashboarding controls nor drilling is supported given the information provided, it will returnnull- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
generateControlAnchor
protected AnchorTag generateControlAnchor()
- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
canHyperLink
public boolean canHyperLink()
Description copied from interface:ReportGridDisplayCellUtility method for determining if the cell object is enabled for displaying the user the option to navigate to custom hyperlinks- Specified by:
 canHyperLinkin interfaceReportGridDisplayCell- Overrides:
 canHyperLinkin classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.1.2
 
 
- 
canDrillAdvanced
public boolean canDrillAdvanced()
Utility methood for determining if the cell object is enabled for displaying the user the option for advanced drilling on it- Specified by:
 canDrillAdvancedin interfaceReportGridDisplayCell- Overrides:
 canDrillAdvancedin classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the manipulation should be enabled
 
 
- 
canSort
public boolean canSort()
Utility methood for determining if the cell object is enabled for displaying the user the option to sort it- Specified by:
 canSortin interfaceReportGridDisplayCell- Overrides:
 canSortin classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the manipulation should be enabled
 
 
- 
getRenameEvent
public WebEvent getRenameEvent()
Description copied from interface:ReportGridDisplayCellGet the event for renaming the current cell- Specified by:
 getRenameEventin interfaceReportGridDisplayCell- Returns:
 WebEventinstance initialized with the information for renaming the current cell.
 
- 
getDerivedElementsEvent
public WebEvent getDerivedElementsEvent()
- Specified by:
 getDerivedElementsEventin interfaceReportGridDisplayCell- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getFilterOnEvent
public WebEvent getFilterOnEvent()
Description copied from interface:ReportGridDisplayCellGet the event for filter on the cell header instance- Specified by:
 getFilterOnEventin interfaceReportGridDisplayCell- Returns:
 WebEventinstance initialized for filtering on the information of this cell
 
- 
canFilterOn
public boolean canFilterOn()
Utility methood for determining if the cell object is enabled for displaying the user the option to filter on it- Specified by:
 canFilterOnin interfaceReportGridDisplayCell- Overrides:
 canFilterOnin classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the manipulation should be enabled
 
 
- 
showRemoveFromReport
protected boolean showRemoveFromReport()
Description copied from class:AbstractReportGridDisplayCellDetermine whether to show the 'Remove from Report' option according to the objects already defined on the template.- Overrides:
 showRemoveFromReportin classAbstractReportGridDisplayCell- Returns:
 trueif should display the 'Remove from Report' option.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
canPivot
public boolean canPivot(int type)
Utility methood for determining if the cell object is enabled for displaying the user the option to pivot it according to the type specified- Specified by:
 canPivotin interfaceReportGridDisplayCell- Overrides:
 canPivotin classAbstractReportGridDisplayCell- Parameters:
 type- value indicating which type of pivot manipulation is being tested. Values come from theReportGridDisplayCell.PIVOT_INCREASE_POSITION,ReportGridDisplayCell.PIVOT_DECREASE_POSITION,ReportGridDisplayCell.PIVOT_SWITCH_AXIS,ReportGridDisplayCell.PIVOT_TO_PAGE_BYandReportGridDisplayCell.PIVOT_REMOVEconstants.- Returns:
 - boolean value indicating if the manipulation should be enabled
 
 
- 
canModifyAttributeForm
public boolean canModifyAttributeForm()
Utility methood for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on it- Specified by:
 canModifyAttributeFormin interfaceReportGridDisplayCell- Overrides:
 canModifyAttributeFormin classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the manipulation should be enabled
 
 
- 
canRename
public boolean canRename()
Utility methood for determining if the cell object is enabled for displaying the user the option to rename it- Specified by:
 canRenamein interfaceReportGridDisplayCell- Overrides:
 canRenamein classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the manipulation should be enabled
 
 
- 
getOpenFormatEditorEvent
public WebEvent getOpenFormatEditorEvent()
Description copied from class:AbstractReportGridDisplayCellGet the event for opening the format editor for the requested target.- Specified by:
 getOpenFormatEditorEventin interfaceReportGridDisplayCell- Overrides:
 getOpenFormatEditorEventin classAbstractReportGridDisplayCell- Returns:
 WebEventinitialized instance. If it could not be generated, it will returnnull
 
- 
getSetFormatEditorTargetEvent
public WebEvent getSetFormatEditorTargetEvent()
Description copied from interface:ReportGridDisplayCellGet the event for setting the current target of the format editor to be this cell instance- Specified by:
 getSetFormatEditorTargetEventin interfaceReportGridDisplayCell- Overrides:
 getSetFormatEditorTargetEventin classAbstractReportGridDisplayCell- Returns:
 WebEventinstance initialized for setting the target of the format editor to be the current cell instance.
 
- 
getMaxPosition
protected int getMaxPosition()
 
- 
getPosition
protected int getPosition()
 
- 
getKey
public int getKey()
- Specified by:
 getKeyin interfaceReportGridDisplayCell- Returns:
 - int value with the key information about the cell being analyzed.
 
 
- 
getUnitType
public int getUnitType()
 
- 
isFirst
protected boolean isFirst()
 
- 
isLast
protected boolean isLast()
 
- 
init
@Deprecated public void init(WebComponent wc, WebTemplateUnit unit, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takesContextobject instances as parameterInitialize with the baseWebComponent, theWebTemplateUnitto be rendered and a HashMap with other relevant information for this instance.- Specified by:
 initin interfaceReportGridCellTitle- Parameters:
 wc-WebComponentinstanceunit-WebTemplateUnitinstance to be rendered by this classcachedObjects- HashMap with other relevant information for the initialization.
 
- 
getWebTemplateUnit
public WebTemplateUnit getWebTemplateUnit()
Obtain theWebTemplateUnitinstance associated with this class- Specified by:
 getWebTemplateUnitin interfaceReportGridCellTitle- Returns:
 WebTemplateUnitinstance from where the information to be rendered by this class will be retrieved.
 
- 
getWebTitle
public WebTitle getWebTitle()
Obtain theWebTitleinstance associated with this class- Specified by:
 getWebTitlein interfaceReportGridCellTitle- Returns:
 WebTitleinstance from where the information to be rendered by this class will be retrieved.
 
- 
canHaveDerivedElements
public boolean canHaveDerivedElements()
- Specified by:
 canHaveDerivedElementsin interfaceReportGridDisplayCell- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setWebTemplateUnit
protected void setWebTemplateUnit(WebTemplateUnit unit)
Define theWebTemplateUnitinstance to be rendered.- Parameters:
 unit-WebTemplateUnitinstance from where the information to render by this class will be retrieved.
 
- 
setWebTitle
protected void setWebTitle(WebTitle title)
Define theWebTitleinstance to be rendered.- Parameters:
 title-WebTitleinstance from where the information to render by this class will be retrieved.
 
- 
isDrillPathAvailable
protected abstract boolean isDrillPathAvailable(WebTitle title)
Utility method to determine if the current title has drill information available- Parameters:
 title-WebTitleinstance to analyze- Returns:
 - boolean value indicating if there is drill path information available or not, for the specified title.
 
 
- 
addContextMenuAttributes
protected void addContextMenuAttributes(java.util.Map atts)
Description copied from class:AbstractReportGridDisplayCellAdds into theMapinstance the tag attributes required for processing context menus.- Overrides:
 addContextMenuAttributesin classAbstractReportGridDisplayCell- Parameters:
 atts-Mapwhere attributes will be appended.- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
generateDrillAnchor
protected AnchorTag generateDrillAnchor()
Utility method for generating theAnchorTaginstance with all the drill information if available for the current cell being displayed by this instance.- Returns:
 AnchorTaginstance initialized with the drill details. If drilling is not supported given the information provided, it will returnnull
 
- 
getDrillPathWithHighImportance
public WebDrillPath getDrillPathWithHighImportance()
Description copied from class:AbstractReportGridDisplayCellObtain the Drill path with high importance information for the current cell being analyzed- Specified by:
 getDrillPathWithHighImportancein interfaceReportGridDisplayCell- Overrides:
 getDrillPathWithHighImportancein classAbstractReportGridDisplayCell- Returns:
 WebDrillPathinstance initialized, with the drill path with high importance information if available, otherwise returnsnull
 
- 
getGridTemplate
protected WebTemplate getGridTemplate() throws WebBeanException, WebObjectsException
Utility method for obtaining theWebTemplateobject for the grid being rendered- Returns:
 WebTemplateinstance corresponding to the grid being rendered.- Throws:
 WebBeanException- if an error happens while obtaining the templateWebObjectsException- if an error happens while obtaining the template
 
- 
generatePivotButton
protected Tag generatePivotButton(int type)
Generate the pivot button tag, according to the type of manipulation that should perform- Specified by:
 generatePivotButtonin classAbstractReportGridDisplayCell- Parameters:
 type- integer value that indicates which type of pivot action it should execute. Values come from theReportGridDisplayCell.PIVOT_INCREASE_POSITION,ReportGridDisplayCell.PIVOT_DECREASE_POSITION,ReportGridDisplayCell.PIVOT_SWITCH_AXIS,ReportGridDisplayCell.PIVOT_TO_PAGE_BYandReportGridDisplayCell.PIVOT_REMOVEconstants.- Returns:
 Taginitialized instance with the information for the pivot manipulation. It will returnnullif not supported. It might return a simple IMG tag in case the manipulation shall be processed in JavaScript, or an INPUT of type IMAGE if it will be processed as part of a FORM, or an A anchor tag with an IMG inside if it's to be a button link.
 
- 
getRemoveEvent
protected WebEvent getRemoveEvent()
Generate the remove event for the currently selected object in the template.- Returns:
 WebEventinitialized instance with the information for the remove manipulation. It will returnnullif not supported.
 
- 
getPivotEvent
protected WebEvent getPivotEvent(int type)
Generate the pivot event, according to the type of manipulation that should perform- Parameters:
 type- integer value that indicates which type of pivot action it should execute. Values come from theReportGridDisplayCell.PIVOT_INCREASE_POSITION,ReportGridDisplayCell.PIVOT_DECREASE_POSITION,ReportGridDisplayCell.PIVOT_SWITCH_AXISandReportGridDisplayCell.PIVOT_TO_PAGE_BYconstants.- Returns:
 WebEventinitialized instance with the information for the pivot manipulation. It will returnnullif not supported.
 
- 
generateTooltipContent
protected java.lang.String generateTooltipContent()
Generates the string with the tooltip information to be assigned to the TITLE attribute of the cell tag for this instance- Overrides:
 generateTooltipContentin classAbstractReportGridDisplayCell- Returns:
 - String with the information about the tooltip to render for the current cell.
 
 
- 
cellNeedsLink
protected boolean cellNeedsLink()
Description copied from class:AbstractReportGridDisplayCellUtility method for determining if the current cell being displayed needs to be a link or not, for example, in case of drilling available.- Overrides:
 cellNeedsLinkin classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the current cell should be displayed as a link.
 
 
- 
canEditControl
public boolean canEditControl()
Description copied from interface:ReportGridDisplayCellUtility methood for determining if the cell object is enabled for displaying the user the option to edit control- Specified by:
 canEditControlin interfaceReportGridDisplayCell- Overrides:
 canEditControlin classAbstractReportGridDisplayCell- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getSelectorEvent
protected WebEvent getSelectorEvent()
get selector Event by assigning the selected element as 'All elements'- Overrides:
 getSelectorEventin classAbstractReportGridDisplayCell- Returns:
 
 
- 
shouldHiliteOnServer
protected boolean shouldHiliteOnServer()
Description copied from class:AbstractReportGridDisplayCellIndicate if it's necessary to hilight the selected element on server side.- Overrides:
 shouldHiliteOnServerin classAbstractReportGridDisplayCell- Returns:
 
 
- 
canAddShortcutMetric
public boolean canAddShortcutMetric(int shortcutMetricType)
Description copied from interface:ReportGridCellTitleReturns whether specified shortcut metric could be created based on current cell.- Specified by:
 canAddShortcutMetricin interfaceReportGridCellTitle- Parameters:
 shortcutMetricType- The metric type in (@link EnumShortcutMetricTypes}.
 
- 
getAddShortcutMetricEvent
public WebEvent getAddShortcutMetricEvent(int shortcutMetricType)
Description copied from interface:ReportGridCellTitleReturns the WebEvent to add shortcut metric based on current cell.- Specified by:
 getAddShortcutMetricEventin interfaceReportGridCellTitle- Parameters:
 shortcutMetricType- The metric type in (@link EnumShortcutMetricTypes}.
 
- 
getCellAttributes
protected void getCellAttributes(java.util.Map attributes)
- Overrides:
 getCellAttributesin classAbstractReportGridDisplayCell
 
- 
hasRuntimeUnitLimit
protected boolean hasRuntimeUnitLimit()
 
 - 
 
 -