Mobile API Reference  MicroStrategy 2019
KeypadInputController.h
Go to the documentation of this file.
1 //
2 // KeypadInputController.h
3 // BarCodePOC
4 //
5 // Created by Jose Galvez Elias on 4/15/10.
6 // Copyright 2010 MicroStrategy, Inc. All rights reserved.
7 //
8 
9 #import <UIKit/UIKit.h>
10 #import "BarCodeCB.h"
11 
13 
14 @protocol KeypadInputControllerDelegate <UINavigationControllerDelegate>
15 - (void) keypadInputController:(KeypadInputController *)self didfinishScanning:(BarCodeCB *)result;
16 @end
17 
18 @interface KeypadInputController : UIViewController {
19  IBOutlet UIButton *keypad1;
20  IBOutlet UIButton *keypad2;
21  IBOutlet UIButton *keypad3;
22  IBOutlet UIButton *keypad4;
23  IBOutlet UIButton *keypad5;
24  IBOutlet UIButton *keypad6;
25  IBOutlet UIButton *keypad7;
26  IBOutlet UIButton *keypad8;
27  IBOutlet UIButton *keypad9;
28  IBOutlet UIButton *keypad0;
29  IBOutlet UIButton *clearButton;
30  IBOutlet UIButton *enterButton;
31  IBOutlet UIButton *enterButtonKeypad;
32  IBOutlet UIButton *switchButton;
33  IBOutlet UIButton *cancelScan;
34  IBOutlet UILabel *textInput;
35  IBOutlet UIToolbar *toolBar;
36  UIButton *cancelButton;
37  IBOutlet UIButton *deleteButton;
39  id<KeypadInputControllerDelegate> __weak delegate;
40  NSString *initialValue;
41 }
42 
43 @property(nonatomic,weak) id<KeypadInputControllerDelegate> delegate;
44 @property(nonatomic, copy) NSString *initialValue;
45 @property(nonatomic) BOOL showCancel;
46 
47 - (IBAction) keypadPressed: (id) sender;
48 - (IBAction) keypadReleased: (id) sender;
49 - (IBAction) doneScanning: (id) sender;
50 - (IBAction) cancelScan:(id) sender;
51 
52 @end
signed char BOOL
Definition: PDCwtypes.h:101
IBOutlet UIButton * keypad6
Definition: KeypadInputController.h:24
IBOutlet UIButton * cancelScan
Definition: KeypadInputController.h:33
BOOL showCancel
Definition: KeypadInputController.h:38
IBOutlet UIButton * keypad3
Definition: KeypadInputController.h:21
IBOutlet UIButton * keypad9
Definition: KeypadInputController.h:27
IBOutlet UIButton * keypad0
Definition: KeypadInputController.h:28
IBOutlet UIButton * deleteButton
Definition: KeypadInputController.h:37
IBOutlet UIButton * keypad1
Definition: KeypadInputController.h:19
IBOutlet UIButton * clearButton
Definition: KeypadInputController.h:29
IBOutlet UIButton * keypad2
Definition: KeypadInputController.h:20
IBOutlet UIButton * keypad4
Definition: KeypadInputController.h:22
IBOutlet UILabel * textInput
Definition: KeypadInputController.h:34
IBOutlet UIButton * keypad7
Definition: KeypadInputController.h:25
IBOutlet UIButton * switchButton
Definition: KeypadInputController.h:32
Definition: BarCodeCB.h:29
NSString * initialValue
Definition: KeypadInputController.h:40
IBOutlet UIButton * keypad5
Definition: KeypadInputController.h:23
UIButton * cancelButton
Definition: KeypadInputController.h:36
IBOutlet UIButton * enterButtonKeypad
Definition: KeypadInputController.h:31
IBOutlet UIButton * keypad8
Definition: KeypadInputController.h:26
IBOutlet UIButton * enterButton
Definition: KeypadInputController.h:30
id< KeypadInputControllerDelegate > __weak delegate
Definition: KeypadInputController.h:39
IBOutlet UIToolbar * toolBar
Definition: KeypadInputController.h:35
Definition: KeypadInputController.h:18