Class MeasurementValueInspectorView

  • All Implemented Interfaces:
    android.graphics.drawable.Drawable.Callback , 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.
        Parameters:
        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.

        Returns:

        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.

        Returns:

        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.