AGSUniqueValue Class Reference


Description

Instances of this class represent value objects that are used in unique value renderers.

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

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:
(id) - initWithValue:label:description:symbol:

Static Public Member Functions

(id) + uniqueValueWithValue:symbol:

Properties

NSString * description
NSString * label
AGSSymbolsymbol
NSString * value

Member Function Documentation

- (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) initWithValue: (NSString *)  value
label: (NSString *)  label
description: (NSString *)  description
symbol: (AGSSymbol *)  symbol 

Initialize a new unique value.

Parameters:
value The value to symbolize.
label The label for the symbol used to draw the value.
description The description for the symbol used to draw the value.
symbol The symbol used to display the value.
Since:
1.0
+ (id) uniqueValueWithValue: (NSString *)  value
symbol: (AGSSymbol *)  symbol 

Initialize an autoreleased unique value.

Parameters:
value The value to symbolize.
symbol The symbol to be used to display the value.
Returns:
A new, autoreleased, unique value.
Since:
1.0

Property Documentation

- (NSString*) description [read, retain]

Label for the symbol used to draw the value.

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

Label for the symbol used to draw the value.

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

The symbol used to display the value.

Since:
1.0
- (NSString*) value [read, retain]

The unique value.

Since:
1.0