Class UnitsPickerInspectorView

  • All Implemented Interfaces: , android.view.KeyEvent.Callback , android.view.ViewManager , android.view.ViewParent , android.view.accessibility.AccessibilityEventSource , com.pspdfkit.ui.inspector.PropertyInspectorView

    public class UnitsPickerInspectorView
    extends FrameLayout implements PropertyInspectorView

    Inspector component for picking measurement units.

    • Constructor Detail

    • Method Detail

      • setUnit

         void setUnit(@NonNull() Scale.UnitTo unit, boolean notifyListeners)

        Sets value to the unit picker.

        unit - The unit to be set.
        notifyListeners - If unit has changed, this sets whether or not to notify the external UnitPickerListener about the change.
      • unbindController

         void unbindController()

        Unbind from property inspector controller.

      • getPropertyInspectorMaxHeight

         int getPropertyInspectorMaxHeight()

        Returns maximum height that this view with all its detail views will occupy.


        Hint for the maximum inspector height or 0 if no max height is specified.

      • getSuggestedHeight

         int getSuggestedHeight()

        Returns best height of this view when shown in inspector. This is used to suggest initial height to inspector parent.


        Hint for the view height after being shown in inspector.