Class ReportGraphFont
- java.lang.Object
-
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.ReportGraphFont
-
- All Implemented Interfaces:
ContextMenuItemBuilder
public class ReportGraphFont extends ContextMenu.DefaultContextMenuItemBuilder
- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description ReportGraphFont(Shortcut definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextMenuItemcreateItem(TransformContext context)Creates and populates new instance of aContextMenuItemthe for 'Format' option.protected TransformgetTransform(TransformContext context)Returns an instance of ReportGraphTransformImpl instance which is the transform associated with GraphsbooleanisItemAvailable(TransformContext context)Determines if the Font Context Menu Item should be available or not-
Methods inherited from class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
createItem, getDefinition, getItemKey, getScript
-
-
-
-
Constructor Detail
-
ReportGraphFont
public ReportGraphFont(Shortcut definition)
-
-
Method Detail
-
isItemAvailable
public boolean isItemAvailable(TransformContext context)
Determines if the Font Context Menu Item should be available or not- Specified by:
isItemAvailablein interfaceContextMenuItemBuilder- Overrides:
isItemAvailablein classContextMenu.DefaultContextMenuItemBuilder- Parameters:
context- TransformContext with context information.- Returns:
trueif the context-menu-item is available and should be included.
-
getTransform
protected Transform getTransform(TransformContext context)
Returns an instance of ReportGraphTransformImpl instance which is the transform associated with Graphs
-
createItem
public ContextMenuItem createItem(TransformContext context)
Creates and populates new instance of aContextMenuItemthe for 'Format' option.- Specified by:
createItemin interfaceContextMenuItemBuilder- Overrides:
createItemin classContextMenu.DefaultContextMenuItemBuilder- Parameters:
context- Context Information.- Returns:
- A new
ContextMenuItempopulated to perform the corresponding action.
-
-