Mobile API Reference  MicroStrategy 2019
MarkRowView.h
Go to the documentation of this file.
1 //
2 // MarkRowView.h
3 // iPadMain Library
4 //
5 // Created by Ma Xianqing on 3/9/11.
6 // Copyright 2011 MicroStrategy Inc. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 @class Commander;
11 class DSSRWGridIterator;
12 
13 
14 
15 //RowLevel
16 //The MarkRow view status is insert/delete/unset
17 typedef enum EnumRowStatus{
21 
23 
24 -(void) markRow: (int) iRow withStatus: (EnumRowStatus) iStatus;
25 
26 @optional
28 
29 @end
30 
31 
32 
33 @interface MarkRowView : UIView {
34  UIImage* mpImage;
35  UIImageView* mpImageView;
37  int mRow;
38  id<MarkRowViewDelegate> __weak mDelegate;
39 }
40 
41 @property (readonly) int mRow;
42 @property (strong) UIImage* image; // TQMS 512671, retain image, yzeng
43 //iRow is 0 based`
44 - (id)initWithFrame:(CGRect)frame andStatus: (EnumRowStatus) iStatus forRow: (int) iRow inGrid: (id<MarkRowViewDelegate>)ipMarkRowViewDelegate;
45 - (void)loadImage: (EnumRowStatus) iStatus;
46 //helper method, move to appropriate place
47 + (void) executeMarkRowManipulation: (int) iRow withStatus: (EnumRowStatus) iStatus withCommander:(Commander*)commander gridIterator:(DSSRWGridIterator*)gridIterator;
48 @end
id< MarkRowViewDelegate > __weak mDelegate
Definition: MarkRowView.h:38
Definition: MarkRowView.h:22
Definition: MarkRowView.h:18
UIImageView * mpImageView
Definition: MarkRowView.h:35
Definition: DSSRWGridIterator.h:68
EnumRowStatus
Definition: MarkRowView.h:17
Definition: MarkRowView.h:33
Commander * getCommander()
EnumRowStatus mStatus
Definition: MarkRowView.h:36
Definition: MarkRowView.h:19
UIImage * mpImage
Definition: MarkRowView.h:34
int mRow
Definition: MarkRowView.h:37
Definition: Commander.h:156