Class OutlineExpansionState


  • public class OutlineExpansionState
    extends java.lang.Object

    Title: OutlineExpansionState.

    Description: This class is a helper class used to determine whether a particular row should be hidden or not based on the outline state XML.
    The outline state XML has the following structure:


    The startRow and endRow indicate the window settings of the page the user is seeing. This is in case the report has incremental fetch.
    The defaultLevel will be used to determine the expansion level for all the rows outside the range.

    Copyright: Copyright (c) 2002

    Company: Microstrategy, Inc.

    Since:
    MicroStrategy Web 8.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      OutlineExpansionState​(java.lang.String xml)
      Constructor initialized by the outline state XML.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isRowHidden​(int row, int level, int rowspan)
      Determines whether a particular row is hidden based on the outline mode expansion state.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OutlineExpansionState

        public OutlineExpansionState​(java.lang.String xml)
        Constructor initialized by the outline state XML.
        Parameters:
        xml - String Outline State XML
    • Method Detail

      • isRowHidden

        public boolean isRowHidden​(int row,
                                   int level,
                                   int rowspan)
        Determines whether a particular row is hidden based on the outline mode expansion state.
        Parameters:
        row - int row number
        level - int the outline level of the row
        Returns:
        boolean whether the row is hidden