Mobile API Reference  MicroStrategy 2019
PromptSliderCell.h
Go to the documentation of this file.
1 //
2 // PromptSliderCell.h
3 // MSTRMobile
4 //
5 // Created by Firat Alpergin on 2/25/10.
6 // Copyright 2010 MicroStrategy. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
11 
12 #define SLIDER_CELL_HEIGHT 66
13 #define SLIDER_HEIGHT 20;
14 #define MIDDLE_PADDING 10 //between the title and value labels
15 
16 @class ConstantPrompt, MSTRFormatter;
17 
19  UISlider *slider;
20  UILabel *valueField;
21 
22  float promptInterval; //will be read from the prompt
24  MSTRFormatter* formatter;
25 }
26 
27 +(PromptSliderCell*)newCellForPrompt:(ConstantPrompt*)prompt;
28 -(void)setUpValues;
29 -(void)setValueFieldValue:(float)value;
30 
31 @end
Definition: PromptFormattableCell.h:12
UISlider * slider
Definition: PromptSliderCell.h:19
float promptInterval
Definition: PromptSliderCell.h:22
Definition: PromptSliderCell.h:18
float lastReadSliderValue
Definition: PromptSliderCell.h:23
MSTRFormatter * formatter
Definition: PromptSliderCell.h:24
UILabel * valueField
Definition: PromptSliderCell.h:20