java.lang.Object | |
↳ | com.microstrategy.web.app.transforms.ReportGridDisplayCellImpl |
![]() |
This class is deprecated.
Please use the ReportGridCellImpl instead.
This class represents the base implementation of a report grid cell. It is used
to represent a generic cell
This class has been deprecated along with all the ReportGridDisplayCell classes.
In its place, the Transform manipulates the cells through the ReportGridCell interface.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected WebEvent | _advDrillEditorProcessEvent | ||||||||||
protected WebEvent | _advdrillEvent | ||||||||||
protected String[][] | _appliedSorts | ||||||||||
protected Map | _cachedObjects | ||||||||||
protected String | _drillEditorName | ||||||||||
protected WebEvent | _drillEditorProcessEvent | ||||||||||
protected WebEvent | _drillEvent | ||||||||||
protected WebEvent | _drillFilterOnSelectionProcessEvent | ||||||||||
protected String | _drillFilterPageBy | ||||||||||
protected String | _imgBasePath | ||||||||||
protected Boolean | _isIFrameRequest | ||||||||||
protected boolean | _isNetscape | ||||||||||
protected boolean | _itemsAddedToContextMenu | ||||||||||
protected int | _maxColHeaderDepth | ||||||||||
protected WebEvent | _sortEvent | ||||||||||
protected String | _sortSubtotalColPosition | ||||||||||
protected String | _sortSubtotalPostion | ||||||||||
protected boolean | _specifyIDForCell | ||||||||||
protected boolean | _specifyWidthForCell | ||||||||||
protected String | _text | ||||||||||
protected FormalParameters | formalParas | ||||||||||
protected ReportBean | rb |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ReportGridDisplayCellImpl()
Constructor used for creating a generic display cell.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addExtraAttribute(String attributeName, String attributeValue)
Define extra tag attributes and their values that shall be included on the table cell
definition for the current instance being rendered
| ||||||||||
boolean |
canAddThresholds()
Utility methood for determining if the cell object is enabled for displaying the user
the option to add thresholds to it
| ||||||||||
boolean |
canDrill()
Utility methood for determining if the cell object is enabled for displaying the user
the option to drill on it
| ||||||||||
boolean |
canDrillAdvanced()
Utility methood for determining if the cell object is enabled for displaying the user
the option for advanced drilling on it
| ||||||||||
boolean |
canEditControl()
Utility methood for determining if the cell object is enabled for displaying the user
the option to edit control
| ||||||||||
boolean |
canEditMetricFilter()
Utility method for determining if the cell object is enabled editing a metric filter
| ||||||||||
boolean |
canFilterOn()
Utility methood for determining if the cell object is enabled for displaying the user
the option to filter on it
| ||||||||||
boolean | canFilterOnSelection() | ||||||||||
boolean |
canFormat()
Utility methood for determining if the cell object is enabled for displaying the user
the option to format it
| ||||||||||
boolean | canHaveDerivedElements() | ||||||||||
boolean |
canHyperLink()
Utility method for determining if the cell object is enabled for displaying the
user the option to navigate to custom hyperlinks
| ||||||||||
boolean |
canInsertShortcutMetric()
Utility methood for determining if the cell object is enabled for displaying the user
the option to insert shortcut metrics based on it
| ||||||||||
boolean |
canMetricFilterOn()
Utility method for determining if the cell object is enabled for displaying the user
the option to filter on it
| ||||||||||
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
| ||||||||||
boolean | canOpenAlerts() | ||||||||||
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
| ||||||||||
boolean |
canPivot()
Utility methood for determining if the cell object is enabled for displaying the user
the option to pivot it
| ||||||||||
boolean | canQuickGroup() | ||||||||||
boolean |
canRemoveFromGrid()
Utility methood for determining if the cell object is enabled for displaying the user
the option to remove it from the grid.
| ||||||||||
boolean |
canRemoveFromReport()
Utility methood for determining if the cell object is enabled for displaying the user
the option to remove it from the report
| ||||||||||
boolean |
canRename()
Utility methood for determining if the cell object is enabled for displaying the user
the option to rename it
| ||||||||||
boolean |
canSort()
Utility methood for determining if the cell object is enabled for displaying the user
the option to sort it
| ||||||||||
Object |
clone()
Utility method to clone this object.
| ||||||||||
void |
generateOutput(MarkupOutput mo)
Generate complete HTML for this cell.
| ||||||||||
String |
getAccessibilityInfo()
This method is deprecated.
addExtraAttribute(String, String) is used instead for specifying the accessibility information,
for example, addExtraAttribute("scope", "row");
| ||||||||||
String |
getCellID()
Returns the id for this cell, will be used as ID attribute of in HTML
| | |||||||||
int |
getCellType()
Returns the cell type
| ||||||||||
int |
getColSpan()
Returns the col span for this cell
| ||||||||||
WebEvent | getControlElementSelectorEvent(RWControl control, String elementList) | ||||||||||
WebEvent | getDerivedElementsEvent() | ||||||||||
WebEvent |
getDrillEvent(WebDrillPath dp, String elementKey, WebTitle title)
Returns the WebEvent to drill from the cell to the given drill path.
| ||||||||||
WebDrillPath |
getDrillPathWithHighImportance()
Obtain the Drill path with high importance information for the current cell being analyzed
| ||||||||||
String |
getExtraInfo()
Returns the extra info for this cell
| ||||||||||
String |
getExtraStyle()
Returns the extra style info for this cell
| ||||||||||
String |
getExtraUrl()
get extra url for the cell
| ||||||||||
WebEvent |
getFilterOnEvent()
Get the event for filter on the cell header instance
| ||||||||||
String |
getHeaderContent(WebHeader header)
generate output for a header
| ||||||||||
int | getKey() | ||||||||||
WebEvent |
getOpenFormatEditorEvent()
Get the event for opening the format editor
| ||||||||||
WebEvent |
getRenameEvent()
Get the event for renaming the current cell
| ||||||||||
ReportBean |
getReportBean()
Returns the report bean associated with this display cell
| ||||||||||
int |
getReportDesignMode()
This method is deprecated.
Please check the
reportDesignMode formal parameter value instead.
| ||||||||||
int |
getRowSpan()
Returns the row span for this cell
| ||||||||||
WebEvent |
getSetFormatEditorTargetEvent()
Get the event for setting the current target of the format editor to be this cell instance
| ||||||||||
String |
getStyle()
Returns the css style name for this cell
| ||||||||||
WebSubTitle |
getSubTitle()
Returns the subtitle for this cell
| ||||||||||
int |
getSubtitleIndex()
Returns the subtitle index for this cell
| ||||||||||
String |
getText()
Returns the text for this cell
| ||||||||||
String |
getTooltip()
Returns the tooltip text for this cell
| ||||||||||
String |
getWidth()
Returns the width for this cell
| ||||||||||
void |
init(TransformContext context)
Initializes the instance.
| ||||||||||
void |
init(WebComponent wc, FormalParameters formalParas)
Init method used for creating a generic display cell.
| ||||||||||
void |
init(WebComponent wc, HashMap cachedObjects)
This method is deprecated.
please use the interface that takes
Context object instances as parameter
| ||||||||||
void |
init(FormalParameters formalParas)
Init method used for creating a generic display cell.
| ||||||||||
boolean |
isRW()
Utility methood for determining whether it is a RW execution.
| ||||||||||
void |
reset()
Reset all of the instance variables.
| ||||||||||
void |
setAccessibilityInfo(String accessibilityInfo)
Sets any information that should be used in case Accessibility Mode (508) is enabled by the user
| ||||||||||
void |
setCellID(String cellID)
Sets the id for this cell, will be used as ID attribute of in HTML
| | |||||||||
void |
setCellType(int cellType)
Sets the type for this cell, value should be from EnumReportGridDisplayCellTypes
| ||||||||||
void |
setColSpan(int colSpan)
Sets the col span for this cell
| ||||||||||
void |
setContent(String content)
set the content (HTML format) for this cell.
| ||||||||||
void |
setContextMenu(String contextMenu)
This method is deprecated.
use the context menu infrastructure for defining this information, or the
addExtraAttribute(String, String) method for adding tag attributes.
| ||||||||||
void | setDrillPath(String drillPath) | ||||||||||
void |
setExtraInfo(String extraInfo)
Sets the extra info for this cell
| ||||||||||
void |
setExtraStyle(String extraStyle, boolean append)
Updates values to the
STYLE attribute of the TD tag. | ||||||||||
void |
setExtraStyle(String extraStyle)
Sets the extra style info for this cell
| ||||||||||
void |
setExtraUrl(String value)
set extra url for the cell
| ||||||||||
void |
setHTML(String html)
Sets the complete HTML for this cell.
| ||||||||||
void |
setInnerHTML(String innerHTML)
Sets the inner HTML for this cell.
| ||||||||||
void |
setPostContent(String postContent)
set the post-content (HTML format) for this cell.
| ||||||||||
void |
setPreContent(String preContent)
set the pre-content (HTML format) for this cell.
| ||||||||||
void |
setRowSpan(int rowSpan)
Sets the row span for this cell
| ||||||||||
void |
setStyle(String style)
Sets the css style name for this cell
| ||||||||||
void |
setSubTitle(WebSubTitle subtitle)
Sets the subtitle for this cell
| ||||||||||
void |
setSubTitleIndex(int subtitleIndex)
Sets the subtitle index for this cell
| ||||||||||
void |
setText(String text)
Sets the text for this cell
| ||||||||||
void |
setTooltip(String tooltip)
Sets the tooltop for the text in this cell
| ||||||||||
void |
setWidth(String width)
Sets the width for this cell
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
convertNonbreakingSpaceOnMV()
This method is deprecated.
This functionality has been moved to the excel-only related classes such as
ReportGridExcelCellMetricValueImpl and ReportGridExcelTransform . This method
now always returns false.
| ||||||||||
boolean |
decodeEuro()
This method is deprecated.
This method as well as the
decodeEuro formal parameter itself
are not used anymore on the application.
| ||||||||||
boolean |
encodeMV()
This method is deprecated.
This method is only required at the metric value cell, please use
encodeMetricValue() .
| ||||||||||
void |
generateContent(MarkupOutput mo)
Generate the core HTML for this cell.
| ||||||||||
void |
generateContextMenu(MarkupOutput mo)
Generate the context menu for this cell.
| ||||||||||
void |
generateDragAndDrop(MarkupOutput mo)
Generate drag and drop properties.
| ||||||||||
void |
generateDrillCheckBox(MarkupOutput mo)
Generate the drill check box.
| ||||||||||
boolean |
generateDrillCheckBox(MarkupOutput mo, ReportBean rb, WebHeader header)
generate output for checkboxes for drill
| ||||||||||
void |
generateDrillOpenLink(MarkupOutput mo, ReportBean rb, String url, String title, boolean javascriptUsedForDrill, String sElementID)
generate open anchor for drill link for header elements
| ||||||||||
boolean |
generateFilterOnSelectionCheckBox(MarkupOutput mo, ReportBean rb, WebHeader header)
generate output for the checkbox for Filter on Selections
| ||||||||||
void |
generateFilterOnSelectionCheckBox(MarkupOutput mo)
Generate the filter on selection check box.
| ||||||||||
void |
generateHeaderDrillContextMenu(MarkupOutput mo, ReportBean rb, WebHeader header, StringBuffer sHeaderURL, ContextMenu rhMenu)
generate the drilling context menu for headers
| ||||||||||
void |
generateHeaderSortContextMenu(MarkupOutput mo, ReportBean rb, WebHeader header, ContextMenu rhMenu)
generate the output for sorting context menu for headers
| ||||||||||
void |
generateInnerHTML(MarkupOutput mo)
Returns the inner HTML for this cell.
| ||||||||||
void |
generateOutlineModeImage(MarkupOutput mo)
Generate the javascript images for collapse and expand for outline mode.
| ||||||||||
void |
generateOutlineSubTotalName(MarkupOutput mo)
Generate the name of the subtotal type next to the header element for outline mode.
| ||||||||||
void |
generatePivotButtons(MarkupOutput mo)
Generate pivot buttons.
| ||||||||||
void |
generatePostContent(MarkupOutput mo)
Generate the postContent of the cell.
| ||||||||||
void |
generatePreContent(MarkupOutput mo)
Generate the preContent of the cell.
| ||||||||||
void |
generateRowValueDrillContextMenu(MarkupOutput mo, ReportBean rb, WebRowValue rowValue, StringBuffer sHeaderURL, ContextMenu rhMenu)
generate the drilling context menu for row values
| ||||||||||
void |
generateSortButton(MarkupOutput mo)
Generate sort button for this cell.
| ||||||||||
void |
generateTitleDrillContextMenu(MarkupOutput mo, ReportBean rb, WebTitle title, StringBuffer sTitleURL, ContextMenu rhMenu)
generate output for drilling context menu for titles
| ||||||||||
void |
generateTitleSortContextMenu(MarkupOutput mo, ReportBean rb, WebTitle title, ContextMenu rhMenu)
generate the output for sorting context menu for titles
| ||||||||||
void |
generateTooltip(MarkupOutput mo)
Generate the context menu for this cell.
| ||||||||||
String | generateTooltipContent() | ||||||||||
void |
generateTooltipForHeaders(MarkupOutput mo)
Generate the tool tip for this cell.
| ||||||||||
void |
generateTooltipForRowValue(MarkupOutput mo)
Generate the tool tip for this cell.
| ||||||||||
void |
generateTooltipForTitles(MarkupOutput mo)
Generate the tool tip for this cell.
| ||||||||||
WebMetric |
getColHeaderWebMetric(WebHeader header)
get the metric object for the column header
| ||||||||||
Map |
getContextMenuAttributes()
Obtain the tag attributes that should be added to the cell's definition for
processing context menus
| ||||||||||
ContextMenuManager |
getContextMenuManager()
get the
ContextMenuManager object | ||||||||||
String |
getCssPrefix()
This method is deprecated.
Please check the
cssPrefix formal parameter value instead.
| ||||||||||
String |
getDescription()
Returns the description for this cell.
| ||||||||||
String |
getDescriptor(ReportBean rb, int key)
Get descriptor for this key
| ||||||||||
String | getDrillPath() | ||||||||||
EventManager |
getEventManager()
get the
EventManager object | ||||||||||
int |
getFPIntValue(String fpName)
get formal parameter value as an integer value
| ||||||||||
String |
getFPStringValue(String fpName)
get the formal parameter value as a string value
| ||||||||||
String |
getHeaderDrillParametersForDHTML(ReportBean rb, WebDrillPath dp, WebHeader header)
generate drilling url parameters for DHTML mode
| ||||||||||
WebDrillPath |
getHeaderDrillPathWithHighImportance(ReportBean rb, WebHeader header)
generate drilling url parameters for DHTML mode
| ||||||||||
String |
getHeaderDrillURL(ReportBean rb, WebDrillPath dp, WebHeader header)
generate the output for drilling URL for headers
| ||||||||||
String |
getImgName(String fpName)
get the corresponding image name for a formal parameter representing an image
| ||||||||||
int |
getMaxSortAllowed()
This method is deprecated.
Please check the
maxSortAllowed formal parameter value instead.
| ||||||||||
String |
getPostTextForMetricValue()
This method is deprecated.
Please check the
postTextForMetricValue formal parameter value instead.
| ||||||||||
String |
getPostTextForNonMetricValue()
This method is deprecated.
Please check the
postTextForNonMetricValue formal parameter value instead.
| ||||||||||
String |
getPreTextForMetricValue()
This method is deprecated.
Please check the
preTextForMetricValue formal parameter value instead.
| ||||||||||
String |
getPreTextForNonMetricValue()
This method is deprecated.
Please check the
preTextForNonMetricValue formal parameter value instead.
| ||||||||||
String | getRowValueDrillElements(WebRowValue rowValue) | ||||||||||
String |
getRowValueDrillParametersForDHTML(ReportBean rb, WebDrillPath dp)
generate drilling url parameters for row value in DHTML mode
| ||||||||||
WebDrillPath |
getRowValueDrillPathWithHighImportance(ReportBean rb, WebRowValue rowValue)
generate drilling url parameters for row value in DHTML mode
| ||||||||||
String |
getRowValueDrillURL(ReportBean rb, WebDrillPath dp, WebRowValue rowValue)
generate the output for drilling URL for row value
| ||||||||||
int |
getShowDescriptionAsTooltip(String fpName)
get formal parameter value as an int value
| ||||||||||
boolean |
getSortStatus(String sSortID, String[][] appliedSorts)
get the sort statys
| ||||||||||
String |
getTitleDrillParametersForDHTML(ReportBean rb, WebDrillPath dp, WebTitle title)
generate drilling url parameters for DHTML mode
| ||||||||||
String |
getTitleDrillURL(ReportBean rb, WebDrillPath dp, WebTitle title)
generate the output for drilling URL for titles
| ||||||||||
void | initDNDForDesignMode(DragAndDropItem item) | ||||||||||
void | initDNDForExecuteMode(DragAndDropItem item) | ||||||||||
void | initDragAndDrop(DragAndDropItem item) | ||||||||||
boolean |
isContextMenuEnabled()
This method is deprecated.
Please check the
isContextMenuEnabled formal parameter value instead.
| ||||||||||
boolean |
isDesignMode()
is design mode or not
| ||||||||||
boolean |
isDragAndDropEnabled()
This method is deprecated.
Please check the
isDragAndDropEnabled formal parameter value instead.
| ||||||||||
boolean |
isFPTrue(String fpName)
get formal parameter value as a boolean value
| ||||||||||
boolean | isFPTrue(String fpName, boolean defValue) | ||||||||||
boolean |
isHeaderNeedLink(WebHeader header)
return whether to display link for drill
| ||||||||||
boolean |
isIFrameEnabled()
whether ifram is enabled
| ||||||||||
boolean |
isIFrameRequest()
whether it's an iframe request
| ||||||||||
boolean |
isItemsAddedToContextMenu()
return whether there is any item added to the context menu
| ||||||||||
boolean |
isMetric()
determine if the cell is containing a metric
| ||||||||||
boolean |
isMetricDrillable(WebHeader header, WebDrillPath drillPath)
return whether the header has a drillable metric
| ||||||||||
boolean |
isOutlineModeEnabled()
is outline more feature enabled
| ||||||||||
boolean |
isRowValueNeedLink(WebRowValue rowValue)
return whether to display link for drill
| ||||||||||
boolean |
isSortAscending(String sSortID, String[][] appliedSorts)
check if the sort is ascending
| ||||||||||
boolean |
isTitleNeedLink(WebTitle title)
return whether to display link for drill
| ||||||||||
void |
setDescription(String description)
Sets the description for this cell.
| ||||||||||
void |
setStyleForNonBuiltInFormat(String style, int rowOrdinal)
set the style for the cell when not using the built in report formatting
| ||||||||||
boolean |
showBanding()
This method is deprecated.
Please check the
showBanding formal parameter value instead.
| ||||||||||
boolean |
showDrillAdvanced()
This method is deprecated.
Please check the
showDrillAdvanced formal parameter value instead.
| ||||||||||
boolean |
showDrillCheckBox()
This method is deprecated.
Please check the
showDrillCheckBox formal parameter value instead.
| ||||||||||
boolean |
showDrillDownOnly()
This method is deprecated.
Please check the
showDrillDownOnly formal parameter value instead.
| ||||||||||
boolean |
showDrillHyperlink()
This method is deprecated.
Please check the
showDrillHyperlink formal parameter value instead.
| ||||||||||
boolean |
showDrillHyperlinkMetric()
This method is deprecated.
Please check the
showDrillHyperlinkMetric formal parameter value instead.
| ||||||||||
boolean |
showDrillMetric()
This method is deprecated.
Please check the
showDrillMetric formal parameter value instead.
| ||||||||||
boolean |
showDrillRMC()
This method is deprecated.
Please check the
showDrillRMC formal parameter value instead.
| ||||||||||
boolean |
showDrillRMCMetric()
This method is deprecated.
Please check the
showDrillRMCMetric formal parameter value instead.
| ||||||||||
boolean |
showFilterOnSelectionCheckBox()
This method is deprecated.
Please check the
showFilterOnSelectionCheckBox formal parameter value instead.
| ||||||||||
boolean |
showFormattingRMC()
This method is deprecated.
Please check the
showFormattingRMC formal parameter value instead.
| ||||||||||
boolean |
showPivot()
This method is deprecated.
Please check the
showPivot formal parameter value instead.
| ||||||||||
boolean |
showPivotRMC()
This method is deprecated.
Please check the
showPivotRMC formal parameter value instead.
| ||||||||||
boolean |
showRemove()
This method is deprecated.
Please check the
showRemove formal parameter value instead.
| ||||||||||
boolean |
showRemoveRMC()
This method is deprecated.
Please check the
showRemoveRMC formal parameter value instead.
| ||||||||||
boolean |
showRenameRMC()
This method is deprecated.
Please check the
showRenameRMC formal parameter value instead.
| ||||||||||
boolean |
showSortButtonsForAttributes()
This method is deprecated.
Please check the
showSortButtonsForAttributes formal parameter value instead.
| ||||||||||
boolean |
showSortButtonsForMetrics()
This method is deprecated.
Please check the
showSortButtonsForMetrics formal parameter value instead.
| ||||||||||
boolean |
showSortRMCForAttributes()
This method is deprecated.
Please check the
showSortRMCForAttributes formal parameter value instead.
| ||||||||||
boolean |
showSortRMCForMetrics()
This method is deprecated.
Please check the
showSortRMCForMetrics formal parameter value instead.
| ||||||||||
boolean |
showSubTitle()
whethere display sub title
| ||||||||||
boolean |
useBuiltInFormat()
This method is deprecated.
Please check the
useBuiltInFormat formal parameter value instead.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructor used for creating a generic display cell.
Define extra tag attributes and their values that shall be included on the table cell definition for the current instance being rendered
attributeName | String value with the name of the attribute to add |
---|---|
attributeValue | String value with the value of the attribute to add |
Utility methood for determining if the cell object is enabled for displaying the user the option to add thresholds to it
Utility methood for determining if the cell object is enabled for displaying the user the option to drill on it
Utility methood for determining if the cell object is enabled for displaying the user the option for advanced drilling on it
Utility methood for determining if the cell object is enabled for displaying the user the option to edit control
Utility method for determining if the cell object is enabled editing a metric filter
Utility methood for determining if the cell object is enabled for displaying the user the option to filter on it
Utility methood for determining if the cell object is enabled for displaying the user the option to format it
Utility method for determining if the cell object is enabled for displaying the user the option to navigate to custom hyperlinks
Utility methood for determining if the cell object is enabled for displaying the user the option to insert shortcut metrics based on it
Utility method for determining if the cell object is enabled for displaying the user the option to filter on it
Utility methood for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on it
Utility methood for determining if the cell object is enabled for displaying the user the option to pivot it according to the type specified
type | value indicating which type of pivot manipulation is being tested.
Values come from the PIVOT_INCREASE_POSITION , PIVOT_DECREASE_POSITION ,
PIVOT_SWITCH_AXIS , PIVOT_TO_PAGE_BY and PIVOT_REMOVE constants. |
---|
Utility methood for determining if the cell object is enabled for displaying the user the option to pivot it
Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the grid.
Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the report
Utility methood for determining if the cell object is enabled for displaying the user the option to rename it
Utility methood for determining if the cell object is enabled for displaying the user the option to sort it
Utility method to clone this object.
Generate complete HTML for this cell.
mo | the output object |
---|
This method is deprecated.
addExtraAttribute(String, String)
is used instead for specifying the accessibility information,
for example, addExtraAttribute("scope", "row");
Get any information that should be used in case Accessibility Mode (508) is enabled by the user
Returns the id for this cell, will be used as ID attribute of
Returns the cell type
Returns the col span for this cell
Returns the WebEvent to drill from the cell to the given drill path.
dp | The drill path to use for drilling. |
---|---|
elementKey | The key for the element to drill to |
title | The WebTitle to drill from. |
Obtain the Drill path with high importance information for the current cell being analyzed
WebDrillPath
instance initialized, with the drill path with high
importance information if available, otherwise returns null
Returns the extra info for this cell
Returns the extra style info for this cell
get extra url for the cell
Get the event for filter on the cell header instance
WebEvent
instance initialized for filtering on the information of this cellgenerate output for a header
header | the WebHeader object |
---|
Get the event for opening the format editor
WebEvent
instance initialized for opening the format editorGet the event for renaming the current cell
WebEvent
instance initialized with the information for renaming the current
cell.Returns the report bean associated with this display cell
This method is deprecated.
Please check the reportDesignMode
formal parameter value instead.
Returns the mode from EnumReportViewModes
Returns the row span for this cell
Get the event for setting the current target of the format editor to be this cell instance
WebEvent
instance initialized for setting the target of the format editor
to be the current cell instance.Returns the css style name for this cell
Returns the subtitle index for this cell
Returns the text for this cell
Returns the tooltip text for this cell
Returns the width for this cell
Initializes the instance.
context | TransformContext instance that contains a reference to the
transform being used to render the overall grid information |
---|
Init method used for creating a generic display cell.
wc | associated web component |
---|---|
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. |
This method is deprecated.
please use the interface that takes Context
object instances as parameter
Init method used for creating a generic display cell.
wc | associated web component |
---|---|
cachedObjects | cached object, used to store some information shared across multiple cells |
Init method used for creating a generic display cell.
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. |
---|
Utility methood for determining whether it is a RW execution.
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.
Sets any information that should be used in case Accessibility Mode (508) is enabled by the user
accessibilityInfo | the extra accessibility info for this cell |
---|
Sets the id for this cell, will be used as ID attribute of
cellID | the id for this cell |
---|
Sets the type for this cell, value should be from EnumReportGridDisplayCellTypes
cellType | the type for this cell |
---|
Sets the col span for this cell
colSpan | col span for this cell |
---|
set the content (HTML format) for this cell.
content | content for this cell. |
---|
This method is deprecated.
use the context menu infrastructure for defining this information, or the
addExtraAttribute(String, String)
method for adding tag attributes.
Sets the context menu for this cell
contextMenu | the context menu for this cell |
---|
Sets the extra info for this cell
extraInfo | the extra info for this cell |
---|
Updates values to the STYLE
attribute of the TD
tag. The style
assigned this way will only apply to this cell. Based on the value of append, Information added through this
method is appended to other information currently assigned to this attribute.
extraStyle | The text to add |
---|---|
append | whether to overwrite or append to the existing style value. Note, the method does not append an automatic semi-colon. Best practice is to ensure that semi-colons are present at the end of value being set (e.g. text-decoration:none; ). |
Sets the extra style info for this cell
extraStyle | the extra style info for this cell |
---|
set extra url for the cell
value | extra url for the cell |
---|
Sets the complete HTML for this cell. Sets the inner HTML for this cell. It's the html code beginning with
html | the HTML string |
---|
Sets the inner HTML for this cell. Inner HTML is the html code between
innerHTML | inner HTML for this cell |
---|
set the post-content (HTML format) for this cell.
postContent | post content for this cell |
---|
set the pre-content (HTML format) for this cell.
preContent | pre-content for this cell |
---|
Sets the row span for this cell
rowSpan | the row span for this cell |
---|
Sets the css style name for this cell
style | css style name to be used for this cell |
---|
Sets the subtitle for this cell
subtitle | to be used for this cell |
---|
Sets the subtitle index for this cell
subtitleIndex | to be used for this cell |
---|
Sets the text for this cell
text | text for this cell |
---|
Sets the tooltop for the text in this cell
tooltip | the tooltip to display when the cursor goes over the cell |
---|
Sets the width for this cell
width | text for this cell |
---|
This method is deprecated.
This functionality has been moved to the excel-only related classes such as
ReportGridExcelCellMetricValueImpl
and ReportGridExcelTransform
. This method
now always returns false.
Whether to convert nonbreaking spaces (char 160) to normal spaces (char 32) on metric values. Used for Exporting to Excel on French Environments.
This method is deprecated.
This method as well as the decodeEuro
formal parameter itself
are not used anymore on the application.
Whether to decode the Euro symbol on the metric values
This method is deprecated.
This method is only required at the metric value cell, please use
encodeMetricValue()
.
Whether to HTML-encode metric values.
Generate the core HTML for this cell. By default, it's the text of the cell.
mo | the output object |
---|
Generate the context menu for this cell.
mo | the output object |
---|
Generate drag and drop properties.
mo | the output object |
---|
Generate the drill check box.
mo | the output object |
---|
generate output for checkboxes for drill
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
header | the WebHeader object |
generate open anchor for drill link for header elements
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
url | the url for the link |
title | the WebTitle object |
javascriptUsedForDrill | whether use javascript for drilling |
sElementID | The drill element ID for this header element |
generate output for the checkbox for Filter on Selections
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
header | the WebHeader object |
Generate the filter on selection check box.
mo | the output object |
---|
generate the drilling context menu for headers
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
header | the WebHeader object |
sHeaderURL | the header's url |
rhMenu | the context menu object |
generate the output for sorting context menu for headers
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
header | the WebHeader object |
rhMenu | the context menu object |
Returns the inner HTML for this cell. InnerHTML is composed of precontent, followed by content, followed by post-content. Could be overrided by subclasses.
Generate the javascript images for collapse and expand for outline mode.
mo | the output object |
---|
Generate the name of the subtotal type next to the header element for outline mode.
mo | the output object |
---|
Generate pivot buttons.
mo | the output object |
---|
Generate the postContent of the cell. The post-Content means the html content after the real core content of the cell. An sample would be a sort button after the text.
mo | the output object |
---|
Generate the preContent of the cell. The pre-Content means the html content before real core content of the cell. An sample would be a checkbox before the text.
mo | the output object |
---|
generate the drilling context menu for row values
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
rowValue | the WebRowValue object |
sHeaderURL | the header's url |
rhMenu | the context menu object |
Generate sort button for this cell.
mo | the output object |
---|
generate output for drilling context menu for titles
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
title | the WebTitle object |
sTitleURL | the title's url |
rhMenu | the context menu object |
generate the output for sorting context menu for titles
mo | the MarkupOutput object |
---|---|
rb | the ReportBean object |
title | the WebTitle object |
rhMenu | the context menu object |
Generate the context menu for this cell.
mo | the output object |
---|
Generate the tool tip for this cell.
mo | the output object |
---|
Generate the tool tip for this cell.
mo | the output object |
---|
Generate the tool tip for this cell.
mo | the output object |
---|
get the metric object for the column header
header | the column header |
---|
WebMetric
object
Obtain the tag attributes that should be added to the cell's definition for processing context menus
get the ContextMenuManager
object
ContextMenuManager
object
This method is deprecated.
Please check the cssPrefix
formal parameter value instead.
get the prefix for the css class name
Returns the description for this cell.
Get descriptor for this key
key | input key as an int |
---|
get the EventManager
object
EventManager
object
get formal parameter value as an integer value
fpName | formal parameter name |
---|
get the formal parameter value as a string value
fpName | formal parameter name |
---|
generate drilling url parameters for DHTML mode
rb | the ReportBean object |
---|---|
dp | the drill path |
header | the WebHeader object |
generate drilling url parameters for DHTML mode
rb | the ReportBean object |
---|---|
header | the WebHeader object |
generate the output for drilling URL for headers
rb | the ReportBean object |
---|---|
dp | the drill path |
header | the WebHeader object |
get the corresponding image name for a formal parameter representing an image
fpName | formal parameter name |
---|
This method is deprecated.
Please check the maxSortAllowed
formal parameter value instead.
get the max number of sorts
This method is deprecated.
Please check the postTextForMetricValue
formal parameter value instead.
the text after displaying the metric value itself
This method is deprecated.
Please check the postTextForNonMetricValue
formal parameter value instead.
the text after displaying the non-metric value itself
This method is deprecated.
Please check the preTextForMetricValue
formal parameter value instead.
the text before displaying the metric value itself
This method is deprecated.
Please check the preTextForNonMetricValue
formal parameter value instead.
the text before displaying the non-metric value itself
generate drilling url parameters for row value in DHTML mode
rb | the ReportBean object |
---|---|
dp | the drill path |
generate drilling url parameters for row value in DHTML mode
rb | the ReportBean object |
---|---|
rowValue | the WebRowValue object |
generate the output for drilling URL for row value
rb | the ReportBean object |
---|---|
dp | the drill path |
rowValue | the WebRowValue object |
get formal parameter value as an int value
fpName | formal parameter name |
---|
get the sort statys
sSortID | sortID |
---|---|
appliedSorts | the sort information array |
generate drilling url parameters for DHTML mode
rb | the ReportBean object |
---|---|
dp | the drill path |
title | the WebTitle object |
generate the output for drilling URL for titles
rb | the ReportBean object |
---|---|
dp | the drill path |
title | the WebTitle object |
This method is deprecated.
Please check the isContextMenuEnabled
formal parameter value instead.
is context menu featuer enabled
is design mode or not
This method is deprecated.
Please check the isDragAndDropEnabled
formal parameter value instead.
is drag and drop feature enabled
get formal parameter value as a boolean value
fpName | formal parameter name |
---|
return whether to display link for drill
header | the WebHeader object |
---|
whether ifram is enabled
whether it's an iframe request
return whether there is any item added to the context menu
determine if the cell is containing a metric
return whether the header has a drillable metric
header | the header object |
---|---|
drillPath | the drill path |
is outline more feature enabled
return whether to display link for drill
rowValue | the WebRowValue object |
---|
check if the sort is ascending
sSortID | the sort id |
---|---|
appliedSorts | the sort information array |
return whether to display link for drill
title | the WebTitle object |
---|
Sets the description for this cell.
description | description for this cell. |
---|
set the style for the cell when not using the built in report formatting
style | style name |
---|---|
rowOrdinal | row ordial |
This method is deprecated.
Please check the showBanding
formal parameter value instead.
whether display banding for the report
This method is deprecated.
Please check the showDrillAdvanced
formal parameter value instead.
whether display advanced drilling
This method is deprecated.
Please check the showDrillCheckBox
formal parameter value instead.
whether display checkbox for drill
This method is deprecated.
Please check the showDrillDownOnly
formal parameter value instead.
whether only display drill down paths
This method is deprecated.
Please check the showDrillHyperlink
formal parameter value instead.
whether display drill link
This method is deprecated.
Please check the showDrillHyperlinkMetric
formal parameter value instead.
whether display drill link for metric
This method is deprecated.
Please check the showDrillMetric
formal parameter value instead.
whether display drill on metric
This method is deprecated.
Please check the showDrillRMC
formal parameter value instead.
whether display drill RMC (right mouse click context menu)
This method is deprecated.
Please check the showDrillRMCMetric
formal parameter value instead.
whether display drill RMC (right mouse click context menu) for metric
This method is deprecated.
Please check the showFilterOnSelectionCheckBox
formal parameter value instead.
whether display checkbox for filter on selection
This method is deprecated.
Please check the showFormattingRMC
formal parameter value instead.
whether display formatting RMC (right mouse click context menu)
This method is deprecated.
Please check the showPivot
formal parameter value instead.
whether display pivot buttons
This method is deprecated.
Please check the showPivotRMC
formal parameter value instead.
whether display pivot RMC (right mouse click context menu)
This method is deprecated.
Please check the showRemove
formal parameter value instead.
whether display remove buttons
This method is deprecated.
Please check the showRemoveRMC
formal parameter value instead.
whether display remove RMC (right mouse click context menu)
This method is deprecated.
Please check the showRenameRMC
formal parameter value instead.
whether display rename RMC (right mouse click context menu)
This method is deprecated.
Please check the showSortButtonsForAttributes
formal parameter value instead.
whether display sort buttons for attributes
This method is deprecated.
Please check the showSortButtonsForMetrics
formal parameter value instead.
whether display sort buttons for metrics
This method is deprecated.
Please check the showSortRMCForAttributes
formal parameter value instead.
whether display sort RMC for attributes
This method is deprecated.
Please check the showSortRMCForMetrics
formal parameter value instead.
whether display sort RMC for metrics
whethere display sub title
This method is deprecated.
Please check the useBuiltInFormat
formal parameter value instead.
whether use report's built-in formatting, ie the formatting defined in the report definition.