Mobile API Reference  MicroStrategy 2019
BucketView.h
Go to the documentation of this file.
1 //
2 // BucketView.h
3 // CalendarUIPrototype
4 //
5 // Created by Firat Alpergin on 4/14/11.
6 // Copyright 2011 MicroStrategy Incorporated. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "BucketCell.h"
11 
12 #define BUCKET_LINE_WIDTH 8
13 #define BUCKET_LABEL_PADDING 5
14 #define BUCKET_LABEL_TOP_PADDING 5
15 #define BUCKET_BUTTON_HEIGHT 40
16 
18 
19 @protocol BucketCallback
20 
21 -(void)elementsRemoved:(NSArray *)elements;
22 
23 @end
24 
25 @interface BucketView : UIView <UITableViewDelegate, UITableViewDataSource, BucketCellDelegate> {
26  @private
27  UITableView *bucketTableView;
28  NSMutableArray *elementList;
29  BOOL inDeletionMode;
30  UIButton *deleteButton;
31  NSMutableArray *deletionList;
32 }
33 
34 -(BOOL)add:(BucketElement *)newElement;
35 -(BOOL)remove:(BucketElement *)newElement;
36 //-(void)cellTapped:(BucketCell *)cell;
37 
38 @end
Definition: BucketCell.h:24
signed char BOOL
Definition: PDCwtypes.h:101
Definition: BucketElement.h:13
Definition: BucketView.h:19
Definition: BucketView.h:25