Class MeasurementValueInspectorView

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

    public class MeasurementValueInspectorView
    extends FrameLayout implements PropertyInspectorView

    Inspector component for displaying the measurement text value.

    • Constructor Detail

      • MeasurementValueInspectorView

        MeasurementValueInspectorView(Context context, String label, String measurementValue, Annotation annotation)
        Construct measurement value item.
        context - The context to use.
        measurementValue - Measurement value set when showing text.
    • Method Detail

      • 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.

      • onShown

         void onShown()

        Called when this inspector view became visible.

      • onHidden

         void onHidden()

        Called when this inspector view was hidden.