SMPOpenUIDurationEditModel protocol

Model protocol of object provided to an adapter used for an extension field representing an editable duration.

Syntax

@protocol SMPOpenUIDurationEditModel

Base protocols

Members

All members of SMPOpenUIDurationEditModel, including inherited members.

Methods Properties
Property Description
@property (nonatomic,readonly) double maximumFractionalHourValue The maximum value accepted for the field in fractional hours.
@property (nonatomic,readonly) NSInteger maximumValue The maximum value accepted for the field in seconds.
@property (nonatomic,readonly) double minimumFractionalHourValue The minimum value accepted for the field in fractional hours.
@property (nonatomic,readonly) NSInteger minimumValue The minimum value accepted for the field in seconds.
Inherited members from SMPOpenUIDurationDisplayModel
Member Description
@property (nonatomic,readonly) SMPOpenUIDurationDisplayFormat displayFormat The display format specified for the duration.
@property (nonatomic,readonly) double fractionalHourValue Gets the current value for the duration in decimal hours.
@property (nonatomic,readonly) NSInteger value The current value for the duration in seconds.
Inherited members from SMPOpenUIFieldModel
Member Description
- (SMPOpenUIActionEnableType) agentryActionEnableState: (NSString *) actionName Asks Agentry what the current enable state is for the action specified by name.
- (NSString *) agentryString: (NSString *) stringName Asks Agentry for a specific string value.
@property (nonatomic,readonly) BOOL autosizing A Boolean value representing whether the field is set to Auto height in the Editor.
@property (nonatomic,readonly) BOOL enabled A Boolean value representing whether the field is currently enabled based on current rule evaluation.
- (SMPOpenUIActionResult) executeAgentryAction: (NSString *) actionName Asks Agentry to execute the action specified by name.
- (SMPOpenUIActionResult) executeHyperlinkAction Executes the field's hyperlink action (if the hyperlink action is enabled).
@property (nonatomic,readonly) BOOL hidden A Boolean value representing whether or not the field is currently hidden based on current rule evaluations.
@property (nonatomic,readonly) BOOL hyperlinkEnabled A Boolean value representing whether or not the hyperlink action is enabled.
@property (nonatomic,readonly) NSString * label The label the field would like the extension to display.
- (void) requestLayoutHeigh: (NSUInteger) newHeight Used to inform Agentry that a new height is desired for an autosizing field.