| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //
- // SimpleGride.h
- // Apex Mobile
- //
- // Created by Ray on 14-3-4.
- // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "TouchLabel.h"
- //#import "PageData.h"
- //#import "Constant.h"
- #import "const.h"
- @class SimpleGrid;
- @protocol SimpleGridDelegate <NSObject>
- @required
- - (void) LongPress:(UIView*)view row:(long) x column:(long) y;
- - (void) LongPress:(UIView*)view row:(long) x;
- - (void) Tap:(UIView*)view row:(long) x column:(long) y;
- - (void) Tap:(UIView*)view row:(long) x;
- @end
- @interface SimpleGrid : UIScrollView
- {
- @private
- // id <MDSpreadViewDataSource>__unsafe_unretained _dataSource;
- id <SimpleGridDelegate> __weak griddelegate;
- }
- //
- @property (weak, nonatomic) id <SimpleGridDelegate> griddelegate;
- //@property long basetag;
- @property long row_count;
- @property long column_count;
- @property bool fullrowselect;
- @property bool enableTap;
- @property bool enableLongPress;
- @property long top_line;
- @property long left_line ;
- @property long right_line;
- @property long bottom_line;
- @property long line;
- - (void)drawSelect:(CGRect)rect;
- -(void) initgrid ;//:(PageData*) pageData;
- //@property (strong,nonatomic) NSMutableDictionary* header;
- //@property (strong,nonatomic) NSArray* header_name;
- //@property (strong,nonatomic) NSArray* header_aname;
- //@property (strong,nonatomic)PageData* pageData;
- @property (strong,nonatomic)NSDictionary* header;
- @property (strong,nonatomic)NSDictionary* data;
- @property (strong,nonatomic) UIView* backgroudView ;
- //@property (strong,nonatomic) NSMutableDictionary* hrefs;
- @end
|