Interface ReportGridCellTitle
-
- All Superinterfaces:
java.lang.Cloneable,ReportGridDisplayCell
- All Known Subinterfaces:
ReportGridCellColTitle,ReportGridCellRowTitle
- All Known Implementing Classes:
AbstractReportGridCellTitle,ReportGridCellColTitleImpl,ReportGridCellRowTitleImpl,ReportGridDisplayCellColTitle,ReportGridDisplayCellRowTitle,ReportGridExcelCellColTitleImpl,ReportGridExcelCellRowTitleImpl
public interface ReportGridCellTitle extends ReportGridDisplayCell
- Since:
- MicroStrategy Web 8.0.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
ReportGridDisplayCell.Context
-
-
Field Summary
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancanAddShortcutMetric(int shortcutMetricType)Returns whether specified shortcut metric could be created based on current cell.WebEventgetAddShortcutMetricEvent(int shortcutMetricType)Returns the WebEvent to add shortcut metric based on current cell.WebSubTitlegetSubTitle()Returns the underlyingSDKobject associated with this cell.intgetSubtitleIndex()If attribute forms are displayed, returns the position of theWebSubTitlewithin the subtitles collection.WebTemplateUnitgetWebTemplateUnit()Obtain theWebTemplateUnitinstance associated with this classWebTitlegetWebTitle()Obtain theWebTitleinstance associated with this classvoidinit(TransformContext context, WebTemplateUnit unit)This method is called to initialize the cell in design mode.voidinit(TransformContext context, WebTitle title)This method is called to initialize the cell in view mode.voidinit(WebComponent wc, WebTemplateUnit unit, java.util.HashMap cachedObjects)Deprecated.please use the interface that takes aTransformContextobject instance as parametervoidinit(WebComponent wc, WebTitle title, java.util.HashMap cachedObjects)Deprecated.please use the interface that takes aTransformContextobject instance as parametervoidsetSubTitle(WebSubTitle subtitle)Registers the underlyingSDKobject associated with this cell.voidsetSubTitleIndex(int subtitleIndex)Registers the position of the underlyingWebSubTitlewithin the subtitles collection.-
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, getCellType, getColSpan, getControlElementSelectorEvent, getDerivedElementsEvent, getDrillEvent, getDrillPathWithHighImportance, getExtraInfo, getExtraStyle, getFilterOnEvent, getHeaderContent, getKey, getOpenFormatEditorEvent, getRenameEvent, getRowSpan, getSetFormatEditorTargetEvent, getStyle, getText, getTooltip, getWidth, init, init, init, init, isRW, reset, setAccessibilityInfo, setCellID, setColSpan, setContent, setContextMenu, setExtraInfo, setExtraStyle, setExtraStyle, setHTML, setInnerHTML, setPostContent, setPreContent, setRowSpan, setStyle, setText, setTooltip, setWidth
-
-
-
-
Method Detail
-
init
void init(TransformContext context, WebTitle title)
This method is called to initialize the cell in view mode. It receives aWebTitleinstance as the underlying SDK object- Parameters:
context-TransformContextinstance initialized with the grid's transform information.title-WebTitleinstance corresponding to the cell to be displayed.
-
init
@Deprecated void init(WebComponent wc, WebTemplateUnit unit, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContextobject instance as parameterThis method is called to initialize the cell in design mode. It receives aWebTemplateUnitas the underlying SDK object.- Parameters:
wc- The bean being transformed.unit- TheWebTemplateUnitcorresponding to this cell.cachedObjects- AHashMappopulated by the transform and used to store information shared across multiple cells.
-
init
@Deprecated void init(WebComponent wc, WebTitle title, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContextobject instance as parameterThis method is called to initialize the cell in view mode. It receives aWebTitleas the underlying SDK object.- Parameters:
wc- The bean being transformed.title- TheWebTitlecorresponding to this cell.cachedObjects- AHashMappopulated by the transform and used to store information shared across multiple cells.
-
init
void init(TransformContext context, WebTemplateUnit unit)
This method is called to initialize the cell in design mode. It receives aWebTemplateUnitinstance as the underlying SDK object- Parameters:
context-TransformContextinstance initialized with the grid's transform information.unit-WebTemplateUnitinstance corresponding to the cell to display.
-
getSubTitle
WebSubTitle getSubTitle()
Returns the underlyingSDKobject associated with this cell. If the report is in execute mode and attribute forms are displayed, returns the correspondingWebSubTitle; when in design mode, this method should returnnull.
It should always returnnullif the instance represents an empty cell.- Returns:
- The underlying SDK object.
-
setSubTitle
void setSubTitle(WebSubTitle subtitle)
Registers the underlyingSDKobject associated with this cell. If the report is in execute mode and attribute forms are displayed, the Transform will call this method to associate aWebSubTitlewith the cell.- Parameters:
subtitle- The correspondingWebSubTitleto associate with the cell.
-
getSubtitleIndex
int getSubtitleIndex()
If attribute forms are displayed, returns the position of theWebSubTitlewithin the subtitles collection.- Returns:
- The
WebSubTitleposition
-
setSubTitleIndex
void setSubTitleIndex(int subtitleIndex)
Registers the position of the underlyingWebSubTitlewithin the subtitles collection.- Parameters:
subtitleIndex- the position of the correspondingWebSubTitle
-
getWebTemplateUnit
WebTemplateUnit getWebTemplateUnit()
Obtain theWebTemplateUnitinstance associated with this class- Returns:
WebTemplateUnitinstance from where the information to be rendered by this class will be retrieved.
-
getWebTitle
WebTitle getWebTitle()
Obtain theWebTitleinstance associated with this class- Returns:
WebTitleinstance from where the information to be rendered by this class will be retrieved.
-
canAddShortcutMetric
boolean canAddShortcutMetric(int shortcutMetricType)
Returns whether specified shortcut metric could be created based on current cell.- Parameters:
shortcutMetricType- The metric type in (@link EnumShortcutMetricTypes}.
-
getAddShortcutMetricEvent
WebEvent getAddShortcutMetricEvent(int shortcutMetricType)
Returns the WebEvent to add shortcut metric based on current cell.- Parameters:
shortcutMetricType- The metric type in (@link EnumShortcutMetricTypes}.
-
-