EMTextPrimitive Protocol Reference
| Conforms to | EMPrimitive |
|---|---|
| Declared in | EMTextPrimitive.h |
minimumInputLength
required method
Returns the minimum allowed input characters for this primitive, -1 if there is no minimum or not applicable.
@property (assign, nonatomic, readonly) NSInteger minimumInputLengthReturn Value
Minimum allowed input length.
Declared In
EMTextPrimitive.h
maximumInputLength
required method
Returns the maximum allowed input characters for this primitive, -1 if there is no maximum or not applicable.
@property (assign, nonatomic, readonly) NSInteger maximumInputLengthReturn Value
Maximum allowed input length.
Declared In
EMTextPrimitive.h
textFormat
required method
Returns the data format. See EMPrimitiveTextFormat
@property (assign, nonatomic, readonly) EMPrimitiveTextFormat textFormatReturn Value
The data format for this primitive.
Declared In
EMTextPrimitive.h
– validateInputData:
required method
Check if the given input data is valid for this primitive
- (BOOL)validateInputData:(id<EMSecureString>)dataParameters
data |
The input data to check. |
|---|
Return Value
YES if data valid, NO otherwise.
See Also
Declared In
EMTextPrimitive.h
– assertInputData:
required method
Assert that the given input data is valid for this primitive.
- (void)assertInputData:(id<EMSecureString>)dataParameters
data |
The input data to check. |
|---|
Exceptions
DsDataFormatException |
If the data is not valid |
|---|
See Also
Declared In
EMTextPrimitive.h