public class

PresetStyleGridView

extends ExpandableGridView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.AdapterView<T extends android.widget.Adapter>
         ↳ android.widget.AbsListView
           ↳ android.widget.GridView
             ↳ com.pdftron.pdf.utils.ExpandableGridView
               ↳ com.pdftron.pdf.controls.PresetStyleGridView

Summary

[Expand]
Inherited Constants
From class android.widget.GridView
From class android.widget.AbsListView
From class android.widget.AdapterView
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
PresetStyleGridView(Context context)
Class constructor
PresetStyleGridView(Context context, AttributeSet attrs)
Class constructor
PresetStyleGridView(Context context, AttributeSet attrs, int defStyle)
Class constructor
Public Methods
StylePickerGridViewAdapter getAdapter()
void setStyleList(List<Integer> styleList, boolean rotateIcon)
Sets the list style icons for the grid view.
void setStyleList(List<Integer> styleList)
[Expand]
Inherited Methods
From class com.pdftron.pdf.utils.ExpandableGridView
From class android.widget.GridView
From class android.widget.AbsListView
From class android.widget.AdapterView
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.text.TextWatcher
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.ViewTreeObserver.OnGlobalLayoutListener
From interface android.view.ViewTreeObserver.OnTouchModeChangeListener
From interface android.view.accessibility.AccessibilityEventSource
From interface android.widget.Filter.FilterListener

Public Constructors

public PresetStyleGridView (Context context)

Class constructor

public PresetStyleGridView (Context context, AttributeSet attrs)

Class constructor

public PresetStyleGridView (Context context, AttributeSet attrs, int defStyle)

Class constructor

Public Methods

public StylePickerGridViewAdapter getAdapter ()

public void setStyleList (List<Integer> styleList, boolean rotateIcon)

Sets the list style icons for the grid view. If rotate icon is true, the icons will be rotated 180 degrees.

Parameters
styleList the list of icons to display
rotateIcon whether the icons should be rotated.

public void setStyleList (List<Integer> styleList)