Package com.microstrategy.web.objects
Interface WebHeader
- 
- All Superinterfaces:
- WebCssFormatContainer,- WebTransactableDataObject
 - All Known Subinterfaces:
- WebAttributeHeader,- WebDimensionHeader,- WebMetricHeader
 
 public interface WebHeader extends WebCssFormatContainer, WebTransactableDataObject The WebHeader describes the contents of its associated row, column or page. Each WebHeader is displayed in association with aWebSubTitle.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanExpandCollapse()java.lang.StringgetCellColor()DE22117WebHeadersgetChildren()For page-tree style, each selected WebHeader determines what the remaining page headers would be displayed.intgetColSpan()WebHeadersgetContainer()intgetDepth()Returns the depth of the header.java.lang.StringgetDisplayName()java.lang.StringgetDrillElement()intgetHeaderType()Returns the type of this header from the enumeration EnumWebHeaderType.WebHeadergetMergedChild()Returns the merged child, if any, otherwise null.intgetMix()When this header is a header for a metric, returns the index of this header's metric within "Metrics" unit.intgetOrdinal()Returns the index number of the row/column/page, which this header is on.WebHeadergetParent()Returns the parent, if any, of this header.WebTitleUnitgetParentTitleUnit()intgetPositionInContainer()intgetRALevel()java.lang.StringgetRawValue()Return raw data value of this header.intgetRowSpan()intgetSemantics()The meaning of this form value.WebObjectInfogetTarget()Returns the target of the header, if one exists.intgetThresholdIndex()Returns the threshold index value of the corresponding template unit on the axis.WebTitlegetTitle()WebTitleUnitgetTitleUnit(java.lang.Boolean useParent)intgetTotalType()Only meaningful ifisTotal()is true.intgetTransactionAction()return thresholdActionEnumDSSXMLTransactionActionintgetUnitIndex()Returns the index value of the corresponding template unit on the axis.WebElementgetWebElement()intgetWebElementIndex()Returns the index position ofgetWebElement()in theWebTitleUnit.getWebElements()collection returned bygetWebElementsTitleUnit().intgetWebElementIndex(java.lang.Boolean useParent)If parameter "useParent" is true this will return the index position ofgetWebElement()inWebTitleUnit.getWebElements()collection returned bygetParentTitleUnit().WebTitleUnitgetWebElementsTitleUnit()booleanhasRaChildren()booleanisBeforeLast()booleanisCurrentElement()Identifies whether the current header is the current (selected) element.booleanisCurrentSelectorElement()returns true if the current element is the selected control element for a selector sourced at the owner template unit.booleanisDerivedElement()booleanisEditDisable()Returns the unit can be edit or not.booleanisFirst()booleanisLast()booleanisLastRow()booleanisMultiForm()booleanisNDE()booleanisRaExpanded()booleanisSameAsParent()This call identifies the current element as identical to its parent.booleanisTotal()voidsetTransactionAction(int action)set thresholdActionEnumDSSXMLTransactionAction- 
Methods inherited from interface com.microstrategy.web.objects.WebCssFormatContainergetCssClass, getCssFormat, getFormatPropertySets
 - 
Methods inherited from interface com.microstrategy.web.objects.WebTransactableDataObjectisModifiedByTransaction
 
- 
 
- 
- 
- 
Method Detail- 
getColSpanint getColSpan() - Returns:
- the column span.
 
 - 
getRowSpanint getRowSpan() - Returns:
- the row span.
 
 - 
getOrdinalint getOrdinal() Returns the index number of the row/column/page, which this header is on. The number starts from "0" and increases in the grid. This remains true even if a partial report is retrieved.- Returns:
- the row/column/page ordinal (index) of the header (starting from 0).
 
 - 
getDepthint getDepth() Returns the depth of the header. Depth is the index (start from 1) of the header in the axis.- Returns:
- the depth of the header.
 
 - 
getUnitIndexint getUnitIndex() Returns the index value of the corresponding template unit on the axis.- Returns:
- the index (start from 1) of the corresponding template unit on the axis.
 
 - 
getSemanticsint getSemantics() The meaning of this form value. This implies, but is not the same as the data type. Values of this attribute are derived fromEnumDSSXMLBaseFormType.- Returns:
- the semantic type (see EnumDSSXMLBaseFormType).
 
 - 
getThresholdIndexint getThresholdIndex() Returns the threshold index value of the corresponding template unit on the axis.- Returns:
- the threshold index (start from 1) of the corresponding template unit on the axis.
 
 - 
isCurrentElementboolean isCurrentElement() Identifies whether the current header is the current (selected) element. This may or may not return a meaningful value in the context of a row or column header.- Returns:
- whether this is the current element.
 
 - 
isCurrentSelectorElementboolean isCurrentSelectorElement() returns true if the current element is the selected control element for a selector sourced at the owner template unit.- Since:
- MicroStrategy Web 8.1.0
 
 - 
isSameAsParentboolean isSameAsParent() This call identifies the current element as identical to its parent. For row headers, aggregates (such as subtotals, totals) often span several columns - the header in such cases are replicated (they have different depth values), but are essentially the same header element.- Returns:
- whether this header is congruent to its parent.
- See Also:
- getParent()
 
 - 
isFirstboolean isFirst() - Returns:
- if this is the first element in the collection.
 
 - 
isLastboolean isLast() - Returns:
- if this is the last in the collection.
 
 - 
