Struct defining the characteristics of a displayed field on the HMI.
Parameter List
Name | Type | Description | SmartDeviceLink Ver. Available |
---|---|---|---|
name | TextFieldName | Enumeration identifying the field. | SDL 1.0 |
characterSet | CharacterSet | The character set that is supported in this field. | SDL 1.0 |
width | Int16 | The number of characters in one row of this field.
|
SDL 1.0 |
rows | Int16 | The number of rows for this text field.
|
SDL 1.0 |
@since SDL 1.0
@abstract Constructs a newly allocated SDLTextField object
- (instancetype)init;
init!()
@abstract Constructs a newly allocated SDLTextField object indicated by the dictionary parameter
- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;
init!(dictionary dict: NSMutableDictionary!)
The dictionary to use to construct the object
@abstract The enumeration identifying the field.
See
SDLTextFieldNameRequired
@property (readwrite, strong, atomic) SDLTextFieldName *name;
var name: SDLTextFieldName! { get set }
@abstract The character set that is supported in this field.
See
SDLCharacterSetRequired
@property (readwrite, strong, atomic) SDLCharacterSet *characterSet;
var characterSet: SDLCharacterSet! { get set }
@abstract The number of characters in one row of this field.
Required, Integer 1 - 500
@property (readwrite, strong, atomic) NSNumber *width;
var width: NSNumber! { get set }
@abstract The number of rows for this text field.
Required, Integer 1 - 8
@property (readwrite, strong, atomic) NSNumber *rows;
var rows: NSNumber! { get set }