ArcGIS Runtime SDK for iOS: AGSClassBreak.h Source File
ArcGIS Runtime SDK for iOS  100.9
AGSClassBreak.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 1995-2020 ESRI
3 
4  TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
5  Unpublished material - all rights reserved under the
6  Copyright Laws of the United States and applicable international
7  laws, treaties, and conventions.
8 
9  For additional information, contact:
10  Environmental Systems Research Institute, Inc.
11  Attn: Contracts and Legal Services Department
12  380 New York Street
13  Redlands, California, 92373
14  USA
15 
16  email: contracts@esri.com
17  */
18 
19 #import <ArcGIS/AGSObject.h>
20 #import <ArcGIS/AGSJSONSerializable.h>
21 
22 @class AGSSymbol;
23  //Required for Globals API doc
25 
36 @interface AGSClassBreak : AGSObject <AGSJSONSerializable, NSCopying>
37 
38 
39 #pragma mark -
40 #pragma mark initializers
41 
51 - (instancetype)initWithDescription:(NSString *)description
52  label:(NSString *)label
53  minValue:(double)minValue
54  maxValue:(double)maxValue
55  symbol:(AGSSymbol *)symbol;
56 
61 +(instancetype)classBreak;
62 
72 +(instancetype)classBreakWithDescription:(NSString *)description
73  label:(NSString *)label
74  minValue:(double)minValue
75  maxValue:(double)maxValue
76  symbol:(AGSSymbol *)symbol;
77 
78 #pragma mark -
79 #pragma mark properties
80 
84 @property (nonatomic, copy, readwrite) NSString * label;
85 
89 @property (nonatomic, copy, readwrite) NSString * breakDescription;
90 
94 @property (nonatomic, assign, readwrite) double minValue;
95 
99 @property (nonatomic, assign, readwrite) double maxValue;
100 
104 @property (nullable, nonatomic, strong, readwrite) AGSSymbol * symbol;
105 
106 #pragma mark -
107 #pragma mark methods
108 
114 -(BOOL)isEqualToClassBreak:(AGSClassBreak*)other;
115 
116 
117 @end
NSString * label
Definition: AGSClassBreak.h:84
NSString * breakDescription
Definition: AGSClassBreak.h:89
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:51
Definition: AGSObject.h:21
A protocol to convert objects to and from JSON.
Definition: AGSJSONSerializable.h:32
double maxValue
Definition: AGSClassBreak.h:99
double minValue
Definition: AGSClassBreak.h:94
A class break object used to categorize a group of values that fall within a range of values...
Definition: AGSClassBreak.h:36
instancetype classBreak()