Package com.microstrategy.web.objects
Interface WebGridTitles
- 
- All Superinterfaces:
- WebCssFormatContainer
 
 public interface WebGridTitles extends WebCssFormatContainer This interface provides collection type methods to traverse and obtainWebTitleobjects in the report.- Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Enumerationelements()WebTitleget(int index)Returns the WebTitle at the given index (starting from 0).java.util.List<? extends WebTitleUnit>getResolvedTitleUnits()This is the recommended means to obtainWebTitleUnitcollections in each axis for display purposes.java.util.List<? extends WebTitleUnit>getResolvedTitleUnits(boolean forceShowAttributeForm)booleanhasMetrics()Returns a boolean indicating whether the metrics are present in the current collection ofWebTitleobjects.booleanisEmpty()intsize()- 
Methods inherited from interface com.microstrategy.web.objects.WebCssFormatContainergetCssClass, getCssFormat, getFormatPropertySets
 
- 
 
- 
- 
- 
Method Detail- 
elementsjava.util.Enumeration elements() - Returns:
- an enumeration of WebTitleobjects.
 
 - 
sizeint size() - Returns:
- the number of elements in this collection.
 
 - 
isEmptyboolean isEmpty() - Returns:
- whether size()==0.
 
 - 
getWebTitle get(int index) Returns the WebTitle at the given index (starting from 0).- Parameters:
- index- index of the element to return.
- Returns:
- the element at the specified position.
- Throws:
- java.lang.IndexOutOfBoundsException- if index is out of range- (index < 0 || index >= size()).
- See Also:
- WebTitle
 
 - 
hasMetricsboolean hasMetrics() Returns a boolean indicating whether the metrics are present in the current collection ofWebTitleobjects. Using this, we can determine whether a particular axis contains the metrics- Since:
- MicroStrategy Web 8.1.0
 
 - 
getResolvedTitleUnitsjava.util.List<? extends WebTitleUnit> getResolvedTitleUnits() This is the recommended means to obtainWebTitleUnitcollections in each axis for display purposes. EachWebTitleUnitmay be aWebTitleorWebSubTitle. The list returned is based on the following rules:- If attribute forms are shown:
   - If a WebTitlehas more than oneWebSubTitle, each of theWebSubTitleare used .
- Otherwise if a WebTitlehas exactly oneWebSubTitle, theWebTitleis used.
 
- If a 
- Otherwise if no attribute forms are shown then only
   WebTitleare shown.
 EnumWebPreferences.WebPreferenceGridShowSubtitlepreference.
- If attribute forms are shown:
   
 - 
getResolvedTitleUnitsjava.util.List<? extends WebTitleUnit> getResolvedTitleUnits(boolean forceShowAttributeForm) 
 
- 
 
-