AGSClassBreak Class Reference


Description

Instances of this class represent class breaks. A class break specifies a range of values and a corresponding symbol. AGSClassBreaksRenderer applies the symbol to graphics which have values that fall within the specified range.

Defined in:
AGSClassBreaksRenderer.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSClassBreak:
<AGSCoding>

List of all members.

Public Member Functions

(NSComparisonResult) - compare:
(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:
(id) - initWithLabel:description:maxValue:symbol:

Static Public Member Functions

(id) + classBreakInfoWithLabel:description:maxValue:symbol:

Properties

NSString * description
NSString * label
double maxValue
AGSSymbolsymbol

Member Function Documentation

+ (id) classBreakInfoWithLabel: (NSString *)  label
description: (NSString *)  description
maxValue: (double)  maxValue
symbol: (AGSSymbol *)  symbol 

Initialize an autoreleased AGSClassBreak.

Parameters:
label The label for the symbol used to draw the value.
description The description for the symbol used to draw the value.
maxValue The maximum value.
symbol The symnol used to display the value.
Since:
1.0
- (NSComparisonResult) compare: (AGSClassBreak *)  anotherClassBreak  

Returns an NSComparisonResult value that indicates the ordering of the receiver and another class break.

Since:
1.8
- (void) decodeWithJSON: (NSDictionary *)  json   [optional, inherited]

Decode object from JSON representation.

Parameters:
json The JSON representation of the object to be decoded.
Since:
1.0
- (NSDictionary *) encodeToJSON   [optional, inherited]

Encode and return JSON representation for object.

Returns:
JSON representation of object.
Since:
1.0
- (id) initWithJSON: (NSDictionary *)  json   [optional, inherited]

Initialize and return object from JSON representation.

Parameters:
json The JSON representation of the object to be created.
Returns:
Object decoded from JSON representation.
Since:
1.0
- (id) initWithLabel: (NSString *)  label
description: (NSString *)  description
maxValue: (double)  maxValue
symbol: (AGSSymbol *)  symbol 

Initialize an AGSClassBreak.

Parameters:
label The label for the symbol used to draw the value.
description The description for the symbol used to draw the value.
maxValue The maximum value.
symbol The symbol used to display the value.
Since:
1.0

Property Documentation

- (NSString*) description [read, write, copy]

Description for the symbol used to draw the value.

Since:
1.0
- (NSString*) label [read, write, copy]

Label for the symbol used to draw the value.

Since:
1.0
- (double) maxValue [read, write, assign]

The maximum value for this class break.

Since:
1.0
- (AGSSymbol*) symbol [read, write, retain]

Symbol to use for this class break.

Since:
1.0