public interface

PropertyInspectorController

com.pspdfkit.ui.inspector.PropertyInspectorController
Known Indirect Subclasses

Class Overview

An interface to be implemented by PropertyInspector through which other components can control the property inspector.

Summary

Public Methods
abstract void ensureFullyVisible(PropertyInspectorView inspectorView)
Scrolls to inspector view when its not fully visible in property inspector.
abstract View getVisibleDetailView()
Retrieve detail view that is currently visible in the property inspector.
abstract void hideDetailView(boolean animate)
abstract void showDetailView(View view, String title, boolean animate)
Replaces inspector contents with specific view.

Public Methods

public abstract void ensureFullyVisible (PropertyInspectorView inspectorView)

Scrolls to inspector view when its not fully visible in property inspector.

Parameters
inspectorView Property inspector view to scroll to.

public abstract View getVisibleDetailView ()

Retrieve detail view that is currently visible in the property inspector.

Returns
  • Visible detail view or null if no detail view is visible right now.

public abstract void hideDetailView (boolean animate)

Hide view shown in showDetailView(View, String, boolean). This will restore previous inspector contents.

Parameters
animate True to animate transition, false to change immediately.

public abstract void showDetailView (View view, String title, boolean animate)

Replaces inspector contents with specific view. Only single detail view can be visible at a time.

Parameters
view View to show.
title Optional inspector title that will be displayed when detail view is visible.
animate True to animate transition, false to change immediately.