Package com.pspdfkit.ui.inspector.views
Class ContentEditingLineSpacingPickerView
-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback
,android.view.KeyEvent.Callback
,android.view.ViewManager
,android.view.ViewParent
,android.view.accessibility.AccessibilityEventSource
,androidx.core.view.NestedScrollingChild
,androidx.core.view.NestedScrollingChild2
,androidx.core.view.NestedScrollingChild3
,androidx.core.view.ScrollingView
,com.pspdfkit.ui.inspector.PropertyInspectorView
public final class ContentEditingLineSpacingPickerView extends RecyclerView implements PropertyInspectorView
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ContentEditingLineSpacingPickerView.LineSpacingPickerListener
-
Constructor Summary
Constructors Constructor Description ContentEditingLineSpacingPickerView(Context context, List<Float> availablSizes, Float defaultValue, Float unsupportedCurrentValue, ContentEditingLineSpacingPickerView.LineSpacingPickerListener listener)
-
Method Summary
Modifier and Type Method Description View
getView()
Casts the inspector view to the View class and returns it. Unit
bindController(PropertyInspectorController controller)
Bind to property inspector controller. Unit
unbindController()
Unbind from property inspector controller. Integer
getPropertyInspectorMinHeight()
Height of the parent PropertyInspector that this view would like it to have. Integer
getPropertyInspectorMaxHeight()
Returns maximum height that this view with all its detail views will occupy. Integer
getSuggestedHeight()
Returns best height of this view when shown in inspector. -
-
Method Detail
-
bindController
Unit bindController(PropertyInspectorController controller)
Bind to property inspector controller.
-
unbindController
Unit unbindController()
Unbind from property inspector controller.
-
getPropertyInspectorMinHeight
Integer getPropertyInspectorMinHeight()
Height of the parent PropertyInspector that this view would like it to have.
- Returns:
Hint for the minimum inspector height or 0 if no min height is specified.
-
getPropertyInspectorMaxHeight
Integer 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
Integer 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.
-
-
-
-