Class ReportGridDisplayCellRowTitle
- java.lang.Object
-
- com.microstrategy.web.app.transforms.ReportGridDisplayCellImpl
-
- com.microstrategy.web.app.transforms.ReportGridDisplayCellRowTitle
-
- All Implemented Interfaces:
ReportGridCell
,ReportGridCellRowTitle
,ReportGridCellTitle
,ReportGridDisplayCell
,java.lang.Cloneable
@Deprecated public class ReportGridDisplayCellRowTitle extends ReportGridDisplayCellImpl implements ReportGridCellRowTitle
Deprecated.Please use the ReportGridCellRowTitle interface or extend the ReportGridCellRowTitleImpl class.This class represents a Row Title cell cell of the report grid.
This class has been deprecated along with all the ReportGridDisplayCell classes.
In its place, the Transform manipulates the cells through the ReportGridCell interface.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
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.ReportGridDisplayCellImpl
_advDrillEditorProcessEvent, _advdrillEvent, _appliedSorts, _cachedObjects, _drillEditorName, _drillEditorProcessEvent, _drillEvent, _drillFilterOnSelectionProcessEvent, _drillFilterPageBy, _imgBasePath, _isIFrameRequest, _isNetscape, _itemsAddedToContextMenu, _maxColHeaderDepth, _sortEvent, _sortSubtotalColPosition, _sortSubtotalPostion, _specifyIDForCell, _specifyWidthForCell, _text, formalParas, rb
-
Fields inherited from interface com.microstrategy.web.app.transforms.ReportGridCellRowTitle
SORT_TYPE_ASCENDING, SORT_TYPE_DESCENDING
-
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 ReportGridDisplayCellRowTitle()
Deprecated.Constructor used for creating a generic display cell.ReportGridDisplayCellRowTitle(ReportBean rb, WebTemplateUnit unit, java.util.HashMap cachedObjects)
Deprecated.Constructor used in displaying template editor in design mode.ReportGridDisplayCellRowTitle(ReportBean rb, WebTitle title, java.util.HashMap cachedObjects)
Deprecated.Constructor used for report grid display in execute mode.ReportGridDisplayCellRowTitle(FormalParameters formalParas)
Deprecated.Constructor used for creating a generic display cell.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canAddShortcutMetric(int shortcutMetricType)
Deprecated.Returns whether specified shortcut metric could be created based on current cell.protected void
generateContent(MarkupOutput mo)
Deprecated.Override the protected method of ReportDisplayCellImpl.protected void
generateContextMenu(MarkupOutput mo)
Deprecated.generate context menu for the row title cellprotected void
generatePivotButtons(MarkupOutput mo)
Deprecated.override the protected method from ReportDisplayCellImplvoid
generateRowTitleContent(MarkupOutput out)
Deprecated.protected void
generateSortButton(MarkupOutput mo)
Deprecated.override the protected method from ReportDisplayCellImplprotected void
generateTooltip(MarkupOutput mo)
Deprecated.Generate the tool tip for this cell.WebEvent
getAddShortcutMetricEvent(int shortcutMetricType)
Deprecated.Returns the WebEvent to add shortcut metric based on current cell.int
getCellType()
Deprecated.Returns the cell typeWebEvent
getDerivedElementsEvent()
Deprecated.WebEvent
getFilterOnEvent()
Deprecated.Get the event for filter on the cell header instanceint
getKey()
Deprecated.WebEvent
getOpenFormatEditorEvent()
Deprecated.Get the event for opening the format editorWebEvent
getRenameEvent()
Deprecated.Get the event for renaming the current cellWebEvent
getSetFormatEditorTargetEvent()
Deprecated.Get the event for setting the current target of the format editor to be this cell instanceWebEvent
getSortEvent(int type)
Deprecated.Get theWebEvent
instance with the information for sorting the current cell valuesWebTemplateUnit
getWebTemplateUnit()
Deprecated.if in report design mode, return the WebTemplateUnit object associated with this cell; if in report execute mode, return nullWebTitle
getWebTitle()
Deprecated.if in report execute mode, return the WebTitle object associated with this cell if in report design mode, return nullvoid
init(TransformContext context, WebTemplateUnit unit)
Deprecated.This method is called to initialize the cell in design mode.void
init(TransformContext context, WebTitle title)
Deprecated.This method is called to initialize the cell in view mode.void
init(WebComponent wc, WebTemplateUnit unit, java.util.HashMap cachedObjects)
Deprecated.This method is called to initialize the cell in design mode.void
init(WebComponent wc, WebTitle title, java.util.HashMap cachedObjects)
Deprecated.This method is called to initialize the cell in view mode.protected void
initDNDForDesignMode(DragAndDropItem item)
Deprecated.initialize a drag and drop item for a row title cell in design modeprotected void
initDNDForExecuteMode(DragAndDropItem item)
Deprecated.initialize a drag and drop item for a row title cell in execute modeboolean
isSortAscending()
Deprecated.boolean
isSorted()
Deprecated.void
reset()
Deprecated.Reset all of the instance variables.-
Methods inherited from class com.microstrategy.web.app.transforms.ReportGridDisplayCellImpl
addExtraAttribute, canAddThresholds, canDrill, canDrillAdvanced, canEditControl, canEditMetricFilter, canFilterOn, canFilterOnSelection, canFormat, canHaveDerivedElements, canHyperLink, canInsertShortcutMetric, canMetricFilterOn, canModifyAttributeForm, canOpenAlerts, canPivot, canPivot, canQuickGroup, canRemoveFromGrid, canRemoveFromReport, canRename, canSort, clone, convertNonbreakingSpaceOnMV, decodeEuro, encodeMV, generateDragAndDrop, generateDrillCheckBox, generateDrillCheckBox, generateDrillOpenLink, generateFilterOnSelectionCheckBox, generateFilterOnSelectionCheckBox, generateHeaderDrillContextMenu, generateHeaderSortContextMenu, generateInnerHTML, generateOutlineModeImage, generateOutlineSubTotalName, generateOutput, generatePostContent, generatePreContent, generateRowValueDrillContextMenu, generateTitleDrillContextMenu, generateTitleSortContextMenu, generateTooltipContent, generateTooltipForHeaders, generateTooltipForRowValue, generateTooltipForTitles, getAccessibilityInfo, getCellID, getColHeaderWebMetric, getColSpan, getContextMenuAttributes, getContextMenuManager, getControlElementSelectorEvent, getCssPrefix, getDescription, getDescriptor, getDrillEvent, getDrillPath, getDrillPathWithHighImportance, getEventManager, getExtraInfo, getExtraStyle, getExtraUrl, getFPIntValue, getFPStringValue, getHeaderContent, getHeaderDrillParametersForDHTML, getHeaderDrillPathWithHighImportance, getHeaderDrillURL, getImgName, getMaxSortAllowed, getPostTextForMetricValue, getPostTextForNonMetricValue, getPreTextForMetricValue, getPreTextForNonMetricValue, getReportBean, getReportDesignMode, getRowSpan, getRowValueDrillElements, getRowValueDrillParametersForDHTML, getRowValueDrillPathWithHighImportance, getRowValueDrillURL, getShowDescriptionAsTooltip, getSortStatus, getStyle, getSubTitle, getSubtitleIndex, getText, getTitleDrillParametersForDHTML, getTitleDrillURL, getTooltip, getWidth, init, init, init, init, initDragAndDrop, isContextMenuEnabled, isDesignMode, isDragAndDropEnabled, isFPTrue, isFPTrue, isHeaderNeedLink, isIFrameEnabled, isIFrameRequest, isItemsAddedToContextMenu, isMetric, isMetricDrillable, isOutlineModeEnabled, isRowValueNeedLink, isRW, isSortAscending, isTitleNeedLink, setAccessibilityInfo, setCellID, setCellType, setColSpan, setContent, setContextMenu, setDescription, setDrillPath, setExtraInfo, setExtraStyle, setExtraStyle, setExtraUrl, setHTML, setInnerHTML, setPostContent, setPreContent, setRowSpan, setStyle, setStyleForNonBuiltInFormat, setSubTitle, setSubTitleIndex, setText, setTooltip, setWidth, showBanding, showDrillAdvanced, showDrillCheckBox, showDrillDownOnly, showDrillHyperlink, showDrillHyperlinkMetric, showDrillMetric, showDrillRMC, showDrillRMCMetric, showFilterOnSelectionCheckBox, showFormattingRMC, showPivot, showPivotRMC, showRemove, showRemoveRMC, showRenameRMC, showSortButtonsForAttributes, showSortButtonsForMetrics, showSortRMCForAttributes, showSortRMCForMetrics, showSubTitle, 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, setSubTitle, setSubTitleIndex
-
Methods inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
addExtraAttribute, canAddThresholds, canDrill, canDrillAdvanced, canEditControl, canEditMetricFilter, canFilterOn, canFilterOnSelection, canFormat, canHaveDerivedElements, canHyperLink, canInsertShortcutMetric, canMetricFilterOn, canModifyAttributeForm, canOpenAlerts, canPivot, canPivot, canQuickGroup, canRemoveFromGrid, canRemoveFromReport, canRename, canSort, generateOutput, getAccessibilityInfo, getCellID, getColSpan, getControlElementSelectorEvent, getDrillEvent, getDrillPathWithHighImportance, getExtraInfo, getExtraStyle, getHeaderContent, getRowSpan, getStyle, getText, getTooltip, getWidth, init, init, init, init, isRW, setAccessibilityInfo, setCellID, setColSpan, setContent, setContextMenu, setExtraInfo, setExtraStyle, setExtraStyle, setHTML, setInnerHTML, setPostContent, setPreContent, setRowSpan, setStyle, setText, setTooltip, setWidth
-
-
-
-
Constructor Detail
-
ReportGridDisplayCellRowTitle
public ReportGridDisplayCellRowTitle()
Deprecated.Constructor used for creating a generic display cell.- Since:
- MicroStrategy Web 8.0.0
-
ReportGridDisplayCellRowTitle
public ReportGridDisplayCellRowTitle(FormalParameters formalParas)
Deprecated.Constructor used for creating a generic display cell.- Parameters:
formalParas
- all the formal parameters from the report transform. Used to control some output generation. For example, the cssPrefix is needed for the empty cells in design mode.
-
ReportGridDisplayCellRowTitle
public ReportGridDisplayCellRowTitle(ReportBean rb, WebTemplateUnit unit, java.util.HashMap cachedObjects)
Deprecated.Constructor used in displaying template editor in design mode. As single action doesn't apply the changes to I-server until "Execute"/"Sava as" button is clicked, ReportGrid is not updated for intermediate user actions, we shall not use WebHeader to build this DisplayCell- Parameters:
rb
- the associated report beanunit
- the associated template unitcachedObjects
- cached object, used to store some information shared across multiple cells
-
ReportGridDisplayCellRowTitle
public ReportGridDisplayCellRowTitle(ReportBean rb, WebTitle title, java.util.HashMap cachedObjects)
Deprecated.Constructor used for report grid display in execute mode.- Parameters:
rb
- the associated report beantitle
- the associated row titlecachedObjects
- cached object, used to store some information shared across multiple cells
-
-
Method Detail
-
reset
public void reset()
Deprecated.Description copied from interface:ReportGridDisplayCell
Reset 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:
reset
in interfaceReportGridDisplayCell
- Overrides:
reset
in classReportGridDisplayCellImpl
-
init
public void init(TransformContext context, WebTitle title)
Deprecated.Description copied from interface:ReportGridCellTitle
This method is called to initialize the cell in view mode. It receives aWebTitle
instance as the underlying SDK object- Specified by:
init
in interfaceReportGridCellTitle
- Parameters:
context
-TransformContext
instance initialized with the grid's transform information.title
-WebTitle
instance corresponding to the cell to be displayed.- Since:
- MicroStrategy Web 8.0.1
-
init
public void init(TransformContext context, WebTemplateUnit unit)
Deprecated.Description copied from interface:ReportGridCellTitle
This method is called to initialize the cell in design mode. It receives aWebTemplateUnit
instance as the underlying SDK object- Specified by:
init
in interfaceReportGridCellTitle
- Parameters:
context
-TransformContext
instance initialized with the grid's transform information.unit
-WebTemplateUnit
instance corresponding to the cell to display.- Since:
- MicroStrategy Web 8.0.1
-
getCellType
public int getCellType()
Deprecated.Returns the cell type- Specified by:
getCellType
in interfaceReportGridDisplayCell
- Overrides:
getCellType
in classReportGridDisplayCellImpl
- Returns:
- the cell type - EnumReportGridDisplayCellTypes.EnumReportGridDisplayCellTypeRowTitle. Cell type is read-only.
-
init
public void init(WebComponent wc, WebTitle title, java.util.HashMap cachedObjects)
Deprecated.Description copied from interface:ReportGridCellTitle
This method is called to initialize the cell in view mode. It receives aWebTitle
as the underlying SDK object.- Specified by:
init
in interfaceReportGridCellTitle
- Parameters:
wc
- The bean being transformed.title
- TheWebTitle
corresponding to this cell.cachedObjects
- AHashMap
populated by the transform and used to store information shared across multiple cells.- Since:
- MicroStrategy Web 8.0.0
-
init
public void init(WebComponent wc, WebTemplateUnit unit, java.util.HashMap cachedObjects)
Deprecated.Description copied from interface:ReportGridCellTitle
This method is called to initialize the cell in design mode. It receives aWebTemplateUnit
as the underlying SDK object.- Specified by:
init
in interfaceReportGridCellTitle
- Parameters:
wc
- The bean being transformed.unit
- TheWebTemplateUnit
corresponding to this cell.cachedObjects
- AHashMap
populated by the transform and used to store information shared across multiple cells.- Since:
- MicroStrategy Web 8.0.0
-
generateRowTitleContent
public void generateRowTitleContent(MarkupOutput out)
Deprecated.- Since:
- MicroStrategy Web 8.0.0
-
getWebTitle
public WebTitle getWebTitle()
Deprecated.if in report execute mode, return the WebTitle object associated with this cell if in report design mode, return null- Specified by:
getWebTitle
in interfaceReportGridCellTitle
- Returns:
- the WebTitle object
-
getWebTemplateUnit
public WebTemplateUnit getWebTemplateUnit()
Deprecated.if in report design mode, return the WebTemplateUnit object associated with this cell; if in report execute mode, return null- Specified by:
getWebTemplateUnit
in interfaceReportGridCellTitle
- Returns:
- the WebTemplateUnit object
-
generatePivotButtons
protected void generatePivotButtons(MarkupOutput mo)
Deprecated.override the protected method from ReportDisplayCellImpl- Overrides:
generatePivotButtons
in classReportGridDisplayCellImpl
- Parameters:
mo
- the output object
-
generateSortButton
protected void generateSortButton(MarkupOutput mo)
Deprecated.override the protected method from ReportDisplayCellImpl- Overrides:
generateSortButton
in classReportGridDisplayCellImpl
- Parameters:
mo
- the output object
-
generateContent
protected void generateContent(MarkupOutput mo)
Deprecated.Override the protected method of ReportDisplayCellImpl.- Overrides:
generateContent
in classReportGridDisplayCellImpl
- Parameters:
mo
- the output object- Since:
- MicroStrategy Web 7.5.1
-
generateContextMenu
protected void generateContextMenu(MarkupOutput mo)
Deprecated.generate context menu for the row title cell- Overrides:
generateContextMenu
in classReportGridDisplayCellImpl
- Parameters:
mo
- the MarkupOutput object
-
initDNDForDesignMode
protected void initDNDForDesignMode(DragAndDropItem item)
Deprecated.initialize a drag and drop item for a row title cell in design mode- Overrides:
initDNDForDesignMode
in classReportGridDisplayCellImpl
- Parameters:
item
- theDragAndDropItem
item
-
initDNDForExecuteMode
protected void initDNDForExecuteMode(DragAndDropItem item)
Deprecated.initialize a drag and drop item for a row title cell in execute mode- Overrides:
initDNDForExecuteMode
in classReportGridDisplayCellImpl
- Parameters:
item
- theDragAndDropItem
item
-
generateTooltip
protected void generateTooltip(MarkupOutput mo)
Deprecated.Generate the tool tip for this cell.- Overrides:
generateTooltip
in classReportGridDisplayCellImpl
- Parameters:
mo
- the output object
-
isSorted
public boolean isSorted()
Deprecated.- Specified by:
isSorted
in interfaceReportGridCellRowTitle
- Returns:
- boolean value indicating if the current cell is sorted or not
- Since:
- MicroStrategy Web 8.0.1
-
isSortAscending
public boolean isSortAscending()
Deprecated.- Specified by:
isSortAscending
in interfaceReportGridCellRowTitle
- Returns:
- boolean value indicating if the current cell is sorted ascending or not
- Since:
- MicroStrategy Web 8.0.1
-
getSortEvent
public WebEvent getSortEvent(int type)
Deprecated.Description copied from interface:ReportGridCellRowTitle
Get theWebEvent
instance with the information for sorting the current cell values- Specified by:
getSortEvent
in interfaceReportGridCellRowTitle
- Parameters:
type
- int value with the identifier for the sort order to generate. Values expected includeReportGridCellRowTitle.SORT_TYPE_ASCENDING
andReportGridCellRowTitle.SORT_TYPE_DESCENDING
- Returns:
- WebEvent
- Since:
- MicroStrategy Web 8.0.1
-
getFilterOnEvent
public WebEvent getFilterOnEvent()
Deprecated.Description copied from interface:ReportGridDisplayCell
Get the event for filter on the cell header instance- Specified by:
getFilterOnEvent
in interfaceReportGridDisplayCell
- Overrides:
getFilterOnEvent
in classReportGridDisplayCellImpl
- Returns:
WebEvent
instance initialized for filtering on the information of this cell- Since:
- MicroStrategy Web 8.0.1
-
getOpenFormatEditorEvent
public WebEvent getOpenFormatEditorEvent()
Deprecated.Description copied from interface:ReportGridDisplayCell
Get the event for opening the format editor- Specified by:
getOpenFormatEditorEvent
in interfaceReportGridDisplayCell
- Overrides:
getOpenFormatEditorEvent
in classReportGridDisplayCellImpl
- Returns:
WebEvent
instance initialized for opening the format editor- Since:
- MicroStrategy Web 8.0.1
-
getSetFormatEditorTargetEvent
public WebEvent getSetFormatEditorTargetEvent()
Deprecated.Description copied from interface:ReportGridDisplayCell
Get the event for setting the current target of the format editor to be this cell instance- Specified by:
getSetFormatEditorTargetEvent
in interfaceReportGridDisplayCell
- Overrides:
getSetFormatEditorTargetEvent
in classReportGridDisplayCellImpl
- Returns:
WebEvent
instance initialized for setting the target of the format editor to be the current cell instance.- Since:
- MicroStrategy Web 8.0.1
-
getRenameEvent
public WebEvent getRenameEvent()
Deprecated.Description copied from interface:ReportGridDisplayCell
Get the event for renaming the current cell- Specified by:
getRenameEvent
in interfaceReportGridDisplayCell
- Overrides:
getRenameEvent
in classReportGridDisplayCellImpl
- Returns:
WebEvent
instance initialized with the information for renaming the current cell.- Since:
- MicroStrategy Web 8.0.1
-
getDerivedElementsEvent
public WebEvent getDerivedElementsEvent()
Deprecated.- Specified by:
getDerivedElementsEvent
in interfaceReportGridDisplayCell
- Overrides:
getDerivedElementsEvent
in classReportGridDisplayCellImpl
- Since:
- MicroStrategy Web 9.0.0
-
getKey
public int getKey()
Deprecated.- Specified by:
getKey
in interfaceReportGridDisplayCell
- Overrides:
getKey
in classReportGridDisplayCellImpl
- Returns:
- int value with the key information about the cell being analyzed.
- Since:
- MicroStrategy Web 8.0.1
-
getAddShortcutMetricEvent
public WebEvent getAddShortcutMetricEvent(int shortcutMetricType)
Deprecated.Description copied from interface:ReportGridCellTitle
Returns the WebEvent to add shortcut metric based on current cell.- Specified by:
getAddShortcutMetricEvent
in interfaceReportGridCellTitle
- Parameters:
shortcutMetricType
- The metric type in (@link EnumShortcutMetricTypes}.
-
canAddShortcutMetric
public boolean canAddShortcutMetric(int shortcutMetricType)
Deprecated.Description copied from interface:ReportGridCellTitle
Returns whether specified shortcut metric could be created based on current cell.- Specified by:
canAddShortcutMetric
in interfaceReportGridCellTitle
- Parameters:
shortcutMetricType
- The metric type in (@link EnumShortcutMetricTypes}.
-
-