Mobile API Reference  MicroStrategy 2019
SingleYearView.h
Go to the documentation of this file.
1 //
2 // SingleYearView.h
3 // CalendarUIPrototype
4 //
5 // Created by Firat Alpergin on 3/31/11.
6 // Copyright 2011 MicroStrategy Incorporated. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "UIHelper.h"
11 #define TOP_OFFSET 5
12 #define YEAR_IMAGE_VIEW_HEIGHT 16
13 
16 
17 @interface SingleYearView : UIView {
18  @private
19  NSInteger year;
20  BOOL isSelected;
21  BOOL isAvailable;
22  MSIYearStripView *__weak parentView;
23  MSIYearImageView *imageView;
24  UILabel *yearLabel;
25  SingleYearViewUIHelper* singleYearViewUIHelper;
26 }
27 
28 @property NSInteger year;
29 @property (nonatomic, weak) MSIYearStripView *parentView;
30 
31 - (id)initWithFrame:(CGRect)frame year:(NSInteger)yearValue selected:(BOOL)selected available:(BOOL)available;
32 - (void)setSelected:(BOOL)selected;
33 - (id)initWithFrame:(CGRect)frame year:(NSInteger)yearValue selected:(BOOL)selected available:(BOOL)available uihelper:(UIHelper*)uiHelper;
34 @end
Definition: SingleYearView.h:17
signed char BOOL
Definition: PDCwtypes.h:101
Definition: MSIYearStripView.h:23
Definition: UIHelper.h:15
Definition: MSIYearImageView.h:16
Definition: SingleYearViewUIHelper.h:11