ScalePickerInspectorView

Inspector component for picking measurement annotation scale.

Constructors

Link copied to clipboard
constructor(@NonNull context: Context, @NonNull label: String, @NonNull defaultValue: Scale, @Nullable listener: ScalePickerInspectorView.ScalePickerListener)
Construct scale picker.

Types

Link copied to clipboard
Listener for scale value being picked.

Properties

Link copied to clipboard
Current scale value set

Functions

Link copied to clipboard
Bind to property inspector controller.
Link copied to clipboard
Returns maximum height that this view with all its detail views will occupy.
Link copied to clipboard
Height of the parent PropertyInspector that this view would like it to have.
Link copied to clipboard
Returns best height of this view when shown in inspector.
Link copied to clipboard
open fun getView(): View
Casts the inspector view to the View class and returns it.
Link copied to clipboard
Link copied to clipboard
open fun setScale(@NonNull scale: Scale, notifyListeners: Boolean, updateCalibration: Boolean)
Sets value to the scale picker.
Link copied to clipboard
open fun unbindController()
Unbind from property inspector controller.