| java.lang.Object | |||
| ↳ | android.widget.BaseAdapter | ||
| ↳ | android.widget.ArrayAdapter<T> | ||
| ↳ | com.pdftron.pdf.utils.StylePickerGridViewAdapter | ||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.widget.Adapter
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StylePickerGridViewAdapter(Context context, List<Integer> list, boolean rotateIcon) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | contains(Integer item) | ||||||||||
| int |
getCount()
Gets style source count.
| ||||||||||
| Integer |
getItem(int position)
Get style item in list at specific position.
| ||||||||||
| String |
getSelected()
Gets selected style source
| ||||||||||
| View | getView(int position, View convertView, ViewGroup parent) | ||||||||||
| void |
setRotateIcon(boolean rotateIcon)
Sets whether the icons in the grid view should be rotate 180 degrees.
| ||||||||||
| void |
setSource(List<Integer> list)
Sets style list source
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.ArrayAdapter
| |||||||||||
From class
android.widget.BaseAdapter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
android.widget.Adapter
| |||||||||||
From interface
android.widget.Filterable
| |||||||||||
From interface
android.widget.ListAdapter
| |||||||||||
From interface
android.widget.SpinnerAdapter
| |||||||||||
From interface
android.widget.ThemedSpinnerAdapter
| |||||||||||
| context | The context |
|---|---|
| list | the style list |
| rotateIcon | whether the icons in the grid should be rotated 180 degrees |
Gets style source count.
Get style item in list at specific position.
| position | The specific position. |
|---|
Gets selected style source
Sets whether the icons in the grid view should be rotate 180 degrees.
| rotateIcon | whether the icons should be rotated 180 degrees |
|---|
Sets style list source
| list | style list source |
|---|