public class

FontAdapter

extends ArrayAdapter<T>
java.lang.Object
   ↳ android.widget.BaseAdapter
     ↳ android.widget.ArrayAdapter<T>
       ↳ com.pdftron.pdf.utils.FontAdapter

Class Overview

Adapter for fonts

Summary

[Expand]
Inherited Constants
From interface android.widget.Adapter
Public Constructors
FontAdapter(Context context, int textViewResource, List<FontResource> list)
Public Methods
List<FontResource> getData()
View getDropDownView(int position, View convertView, ViewGroup parent)
int getPosition(FontResource font)
View getView(int position, View convertView, ViewGroup parent)
void setData(List<FontResource> data)
void setDropDownViewResource(int resource)
[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

Public Constructors

public FontAdapter (Context context, int textViewResource, List<FontResource> list)

Public Methods

public List<FontResource> getData ()

public View getDropDownView (int position, View convertView, ViewGroup parent)

public int getPosition (FontResource font)

public View getView (int position, View convertView, ViewGroup parent)

public void setData (List<FontResource> data)

public void setDropDownViewResource (int resource)