Package com.microstrategy.web.objects.rw
Interface RWSection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RWUnit
getChild(int index)
Returns i-th child unit definition.int
getChildCount()
Returns number of childrenSimpleList
getGroupByElements()
RWSection
getRoot()
Returns data root sectionint
indexOf(RWUnit child)
Returns an index of specified childboolean
isBeginOfHorizontalSections()
Returnstrue
if the section or subsection is the first horizontal section in a horizontal zone.boolean
isEndOfHorizontalSections()
Returnstrue
if the section or subsection is the last horizontal section in a horizontal zone.void
setSkippedChildrenOnce(boolean skipped)
Set an indicator for the section to skip iteration to its children once.void
sortChildren(java.util.Comparator comparator)
Sorts children based on the specified comparator-
Methods inherited from interface com.microstrategy.web.objects.rw.RWUnit
getDefinition, getParent, getThresholdId, getTransactionAction, isFirst, isLast, nextSibling, prevSibling
-
-
-
-
Method Detail
-
getChildCount
int getChildCount()
Returns number of children- Returns:
- number of children
-
setSkippedChildrenOnce
void setSkippedChildrenOnce(boolean skipped)
Set an indicator for the section to skip iteration to its children once.- Parameters:
skipped
-- Since:
- MicroStrategy Web 8.1.0
-
getChild
RWUnit getChild(int index)
Returns i-th child unit definition.- Parameters:
index
-- Returns:
- i-th child unit definition.
-
indexOf
int indexOf(RWUnit child)
Returns an index of specified child- Parameters:
child
- a child unit- Returns:
- an index of specified child
-
sortChildren
void sortChildren(java.util.Comparator comparator)
Sorts children based on the specified comparator- Parameters:
comparator
- a comparator used for sorting
-
getRoot
RWSection getRoot()
Returns data root section- Returns:
- root section
- Since:
- MicroStrategy Web 8.1.0
-
isBeginOfHorizontalSections
boolean isBeginOfHorizontalSections()
Returnstrue
if the section or subsection is the first horizontal section in a horizontal zone. For example, if a document has attribute A in the group by and is set to horizontal orientation, then this method returnstrue
for the first A-Header section and the first subsection in this header section.- Returns:
- boolean to indicate if the section is the first horizontal section
- Since:
- MicroStrategy Web 9.0.0
-
isEndOfHorizontalSections
boolean isEndOfHorizontalSections()
Returnstrue
if the section or subsection is the last horizontal section in a horizontal zone. For example, if a document has attribute A in the group by and is set to horizontal orientation, then this method returnstrue
for the last A-Footer section and the last subsection in this footer section.- Returns:
- boolean to indicate if the section is the last horizontal section
- Since:
- MicroStrategy Web 9.0.0
-
getGroupByElements
SimpleList getGroupByElements()
- Since:
- MicroStrategy Web 9.0.0
-
-