Package com.microstrategy.web.objects.rw
Interface RWSection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RWUnitgetChild(int index)Returns i-th child unit definition.intgetChildCount()Returns number of childrenSimpleListgetGroupByElements()RWSectiongetRoot()Returns data root sectionintindexOf(RWUnit child)Returns an index of specified childbooleanisBeginOfHorizontalSections()Returnstrueif the section or subsection is the first horizontal section in a horizontal zone.booleanisEndOfHorizontalSections()Returnstrueif the section or subsection is the last horizontal section in a horizontal zone.voidsetSkippedChildrenOnce(boolean skipped)Set an indicator for the section to skip iteration to its children once.voidsortChildren(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()
Returnstrueif 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 returnstruefor 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()
Returnstrueif 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 returnstruefor 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
-
-