Class OndemandContextMenuBuilderFactory


  • public class OndemandContextMenuBuilderFactory
    extends java.lang.Object
    Factory to create OndemandContextMenuBuilder instances which are used in creating ondemand context menus.
    Since:
    MicroStrategy Web 9.0.0
    • Constructor Detail

      • OndemandContextMenuBuilderFactory

        public OndemandContextMenuBuilderFactory​(TransformContext context)
    • Method Detail

      • newRowValueMenuBuilder

        public OnDemandContextMenuBuilder newRowValueMenuBuilder​(WebReportGrid wrg)
        Returns OnDemandContextMenuBuilder for ondemand drilling. This builder is used to populate the metric row value drill context menus.
        Parameters:
        wrg - WebReportGrid
        Returns:
        OnDemandContextMenuBuilder builder
      • newTitleDrillMenuBuilder

        public OnDemandContextMenuBuilder newTitleDrillMenuBuilder​(WebTitle title)
        Returns OnDemandContextMenuBuilder for ondemand drilling. This builder is used to populate the web title drill context menus.
        Parameters:
        title - WebTitle
        Returns:
        OnDemandContextMenuBuilder builder
      • newHeaderDrillMenuBuilder

        public OnDemandContextMenuBuilder newHeaderDrillMenuBuilder​(WebHeader header)
        Returns OnDemandContextMenuBuilder for ondemand drilling. This builder is used to populate the header drill context menus. It is not currently required as for WebHeader, the drill information is taken from WebHeader.getTitle(), which is already populated in OndemandContextMenusTransform using newTitleDrillMenuBuilder(WebTitle)
        Parameters:
        header - a WebHeader object which could come from attribute, metrics or dimension
        Returns:
        OnDemandContextMenuBuilder builder
      • newPagebyTitleDrillMenuBuilder

        public OnDemandContextMenuBuilder newPagebyTitleDrillMenuBuilder​(WebTitle title)
        Returns OnDemandContextMenuBuilder for ondemand drilling. This builder is used to populate the pageBy drill context menus.
        Parameters:
        title -
        Returns:
        OnDemandContextMenuBuilder builder
      • newGraphAreaMenuBuilder

        public OnDemandContextMenuBuilder newGraphAreaMenuBuilder​(WebGraphArea wga)
        Returns OnDemandContextMenuBuilder for ondemand drilling. This builder is used to populate the graph area drill context menus.
        Parameters:
        wga - WebGraphArea
        Returns:
        OnDemandContextMenuBuilder builder