TrafficOptionsPanel
@IBDesignable
open class TrafficOptionsPanel : OptionsPanel
An options panel for displaying the traffic options of a dynamic penalty.
See also
NMADynamicPenalty.trafficPenaltyMode
-
A string that can be used to represent the panel.
Declaration
Swift
public static let name: String
-
The underlying
NMADynamicPenalty
object. The panel reflects itstrafficPenaltyMode
properties and sets theselectedItemIndex
based on it.Declaration
Swift
public var dynamicPenalty: NMADynamicPenalty! { get set }
-
The delegate object is responsible for customising the panel.
Declaration
Swift
public weak var pickerDelegate: PickerViewDelegate? { get set }
-
Declaration
Swift
public func optionItemDidChange(_ item: OptionItem)