public class SelectLibrary extends Object
Constructor and Description |
---|
SelectLibrary(PApplet parent) |
Modifier and Type | Method and Description |
---|---|
void |
selectFolder(String prompt,
String callback)
See selectInput() for details.
|
void |
selectInput(String prompt,
String callback)
Open file chooser dialog to select a file for input.
|
void |
selectOutput(String prompt,
String callback)
See selectInput() for details.
|
public SelectLibrary(PApplet parent)
public void selectInput(String prompt, String callback)
prompt
- message to the usercallback
- name of the method to be called when the selection is madepublic void selectOutput(String prompt, String callback)
prompt
- message to the usercallback
- name of the method to be called when the selection is madeProcessing library SelectFile by Ostap Andrusiv. (c) 2013-2018