Package com.microstrategy.web.objects
Interface WebDefaultDisplaySettings
- 
 public interface WebDefaultDisplaySettingsThis interface is used to set the settings for default highlighting and default selection within the display XML.The algorithm for default highlighting is as follows: (1)starting at the available display units collection, if nothing is highlighted, then the first item in the collection will be highlighted. (2) For every object which is then highlighted in the available display units collection, the algorithm in (1) is applied (if nothing is highlighted, then highlight the first item), followed by applying (2) to every object in that collection which is highlighted. Default selection causes the elements in any elements collection within the filter to be marked as selected if they also exist in the display section of the display XML. - Since:
- MicroStrategy Web 7.3.1 or earlier
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description WebElementSourcegetElementSource()This method can be used to obtain the element source which will be used to fetch elements in the case that detailed default highlighting causes an attribute to become detailed(which requires the elements of the attribute).voidsetUseDefaultHighlighting(boolean enabled)Sets whether default highlighting should be enabled.voidsetUseDefaultSelection(boolean enabled)Sets whether default selection should be enabled.voidsetUseDetailedHighlighting(boolean detailed)Sets whether any default highlighting performed should be detailed.booleanuseDefaultHighlighting()Returns whether default highlighting is enabled.booleanuseDefaultSelection()Returns whether default selection is enabled.booleanuseDetailedHighlighting()Returns whether any default highlighting performed will be detailed.
 
- 
- 
- 
Method Detail- 
useDefaultHighlightingboolean useDefaultHighlighting() Returns whether default highlighting is enabled. By default, it is turned off.- Returns:
- True if default highlighting is enabled, false otherwise.
 
 - 
setUseDefaultHighlightingvoid setUseDefaultHighlighting(boolean enabled) Sets whether default highlighting should be enabled. By default, it is turned off.- Parameters:
- enabled- Whether the default highlighting should be enabled.
 
 - 
useDefaultSelectionboolean useDefaultSelection() Returns whether default selection is enabled. By default, it is disabled.- Returns:
- True if default highlighting is enabled, false otherwise.
 
 - 
setUseDefaultSelectionvoid setUseDefaultSelection(boolean enabled) Sets whether default selection should be enabled. By default, it is turned off.- Parameters:
- enabled- Whether the default selection should be enabled.
 
 - 
useDetailedHighlightingboolean useDetailedHighlighting() Returns whether any default highlighting performed will be detailed. By default, this is true, but this property will only have an effect if default highlighting is enabled.- Returns:
- Whether the default highlighting will be detailed.
 
 - 
setUseDetailedHighlightingvoid setUseDetailedHighlighting(boolean detailed) Sets whether any default highlighting performed should be detailed. This will only have an effect if the default highlighting is enabled.- Parameters:
- detailed- Whether objects highlighted by the default highlighting algorithm will contain details.
 
 - 
getElementSourceWebElementSource getElementSource() This method can be used to obtain the element source which will be used to fetch elements in the case that detailed default highlighting causes an attribute to become detailed(which requires the elements of the attribute). Any settings changed on this object will be honored when fetching elements for an attribute affected by the default highlighting algorithm.- Returns:
- A WebElementSourceobject which can be used to set the settings to use when fetching elements of an attribute which is highlighted by the default highlighting.
 
 
- 
 
-