Flutter Engine
The Flutter Engine
Classes | Public Member Functions | List of all members
org.skia.viewer.OptionAdapter Class Reference
Inheritance diagram for org.skia.viewer.OptionAdapter:

Public Member Functions

 OptionAdapter (Context context, int resource, List< String > options, Spinner spinner)
 
void setCurrentOption (String currentOption)
 
Filter getFilter ()
 

Detailed Description

Definition at line 11 of file OptionAdapter.java.

Constructor & Destructor Documentation

◆ OptionAdapter()

org.skia.viewer.OptionAdapter.OptionAdapter ( Context  context,
int  resource,
List< String >  options,
Spinner  spinner 
)
inline

Definition at line 17 of file OptionAdapter.java.

17 {
18 super(context, resource);
19 addAll(options);
20 mOptions = options;
21 mSpinner = spinner;
22 }
const char * options
static SkString resource(SkPDFResourceType type, int index)

Member Function Documentation

◆ getFilter()

Filter org.skia.viewer.OptionAdapter.getFilter ( )
inline

Definition at line 58 of file OptionAdapter.java.

58 {
59 if (mFilter == null) {
60 mFilter = new OptionFilter();
61 }
62 return mFilter;
63 }

◆ setCurrentOption()

void org.skia.viewer.OptionAdapter.setCurrentOption ( String  currentOption)
inline

Definition at line 24 of file OptionAdapter.java.

24 {
25 this.mCurrentOption = currentOption;
26 }

The documentation for this class was generated from the following file: