Mobile API Reference  MicroStrategy 2019
VisualizationViewerProtocol.h
Go to the documentation of this file.
1 //
2 // VisualizationProtocol.h
3 // MicroStrategyMobile
4 //
5 // Created by Yingpei Zeng on 3/21/12.
6 // Copyright (c) 2012 MicroStrategy Inc. All rights reserved.
7 //
8 // Provide the common behaviors LayoutManagerViewer . Implemented by GridGraphViewer and WidgetViewer.
9 
10 #import <Foundation/Foundation.h>
11 #import "AnnotationContext.h"
12 
13 @class Border;
14 
15 @protocol VisualizationViewerProtocol <NSObject>
16 
17 @required
18 // Used to change the visualization to the given frame and update content if needed.
19 - (void)updateVisualizationFrame:(CGRect)iFrame;
20 // Get the title of the visualization. LayoutManagerViewer needs the string to show in TitleBarViewer.
21 - (NSString*)getVisualizationTitle;
22 // Return the visualizationViewer.
23 - (UIView*)getVisualizationViewer;
24 
25 - (NSString *)getVisualizationNodeKey;
26 
27 - (BOOL)isSupportLSMode;
28 
29 @optional
30 - (void*)getVisualizationGridIterator;
31 - (void)isMultiSelectionMode:(BOOL)iIsMultiple withLMode:(BOOL)isLSMode;
32 - (BOOL)needToHandleTargetSelection; //tell it after done is pressed, we need to execute commands to filter target
33 - (void)handleMultiSelectionOnTarget;// filter targets after done is pressed
34 - (CGRect)getFixedFrame; // get the fixd size for text field
35 - (void)clearLassoSelection;
36 - (void)showActionMenu;
37 - (void)setCanvasViewAnnotationShape:(AnnotationShape)shapeType;
38 - (BOOL)shouldShowVisualizationTitleBar;
39 - (UIEdgeInsets)getEdgeInserts;
40 - (Border*)getBorderDrawer;
41 - (void*)getTitleBarFormat;
42 
43 @end
signed char BOOL
Definition: PDCwtypes.h:101
AnnotationShape
Definition: AnnotationContext.h:23