// // SimpleGride.h // Apex Mobile // // Created by Ray on 14-3-4. // Copyright (c) 2014年 United Software Applications, Inc. All rights reserved. // #import #import "TouchLabel.h" #import "PageData.h" #import "Constant.h" @class SimpleGrid; @protocol SimpleGridDelegate @required - (void) LongPress:(UIView*)view _id:(NSString*) _id; - (void) Tap:(UIView*)view url:(NSString*) url; @end @interface SimpleGrid : UIScrollView { @private // id __unsafe_unretained _dataSource; id __weak griddelegate; } // @property (weak, nonatomic) id griddelegate; @property long basetag; @property long row_count; @property long column_count; @property bool fullrowselect; @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) UIView* backgroudView ; @property (strong,nonatomic) NSMutableDictionary* hrefs; @end