AGSPopupFieldInfo Class Reference


Description

Instances of this class represent how a graphic's attribute (field) should be displayed in a popup.

Since:
2.0
Inheritance diagram for AGSPopupFieldInfo:
<AGSCoding>

List of all members.

Public Member Functions

(void) - decodeWithJSON:
(NSDictionary *) - encodeToJSON
(id) - initWithJSON:

Properties

AGSPopupFieldInfoDateFormat dateFormat
BOOL editable
NSString * fieldName
NSString * label
NSInteger numDecimalPlaces
BOOL showDigitSeparator
NSString * tooltip
BOOL visible

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

Property Documentation

- (AGSPopupFieldInfoDateFormat) dateFormat [read, write, assign]

The format in which to display dates for this field. Applies to date fields only.

Since:
2.0
- (BOOL) editable [read, write, assign]

Whether or not the field is editable.

Since:
2.0
- (NSString*) fieldName [read, write, retain]

The name of the field.

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

The label that is shown for this field in the popup.

Since:
2.0
- (NSInteger) numDecimalPlaces [read, write, assign]

The number of decimal places that are shown for numeric values in this field. Applies to numeric fields only.

Since:
2.0
- (BOOL) showDigitSeparator [read, write, assign]

Whether or not to show a digit separator for numeric values in this field. Applies to numeric fields only.

Since:
2.0
- (NSString*) tooltip [read, write, retain]

The tool tip that is shown for this field in the popup.

Since:
2.0
- (BOOL) visible [read, write, assign]

Whether or not the field is visible.

Since:
2.0