BuildmLearn-Toolkit-Android  2.0.0
The Android version of the BuildmLearn Toolkit. BuildmLearn Toolkit is an easy-to-use program that helps the users make mobile apps without any knowledge of application development.
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.buildmlearn.toolkit.utilities.FileDialog Class Reference

Programmed dialog box to select file from storage. More...

Collaboration diagram for org.buildmlearn.toolkit.utilities.FileDialog:
Collaboration graph
[legend]

Classes

interface  FileSelectListener
 

Public Member Functions

 FileDialog (Activity activity)
 
void addFileListener (FileSelectListener listener)
 
void showDialog ()
 
void setFileEndsWith ()
 

Private Member Functions

Dialog createFileDialog ()
 
void fireFileSelectedEvent (final File file)
 
void loadFileList (File path)
 
File getChosenFile (String fileChosen)
 

Private Attributes

final Activity activity
 
final ListenerList< FileSelectListenerfileListenerList = new ListenerList<>()
 
String[] fileList
 
File currentPath
 
String fileEndsWith
 

Static Private Attributes

static final String PARENT_DIR = ".."
 

Detailed Description

Programmed dialog box to select file from storage.

Created by Anupam (opticod) on 30/5/16.

Constructor & Destructor Documentation

org.buildmlearn.toolkit.utilities.FileDialog.FileDialog ( Activity  activity)

Member Function Documentation

void org.buildmlearn.toolkit.utilities.FileDialog.addFileListener ( FileSelectListener  listener)
Dialog org.buildmlearn.toolkit.utilities.FileDialog.createFileDialog ( )
private
void org.buildmlearn.toolkit.utilities.FileDialog.fireFileSelectedEvent ( final File  file)
private
File org.buildmlearn.toolkit.utilities.FileDialog.getChosenFile ( String  fileChosen)
private
void org.buildmlearn.toolkit.utilities.FileDialog.loadFileList ( File  path)
private
void org.buildmlearn.toolkit.utilities.FileDialog.setFileEndsWith ( )
void org.buildmlearn.toolkit.utilities.FileDialog.showDialog ( )

Member Data Documentation

final Activity org.buildmlearn.toolkit.utilities.FileDialog.activity
private
File org.buildmlearn.toolkit.utilities.FileDialog.currentPath
private
String org.buildmlearn.toolkit.utilities.FileDialog.fileEndsWith
private
String [] org.buildmlearn.toolkit.utilities.FileDialog.fileList
private
final ListenerList<FileSelectListener> org.buildmlearn.toolkit.utilities.FileDialog.fileListenerList = new ListenerList<>()
private
final String org.buildmlearn.toolkit.utilities.FileDialog.PARENT_DIR = ".."
staticprivate

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