Bold360 and BoldChat Developer Center

BCHorizontalPickerCellLogic Class Reference

The logic behind the horizontal picker cell in forms. More...

#import <BCHorizontalPickerCellLogic.h>

Inheritance diagram for BCHorizontalPickerCellLogic:
BCTitledCellLogic BCCellLogic

Instance Methods

(void) - setSegmentTitles:defaultIndex:leftEdgeText:rightEdgeText:
 Set the segment titles and the default index. More...
 
- Instance Methods inherited from BCCellLogic
(id) - initWithViewSettings:
 The constructor. More...
 
(BOOL) - isFilled
 Tests if the field is filled. To be overriden in the subclasses. More...
 
(void) - loadViewFromNib
 Protected method for lading the view of logic from nib. More...
 

Properties

IBOutlet UISegmentedControl * segmentedControl
 The segmented control to display the horizontal picker view. More...
 
IBOutlet UILabel * leftEdgeLabel
 The label shown at the top left corner of the segmented control. More...
 
IBOutlet UILabel * rightEdgeLabel
 The label shown at the top right corner of the segmented control. More...
 
- Properties inherited from BCTitledCellLogic
IBOutlet UILabel * requiredLabel
 The required label of the form field. More...
 
IBOutlet UILabel * titleLabel
 The title label of the form field. More...
 
- Properties inherited from BCCellLogic
IBOutlet UITableViewCell * cell
 The table view cell of the logic. More...
 
IBOutlet UIView * missingView
 A view that is visible only if the field is required to be filled, and there was an attempt to submit without having been filled. More...
 
BOOL showMissingViewIsEmpty
 Show missing view if the cell not filled. More...
 
BoldChatViewSettingsviewSettings
 Common view settings. More...
 

Detailed Description

The logic behind the horizontal picker cell in forms.

Since
Version 1.1

Method Documentation

- (void) setSegmentTitles: (NSArray *)  segmentTitles
defaultIndex: (NSInteger)  defaultIndex
leftEdgeText: (NSString *)  leftEdgeText
rightEdgeText: (NSString *)  rightEdgeText 

Set the segment titles and the default index.

Parameters
segmentTitlesArray of strings of the titles of segments
defaultIndexThe default selected index. If there is no default set it to -1
Since
Version 1.1

Property Documentation

- (IBOutlet UILabel*) leftEdgeLabel
readwritenonatomicstrong

The label shown at the top left corner of the segmented control.

Since
Version 1.1
- (IBOutlet UILabel*) rightEdgeLabel
readwritenonatomicstrong

The label shown at the top right corner of the segmented control.

Since
Version 1.1
- (IBOutlet UISegmentedControl*) segmentedControl
readwritenonatomicstrong

The segmented control to display the horizontal picker view.

Since
Version 1.1

The documentation for this class was generated from the following file: