TKDataFormEditor Class Reference
Inherits from | UIView |
Declared in | TKDataFormEditor.h |
Tasks
-
owner
property -
gridLayout
property -
selectedView
property -
selected
property -
enabled
property -
textLabel
property -
labelPosition
property -
imageView
property -
feedbackImageView
property -
feedbackLabel
property -
editor
property -
style
property -
property
property -
value
property -
isTextEditor
property -
– initWithProperty:
-
– initWithProperty:owner:
-
– loadPropertyValue
-
– updateControlValue
-
– update
Properties
editor
The control used to edit a property.
@property (nonatomic, strong, readonly, nonnull) UIView *editor
Return Value
The control used to edit a property.
Declared In
TKDataFormEditor.h
enabled
Determines if the editor is enabled.
@property (nonatomic) BOOL enabled
Declared In
TKDataFormEditor.h
feedbackImageView
The validation image view in TKDataFormEditor (read-only).
@property (nonatomic, strong, readonly, nonnull) TKImageView *feedbackImageView
Declared In
TKDataFormEditor.h
feedbackLabel
The validation text label in TKDataFormEditor.
@property (nonatomic, strong, readonly, nonnull) UILabel *feedbackLabel
Declared In
TKDataFormEditor.h
gridLayout
The grid layout used to layout the editor.
@property (nonatomic, strong, readonly, nonnull) TKGridLayout *gridLayout
Declared In
TKDataFormEditor.h
imageView
The image view of the editor (read-only).
@property (nonatomic, strong, readonly, nonnull) TKImageView *imageView
Declared In
TKDataFormEditor.h
isTextEditor
Determines if this editor will edit text.
@property (nonatomic, readonly) BOOL isTextEditor
Declared In
TKDataFormEditor.h
labelPosition
The position of the text label of the editor.
@property (nonatomic) TKDataFormLabelPosition labelPosition
Declared In
TKDataFormEditor.h
owner
The TKDataForm which owns the editor.
@property (nonatomic, weak, null_unspecified) TKDataForm *owner
Declared In
TKDataFormEditor.h
property
The property that is edited by this editor.
@property (nonatomic, strong, nonnull) TKEntityProperty *property
Declared In
TKDataFormEditor.h
selected
The selected state of the editor.
@property (nonatomic, readonly) BOOL selected
Declared In
TKDataFormEditor.h
selectedView
@property (nonatomic, strong, nullable) TKView *selectedView
Declared In
TKDataFormEditor.h
style
The object responsible for TKDataFormEditor’s styling and customization.
@property (nonatomic, strong, readonly, nonnull) TKDataFormEditorStyle *style
Declared In
TKDataFormEditor.h
textLabel
The text label of the editor (read-only).
@property (nonatomic, strong, readonly, nonnull) TKLabel *textLabel
Declared In
TKDataFormEditor.h
Instance Methods
initWithProperty:
Initializes a TKDataFormEditor with an entity property.
- (instancetype __nonnull)initWithProperty:(TKEntityProperty *__nonnull)property
Parameters
- property
The entity property used for creating TKDataFormEditor.
Declared In
TKDataFormEditor.h
initWithProperty:owner:
Initializes a TKDataFormEditor with an entity property.
- (instancetype __nonnull)initWithProperty:(TKEntityProperty *__nonnull)property owner:(TKDataForm *__nonnull)owner
Parameters
- property
The entity property used for creating TKDataFormEditor.
- owner
TKDataForm that will show this editor.
Return Value
TKDataFormEditor instance.
Declared In
TKDataFormEditor.h