Mobile API Reference  MicroStrategy 2019
Header.h
Go to the documentation of this file.
1 //
2 // Header.h
3 // IPadMain
4 //
5 // Created by Liang Chen on 8/12/10.
6 // Copyright 2010 MicroStrategy Inc. All rights reserved.
7 //
9 #import "DSSIPhoneEnums.h"
10 
12 @interface MSIHeader : NSObject {
13 // MSIDisplayInfo* displayInfo;
14  //_HeaderTypes in Enum TODO change this to HeaderTypes enum...
15  NSInteger type;
16 
17  id <MSIDataProviderProtocol> __weak data;
18  //0-based index and is meant for non metric headers. It shows the position of the corresponding attribute in the template
19  //Currently for metric headers, the value does not make sense and is set to 0 by TabularData. It should be set to metricIndex for MSIMetricHeader TODO???
20  NSInteger depth;
22  NSMutableArray* elements;
23  @private
24  //EnumDSSDataType
25  EnumDSSDataType dataType;
26 }
27 
28 @property (nonatomic, strong) NSMutableArray* elements;
29 @property (nonatomic, strong, getter=getFormat) MSIPropertyGroup* format;
30 @property (readonly) NSInteger type;
31 @property EnumDSSDataType dataType;
32 
36 //- (MSIDisplayInfo*)object __MIDEPRECATED_METHOD;
37 - (MSIDisplayInfo*)object;
38 
42 - (MSIDisplayInfo*)displayInfo;
43 - (NSInteger)depth;
44 - (NSInteger) baseFormID;
45 - (NSInteger) baseFormType;
46 - (MSIAttributeForm*) getAttributeForm;
47 - (MSICustomGroupItem*)customGroupItem;
48 
52 - (CGFloat) firstHeaderWidth:(UIFont *)_font imageWidth:(CGFloat)_imageColumnWidth;
53 
54 @end
Definition: Header.h:12
MSIPropertyGroup * format
Definition: Header.h:21
EnumDSSDataType
Definition: DSSIPhoneEnums.h:39
NSInteger depth
Definition: Header.h:20
Definition: MSIPropertyGroup.h:16
NSInteger type
Definition: Header.h:15
Definition: CustomGroupItem.h:12
id< MSIDataProviderProtocol > __weak data
Definition: Header.h:17
Definition: MSIDisplayInfo.h:10
Definition: AttributeForm.h:14
NSMutableArray * elements
Definition: Header.h:22