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 boolean
canAddShortcutMetric(int shortcutMetricType)
Returns whether specified shortcut metric could be created based on current cell.WebEvent
getAddShortcutMetricEvent(int shortcutMetricType)
Returns the WebEvent to add shortcut metric based on current cell.WebSubTitle
getSubTitle()
Returns the underlyingSDK
object associated with this cell.int
getSubtitleIndex()
If attribute forms are displayed, returns the position of theWebSubTitle
within the subtitles collection.WebTemplateUnit
getWebTemplateUnit()
Obtain theWebTemplateUnit
instance associated with this classWebTitle
getWebTitle()
Obtain theWebTitle
instance associated with this classvoid
init(TransformContext context, WebTemplateUnit unit)
This method is called to initialize the cell in design mode.void
init(TransformContext context, WebTitle title)
This method is called to initialize the cell in view mode.void
init(WebComponent wc, WebTemplateUnit unit, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContext
object instance as parametervoid
init(WebComponent wc, WebTitle title, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContext
object instance as parametervoid
setSubTitle(WebSubTitle subtitle)
Registers the underlyingSDK
object associated with this cell.void
setSubTitleIndex(int subtitleIndex)
Registers the position of the underlyingWebSubTitle
within 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 aWebTitle
instance as the underlying SDK object- Parameters:
context
-TransformContext
instance initialized with the grid's transform information.title
-WebTitle
instance 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 aTransformContext
object instance as parameterThis method is called to initialize the cell in design mode. It receives aWebTemplateUnit
as the underlying SDK object.- 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.
-
init
@Deprecated void init(WebComponent wc, WebTitle title, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContext
object instance as parameterThis method is called to initialize the cell in view mode. It receives aWebTitle
as the underlying SDK object.- 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.
-
init
void init(TransformContext context, WebTemplateUnit unit)
This method is called to initialize the cell in design mode. It receives aWebTemplateUnit
instance as the underlying SDK object- Parameters:
context
-TransformContext
instance initialized with the grid's transform information.unit
-WebTemplateUnit
instance corresponding to the cell to display.
-
getSubTitle
WebSubTitle getSubTitle()
Returns the underlyingSDK
object 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 returnnull
if the instance represents an empty cell.- Returns:
- The underlying SDK object.
-
setSubTitle
void setSubTitle(WebSubTitle subtitle)
Registers the underlyingSDK
object associated with this cell. If the report is in execute mode and attribute forms are displayed, the Transform will call this method to associate aWebSubTitle
with the cell.- Parameters:
subtitle
- The correspondingWebSubTitle
to associate with the cell.
-
getSubtitleIndex
int getSubtitleIndex()
If attribute forms are displayed, returns the position of theWebSubTitle
within the subtitles collection.- Returns:
- The
WebSubTitle
position
-
setSubTitleIndex
void setSubTitleIndex(int subtitleIndex)
Registers the position of the underlyingWebSubTitle
within the subtitles collection.- Parameters:
subtitleIndex
- the position of the correspondingWebSubTitle
-
getWebTemplateUnit
WebTemplateUnit getWebTemplateUnit()
Obtain theWebTemplateUnit
instance associated with this class- Returns:
WebTemplateUnit
instance from where the information to be rendered by this class will be retrieved.
-
getWebTitle
WebTitle getWebTitle()
Obtain theWebTitle
instance associated with this class- Returns:
WebTitle
instance 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}.
-
-