isBeforeLastboolean isBeforeLast() - Returns:
- if this is one before the last in the collection.
 
 - 
isMultiFormboolean isMultiForm() - Returns:
- if this is multiform attribute.
 
 - 
isLastRowboolean isLastRow() - Returns:
- if its WebHeaderscontainer is the last in its collection (row and column headers only).
- Since:
- MicroStrategy Web 7.5.1
 
 - 
getWebElementWebElement getWebElement() - Returns:
- the WebElement associated with this WebHeader.
- See Also:
- WebElement
 
 - 
getWebElementIndexint getWebElementIndex() Returns the index position ofgetWebElement()in theWebTitleUnit.getWebElements()collection returned bygetWebElementsTitleUnit(). If noWebElementis present, -1 is returned. This is also equivalent to#getWebElementIndex(boolean)set to false.
 - 
getWebElementIndexint getWebElementIndex(java.lang.Boolean useParent) If parameter "useParent" is true this will return the index position ofgetWebElement()inWebTitleUnit.getWebElements()collection returned bygetParentTitleUnit(). Otherwise if parameter is false, it wlll usegetWebElementsTitleUnit(). If the parameter is null, we will try to determine the setting automatically. If noWebElementis present, -1 is returned.
 - 
getTitleUnitWebTitleUnit getTitleUnit(java.lang.Boolean useParent) 
 - 
getTitleWebTitle getTitle() - Returns:
- the title encapsulating this WebHeader.
 
 - 
getChildrenWebHeaders getChildren() For page-tree style, each selected WebHeader determines what the remaining page headers would be displayed. This is expressed in a hierarchical fashion by this method. Page-tree style is typically used for rendering dynamic menus. This will return null if there are no children, or if the report was rendered with the normal (non page-tree) style.- Returns:
- valid headers for next title group.
 
 - 
getContainerWebHeaders getContainer() - Returns:
- the encapsulating container where this WebHeader was obtained.
 
 - 
getPositionInContainerint getPositionInContainer() 
 - 
getParentWebHeader getParent() Returns the parent, if any, of this header. This depends upon the axis of the header: the header to the left if it's a row header, the header above if it's a column header, and the previous header in the drop down list for a page by header. For row and column headers, this will also retrieve the correct parent even if the parent header is merged (spans several rows/columns).- Returns:
- the logical parent of the header.
 
 - 
getHeaderTypeint getHeaderType() Returns the type of this header from the enumeration EnumWebHeaderType.- Returns:
- the EnumWebHeaderType.
 
 - 
getDisplayNamejava.lang.String getDisplayName() - Returns:
- the display name of the header.
 
 - 
getRawValuejava.lang.String getRawValue() Return raw data value of this header.- Returns:
- String The raw data value of this header, which is the unformatted display name.
 Return nullwhen there is no raw value specified for this header.
- Since:
- MicroStrategy Web 7.5.4
 
 - 
getMixint getMix() When this header is a header for a metric, returns the index of this header's metric within "Metrics" unit.- Returns:
- the metric index.
 
 - 
getDrillElementjava.lang.String getDrillElement() - Returns:
- the drill element.
 
 - 
getWebElementsTitleUnitWebTitleUnit getWebElementsTitleUnit() - Returns:
- the shared WebTitleUnitwithgetWebElementIndex()references.
- Since:
- MicroStrategy Web 8.1.2
 
 - 
getParentTitleUnitWebTitleUnit getParentTitleUnit() - Returns:
- the WebTitleUnitassociated with this instance.
- Since:
- MicroStrategy Web 8.1.2
 
 - 
isTotalboolean isTotal() - Returns:
- whether header is a (sub)total.
- Since:
- MicroStrategy Web 8.1.1
 
 - 
isDerivedElementboolean isDerivedElement() - Since:
- MicroStrategy Web 9.0.0
 
 - 
getTotalTypeint getTotalType() Only meaningful ifisTotal()is true. Returns a value fromEnumDSSXMLMetricType.- Returns:
- Value from EnumDSSXMLMetricType
- Since:
- MicroStrategy Web 9.0.0
 
 - 
getMergedChildWebHeader getMergedChild() Returns the merged child, if any, otherwise null. The child headerisSameAsParent()will return as true, and itsgetParent()is this header instance.- Returns:
- merged child
- Since:
- MicroStrategy Web 9.0.0
 
 - 
getRALevelint getRALevel() 
 - 
getTargetWebObjectInfo getTarget() Returns the target of the header, if one exists.- Returns:
- The first class target of the header.
- Since:
- MicroStrategy Web 9.0.0
 
 - 
isRaExpandedboolean isRaExpanded() 
 - 
hasRaChildrenboolean hasRaChildren() 
 - 
canExpandCollapseboolean canExpandCollapse() throws WebObjectsException- Throws:
- WebObjectsException
 
 - 
isEditDisableboolean isEditDisable() Returns the unit can be edit or not.- Returns:
- the unit can be edit or not.
 
 - 
setTransactionActionvoid setTransactionAction(int action) set thresholdActionEnumDSSXMLTransactionAction- Parameters:
- action-- EnumDSSXMLTransactionAction
 
 - 
getTransactionActionint getTransactionAction() return thresholdActionEnumDSSXMLTransactionAction- Returns:
- thresholdAction EnumDSSXMLTransactionAction
 
 - 
isNDEboolean isNDE() 
 - 
getCellColorjava.lang.String getCellColor() DE22117- Returns:
- the cell color
 
 
- 
 
-