MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPFloorSelectorControl.h
Go to the documentation of this file.
1//
2// MPFloorSelectorControl.h
3// MapsIndoors SDK for iOS
4//
5// Created by Daniel Nielsen on 8/6/13.
6// Copyright (c) 2017 MapsPeople A/S. All rights reserved.
7//
8
10#import <UIKit/UIKit.h>
11
12@class GMSMapView;
13
17@protocol MPFloorButton;
18
23
27+ (nullable UIColor*) selectedColor;
28
32+ (void) setSelectedColor:(nullable UIColor*)value;
33
37+ (nullable UIColor*) tintColor;
38
42+ (void) setTintColor:(nullable UIColor*)value;
43
47@property (nonatomic, class, nullable) UIColor* floorButtonTitleColor;
48
52@property (nonatomic, class, nullable) UIColor* selectedFloorButtonTitleColor;
53
57@property (nonatomic, class, nullable) UIColor* userFloorColor;
58
62@property (nonatomic, class, nullable) UIColor* floorButtonBackgroundColor;
63
67@property (nonatomic, class, nullable) UIColor* selectedFloorButtonBackgroundColor;
68
72@property (nonatomic, class) NSInteger floorButtonBorderPadding;
73
77@property (nonatomic, strong, nullable) NSNumber* currentFloor;
78
82@property (nonatomic, strong, nullable) NSNumber* fromFloorIndex;
83
87@property (nonatomic, strong, nullable) NSNumber* nFloors;
88
92@property (nonatomic, strong, nullable) NSNumber* buttonSize;
96@property (nonatomic, strong, nullable) NSArray* buttons;
100@property (nonatomic, strong, nullable) UIImage* topIcon;
101
105@property (nonatomic, weak, readonly, nullable) UIImageView* topImageView;
106
111- (void)notifyFloorSelect:(nonnull id)sender;
112
118- (void) addToMap:(nonnull GMSMapView*)map DEPRECATED_MSG_ATTRIBUTE("Please use addSubview on containing view instead");
119
125- (void) addToView:(nonnull UIView*)view DEPRECATED_MSG_ATTRIBUTE("Please use addSubview on containing view instead");
126
130- (void) updateFrame;
131
135- (void) setUserFloor: (nonnull NSNumber*)floorIndex;
136
140@property (nonatomic) CGFloat maxHeight;
141
145@property (nonatomic) BOOL disableAutomaticLayoutManagement;
146
147@end
Definition MPFloorSelectorControl.h:22
NSNumber * nFloors
Definition MPFloorSelectorControl.h:87
NSInteger floorButtonBorderPadding
Definition MPFloorSelectorControl.h:72
UIColor * selectedFloorButtonTitleColor
Definition MPFloorSelectorControl.h:52
UIColor * floorButtonTitleColor
Definition MPFloorSelectorControl.h:47
UIImage * topIcon
Definition MPFloorSelectorControl.h:100
NSNumber * buttonSize
Definition MPFloorSelectorControl.h:92
NSNumber * fromFloorIndex
Definition MPFloorSelectorControl.h:82
BOOL disableAutomaticLayoutManagement
Definition MPFloorSelectorControl.h:145
nullable UIColor * tintColor()
UIColor * userFloorColor
Definition MPFloorSelectorControl.h:57
UIColor * floorButtonBackgroundColor
Definition MPFloorSelectorControl.h:62
UIImageView * topImageView
Definition MPFloorSelectorControl.h:105
NSNumber * currentFloor
Definition MPFloorSelectorControl.h:77
NSArray * buttons
Definition MPFloorSelectorControl.h:96
UIColor * selectedFloorButtonBackgroundColor
Definition MPFloorSelectorControl.h:67
nullable UIColor * selectedColor()
CGFloat maxHeight
Definition MPFloorSelectorControl.h:140
Definition MPFloorSelectorProtocol.h:16