Class OndemandContextMenuBuilderFactory
- java.lang.Object
-
- com.microstrategy.web.app.transforms.contextmenus.OndemandContextMenuBuilderFactory
-
public class OndemandContextMenuBuilderFactory extends java.lang.Object
Factory to createOndemandContextMenuBuilder
instances which are used in creating ondemand context menus.- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description OndemandContextMenuBuilderFactory(TransformContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TransformContext
getContext()
OnDemandContextMenuBuilder
newGraphAreaMenuBuilder(WebGraphArea wga)
Returns OnDemandContextMenuBuilder for ondemand drilling.OnDemandContextMenuBuilder
newHeaderDrillMenuBuilder(WebHeader header)
Returns OnDemandContextMenuBuilder for ondemand drilling.OnDemandContextMenuBuilder
newPagebyTitleDrillMenuBuilder(WebTitle title)
Returns OnDemandContextMenuBuilder for ondemand drilling.OnDemandContextMenuBuilder
newRowValueMenuBuilder(WebReportGrid wrg)
Returns OnDemandContextMenuBuilder for ondemand drilling.OnDemandContextMenuBuilder
newTitleDrillMenuBuilder(WebTitle title)
Returns OnDemandContextMenuBuilder for ondemand drilling.
-
-
-
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 fromWebHeader.getTitle()
, which is already populated in OndemandContextMenusTransform usingnewTitleDrillMenuBuilder(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
-
getContext
protected TransformContext getContext()
-
-