Package com.pspdfkit.ui.inspector.views
Interface ColorPickerInspectorView.ColorPickerDetailView
-
- All Implemented Interfaces:
-
com.pspdfkit.ui.inspector.PropertyInspectorView
public interface ColorPickerInspectorView.ColorPickerDetailView implements PropertyInspectorView
Interface implemented by the different color picker detail views.
-
-
Method Summary
Modifier and Type Method Description abstract void
setOnColorPickedListener(@NonNull() ColorPickerInspectorView.ColorPickerListener listener)
Called to set the listener to notify once the user selected a color. abstract int
getMaximumHeight()
Called to get the maximum height the detail view will be. Parcelable
getState()
Called when it's time to save the view state. void
setState(@NonNull() Parcelable state)
Called to restore the state that was saved before by calling getState. -
-
Method Detail
-
setOnColorPickedListener
abstract void setOnColorPickedListener(@NonNull() 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.
-
getMaximumHeight
abstract int getMaximumHeight()
Called to get the maximum height the detail view will be.
- Returns:
The maximum size this detail view will be.
-
getState
@Nullable() Parcelable getState()
Called when it's time to save the view state. It will later be restored by calling setState ()}
- Returns:
The state you want to save.
-
setState
void setState(@NonNull() Parcelable state)
Called to restore the state that was saved before by calling getState.
- Parameters:
state
- The state to restore.
-
-
-
-