com.microstrategy.web.objects.WebHeader |
![]() |
The WebHeader describes the contents of its associated row, column
or page. Each WebHeader is displayed in association with a
WebSubTitle
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract boolean | canExpandCollapse() | ||||||||||
abstract WebHeaders |
getChildren()
For page-tree style, each selected WebHeader determines what
the remaining page headers would be displayed.
| ||||||||||
abstract int | getColSpan() | ||||||||||
abstract WebHeaders | getContainer() | ||||||||||
abstract int |
getDepth()
Returns the depth of the header.
| ||||||||||
abstract String | getDisplayName() | ||||||||||
abstract String | getDrillElement() | ||||||||||
abstract int |
getHeaderType()
Returns the type of this header from the enumeration
EnumWebHeaderType.
| ||||||||||
abstract WebHeader |
getMergedChild()
Returns the merged child, if any, otherwise null.
| ||||||||||
abstract int |
getMix()
When this header is a header for a metric, returns the index of this header's metric within "Metrics" unit.
| ||||||||||
abstract int |
getOrdinal()
Returns the index number of the row/column/page, which this header is on.
| ||||||||||
abstract WebHeader |
getParent()
Returns the parent, if any, of this header.
| ||||||||||
abstract WebTitleUnit | getParentTitleUnit() | ||||||||||
abstract int | getPositionInContainer() | ||||||||||
abstract int | getRALevel() | ||||||||||
abstract String |
getRawValue()
Return raw data value of this header.
| ||||||||||
abstract int | getRowSpan() | ||||||||||
abstract int |
getSemantics()
The meaning of this form value.
| ||||||||||
abstract WebObjectInfo |
getTarget()
Returns the target of the header, if one exists.
| ||||||||||
abstract WebTitle | getTitle() | ||||||||||
abstract WebTitleUnit | getTitleUnit(Boolean useParent) | ||||||||||
abstract int |
getTotalType()
Only meaningful if
isTotal() is true. | ||||||||||
abstract int |
getTransactionAction()
return thresholdAction EnumDSSXMLTransactionAction
| ||||||||||
abstract int |
getUnitIndex()
Returns the index value of the corresponding template unit on the axis.
| ||||||||||
abstract WebElement | getWebElement() | ||||||||||
abstract int |
getWebElementIndex()
Returns the index position of
getWebElement() in the
getWebElements() collection returned by
getWebElementsTitleUnit() . | ||||||||||
abstract int |
getWebElementIndex(Boolean useParent)
If parameter "useParent" is true this will return the index
position of
getWebElement() in
getWebElements() collection returned by
getParentTitleUnit() . | ||||||||||
abstract WebTitleUnit | getWebElementsTitleUnit() | ||||||||||
abstract boolean | hasRaChildren() | ||||||||||
abstract boolean | isBeforeLast() | ||||||||||
abstract boolean |
isCurrentElement()
Identifies whether the current header is the current (selected)
element.
| ||||||||||
abstract boolean |
isCurrentSelectorElement()
returns true if the current element is the selected control element for a selector sourced at the owner template unit.
| ||||||||||
abstract boolean | isDerivedElement() | ||||||||||
abstract boolean |
isEditDisable()
Returns the unit can be edit or not.
| ||||||||||
abstract boolean | isFirst() | ||||||||||
abstract boolean | isLast() | ||||||||||
abstract boolean | isLastRow() | ||||||||||
abstract boolean | isMultiForm() | ||||||||||
abstract boolean | isNDE() | ||||||||||
abstract boolean | isRaExpanded() | ||||||||||
abstract boolean |
isSameAsParent()
This call identifies the current element as identical to its parent.
| ||||||||||
abstract boolean | isTotal() | ||||||||||
abstract void |
setTransactionAction(int action)
set thresholdAction EnumDSSXMLTransactionAction
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
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 the depth of the header. Depth is the index (start from 1) of the header in the axis.
Returns the type of this header from the enumeration EnumWebHeaderType.
EnumWebHeaderType
.
Returns the merged child, if any, otherwise null.
The child header isSameAsParent()
will
return as true, and its getParent()
is this header instance.
When this header is a header for a metric, returns the index of this header's metric within "Metrics" unit.
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 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).
WebTitleUnit
associated with this instance.Return raw data value of this header.
null
when there is no raw value specified for this header.The meaning of this form value. This implies, but is not the same as
the data type. Values of this attribute are derived from
EnumDSSXMLBaseFormType
.
EnumDSSXMLBaseFormType
).
Returns the target of the header, if one exists.
Only meaningful if isTotal()
is true. Returns a value from
EnumDSSXMLMetricType
.
EnumDSSXMLMetricType
return thresholdAction EnumDSSXMLTransactionAction
Returns the index value of the corresponding template unit on the axis.
Returns the index position of getWebElement()
in the
getWebElements()
collection returned by
getWebElementsTitleUnit()
. If no WebElement
is present, -1 is returned. This is also equivalent to
#getWebElementIndex(boolean) set to false.
If parameter "useParent" is true this will return the index
position of getWebElement()
in
getWebElements()
collection returned by
getParentTitleUnit()
. Otherwise if parameter is false,
it wlll use getWebElementsTitleUnit()
. If the parameter
is null, we will try to determine the setting automatically.
If no WebElement
is present, -1 is returned.
WebTitleUnit
with getWebElementIndex()
references.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 true if the current element is the selected control element for a selector sourced at the owner template unit.
Returns the unit can be edit or not.
WebHeaders
container is the last in its collection (row and column headers only).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.
set thresholdAction EnumDSSXMLTransactionAction
action | EnumDSSXMLTransactionAction |
---|