public static interface

ColorPickerInspectorView.ColorPickerDetailView

implements PropertyInspectorView
com.pspdfkit.ui.inspector.views.ColorPickerInspectorView.ColorPickerDetailView
Known Indirect Subclasses

Class Overview

Interface implemented by the different color picker detail views.

Summary

Public Methods
abstract int getMaximumHeight()
Called to get the maximum height the detail view will be.
abstract Parcelable getState()
Called when it's time to save the view state.
abstract void setOnColorPickedListener(ColorPickerInspectorView.ColorPickerListener listener)
Called to set the listener to notify once the user selected a color.
abstract void setState(Parcelable state)
Called to restore the state that was saved before by calling getState().
[Expand]
Inherited Methods
From interface com.pspdfkit.ui.inspector.PropertyInspectorView

Public Methods

public abstract int getMaximumHeight ()

Called to get the maximum height the detail view will be.

Returns
  • The maximum size this detail view will be.

public abstract Parcelable getState ()

Called when it's time to save the view state. It will later be restored by calling setState(Parcelable) ()}

Returns
  • The state you want to save.

public abstract void setOnColorPickedListener (ColorPickerInspectorView.ColorPickerListener listener)

Called to set the listener to notify once the user selected a color.

Parameters
listener The listener to notify once the user selected a color.

public abstract void setState (Parcelable state)

Called to restore the state that was saved before by calling getState().

Parameters
state The state to restore.