Interface WebCustomGroup

    • Method Detail

      • getAggregation

        int getAggregation()
        Returns an integer value from EnumDSSXMLAEAggregation indicating whether the aggregation over the custom group is allowed.
        Returns:
        an integer value indicating whether the aggregation over the custom group is allowed.
      • setAggregation

        void setAggregation​(int aggregation)
        Sets an integer value from EnumDSSXMLAEAggregation indicating whether the aggregation over the custom group is allowed.
        Parameters:
        aggregation - an integer value indicating whether the aggregation over the custom group is allowed.
      • isFlatten

        boolean isFlatten()
        Returns a boolean value indicating whether the custom group should be displayed flatten or hierarchically.
        Returns:
        a boolean value indicating how to display the custom group.
      • setFlatten

        void setFlatten​(boolean flatten)
        Sets a boolean value indicating whether the custom group should be displayed flatten or hierarchically.
        Parameters:
        flatten - a boolean value indicating how to display the custom group.
      • isParentFirst

        boolean isParentFirst()
        Returns a boolean value indicating the order between parent and child elements.
        Returns:
        a boolean value indicating the order between parent and child elements.
      • setParentFirst

        void setParentFirst​(boolean parentFirst)
        Sets a boolean value indicating the order between parent and child elements.
        Parameters:
        parentFirst - a boolean value indicating the order between parent and child elements.
      • getHeaderFormat

        WebFormat getHeaderFormat()
                           throws java.lang.IllegalArgumentException
        Returns the WebFormat object for the header of the custom group element. The key of the custom group element that is obtained from WebNode.getKey() should be set using setNodeKey(int) prior to calling this method.
        Throws:
        java.lang.IllegalArgumentException - if setNodeKey(int) has not been called or if a custom group element cannot be found with the set key.
      • getGridFormat

        WebFormat getGridFormat()
                         throws java.lang.IllegalArgumentException
        Returns the WebFormat object for the values/data of the custom group element. The key of the custom group element that is obtained from WebNode.getKey() should be set using setNodeKey(int) prior to calling this method.
        Throws:
        java.lang.IllegalArgumentException - if setNodeKey(int) has not been called or if a custom group element cannot be found with the set key.
      • getChildHeaderFormat

        WebFormat getChildHeaderFormat()
                                throws java.lang.IllegalArgumentException
        Returns the WebFormat object for the header of the custom group element's invidual items. The key of the custom group element that is obtained from WebNode.getKey() should be set using setNodeKey(int) prior to calling this method.
        Throws:
        java.lang.IllegalArgumentException - if setNodeKey(int) has not been called or if a custom group element cannot be found with the set key.
      • getChildGridFormat

        WebFormat getChildGridFormat()
                              throws java.lang.IllegalArgumentException
        Returns the WebFormat object for the values/data of the custom group element's invidual items. The key of the custom group element that is obtained from WebNode.getKey() should be set using setNodeKey(int) prior to calling this method.
        Throws:
        java.lang.IllegalArgumentException - if setNodeKey(int) has not been called or if a custom group element cannot be found with the set key.
      • setDisplayOption

        void setDisplayOption​(int option)
        Set the display option of the custom group element. The key of the custom group element that is obtained from WebNode.getKey() should be set using setNodeKey(int) prior to calling this method.
        Parameters:
        option - - value from EnumWebCustomGroupDisplayOptions
      • setBandNames

        void setBandNames​(java.lang.String[] names)
        Set the names of the bands of custom group element. The key of the custom group element that is obtained from WebNode.getKey() should be set using setNodeKey(int) prior to calling this method.
        Parameters:
        names - Array of String where each element is a name of a band
        Since:
        MicroStrategy Web 9.0.0
      • getBandNames

        java.lang.String[] getBandNames()
        Get the names of all the bands for a custom group element. The key of the custom group element that is obtained from WebNode.getKey() should be set using setNodeKey(int) prior to calling this method.
        Returns:
        Array of String where each element is a name of a band
        Since:
        MicroStrategy Web 9.0.0