com.microstrategy.web.objects.WebHeaders |
WebHeaders represent the group of headings that are laid
out in a single table row, as is the case when laying out
columns and row headers, which could span several table rows.
For page headers, there can only be ONE group of WebHeaders
retrieved from WebGridHeaders
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Enumeration<WebHeader> | elements() | ||||||||||
abstract WebHeader |
get(int index)
Returns the WebHeader at the given index (starting from 0).
| ||||||||||
abstract WebHeader |
getCurrentElement()
Returns the WebHeader in this collection which has been selected as the
current element.
| ||||||||||
abstract WebRow |
getGridRow()
Returns the grid row associated with this WebHeaders object.
| ||||||||||
abstract int |
getPositionInContainer()
returns the position of this collection in its container
| ||||||||||
abstract boolean | isEmpty() | ||||||||||
abstract int | size() |
Returns the WebHeader at the given index (starting from 0).
index | index of the element to return. |
---|
IndexOutOfBoundsException | if index is out of range (index < 0 || index >= size()) . |
---|
Returns the WebHeader in this collection which has been selected as the current element. This only makes sense for page headers. If no current element is found, null will be returned.
UnsupportedOperationException | if invoked from a row or column. |
---|
Returns the grid row associated with this WebHeaders object. Not supported in page and column headers.
UnsupportedOperationException | if invoked from a page or column. |
---|
returns the position of this collection in its container