com.microstrategy.web.objects.WebGridTitles |
This interface provides collection type methods to traverse and obtain
WebTitle
objects in the report.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Enumeration | elements() | ||||||||||
abstract WebTitle |
get(int index)
Returns the WebTitle at the given index (starting from 0).
| ||||||||||
abstract List<? extends WebTitleUnit> | getResolvedTitleUnits(boolean forceShowAttributeForm) | ||||||||||
abstract List<? extends WebTitleUnit> |
getResolvedTitleUnits()
This is the recommended means to obtain
WebTitleUnit
collections in each axis for display purposes. | ||||||||||
abstract boolean |
hasMetrics()
Returns a boolean indicating whether the metrics are present in the current collection
of
WebTitle objects. | ||||||||||
abstract boolean | isEmpty() | ||||||||||
abstract int | size() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Returns the WebTitle 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()) . |
---|
This is the recommended means to obtain WebTitleUnit
collections in each axis for display purposes. Each
WebTitleUnit
may be a WebTitle
or WebSubTitle
.
The list returned is based on the following rules:
WebTitle
has more than one
WebSubTitle
, each of the
WebSubTitle
are usedWebTitle
has exactly one
WebSubTitle
, the WebTitle
is used.WebTitle
are shown.WebPreferenceGridShowSubtitle
preference.
Returns a boolean indicating whether the metrics are present in the current collection
of WebTitle
objects. Using this, we can determine whether a particular axis contains
the metrics
size()==0
.