public class

StylePickerView

extends LinearLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ com.pdftron.pdf.controls.StylePickerView

Summary

Nested Classes
interface StylePickerView.OnBackButtonPressedListener This method is used for back button in toolbar pressed event  
[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
StylePickerView(Context context)
Class constructor
StylePickerView(Context context, AttributeSet attrs)
Class constructor
StylePickerView(Context context, AttributeSet attrs, int defStyleAttr)
Class constructor
Public Methods
void dismiss()
Hide Style picker view
void setAnnotStyleHolder(AnnotStyle.AnnotStyleHolder annotStyleHolder)
Sets annotation style holder
void setOnBackButtonPressedListener(StylePickerView.OnBackButtonPressedListener listener)
Sets on back button pressed listener
void show(int styleMode)
Show style picker view with given styleMode, must be one of: BORDER_STYLE, LINE_STYLE, LINE_START_STYLE, LINE_END_STYLE
[Expand]
Inherited Methods
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public StylePickerView (Context context)

Class constructor

public StylePickerView (Context context, AttributeSet attrs)

Class constructor

public StylePickerView (Context context, AttributeSet attrs, int defStyleAttr)

Class constructor

Public Methods

public void dismiss ()

Hide Style picker view

public void setAnnotStyleHolder (AnnotStyle.AnnotStyleHolder annotStyleHolder)

Sets annotation style holder

Parameters
annotStyleHolder annotation style holder

public void setOnBackButtonPressedListener (StylePickerView.OnBackButtonPressedListener listener)

Sets on back button pressed listener

Parameters
listener back button pressed listener

public void show (int styleMode)

Show style picker view with given styleMode, must be one of: BORDER_STYLE, LINE_STYLE, LINE_START_STYLE, LINE_END_STYLE

Parameters
styleMode style mode