Package uk.ac.qmul.eecs.ccmi.activities
Class FileSelectorActivity.Save
- java.lang.Object
-
- FragmentActivity
-
- uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
-
- uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity
-
- uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity.Save
-
- Enclosing class:
- FileSelectorActivity
public static class FileSelectorActivity.Save extends FileSelectorActivity
AFileSelectorActivity
for saving a file. A long click on an item will open a text dialog to enter the name of the file to save. If the user clicks on a file list item, the text field will be filled with the name thereof.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity
FileSelectorActivity.Open, FileSelectorActivity.Save
-
-
Field Summary
-
Fields inherited from class uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
accessibilityService, dialogBuilder, list
-
-
Constructor Summary
Constructors Constructor and Description Save()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getName()
boolean
onItemLongClick(<any> av, View v, int position, long id)
When the user long-clicks on an item a text dialog for the user to enter the file name appears.-
Methods inherited from class uk.ac.qmul.eecs.ccmi.activities.AccessibleActivity
dispatchTouchEvent, getHeaderText, onPause, onPostResume, onResume, setHeaderText
-
Methods inherited from class uk.ac.qmul.eecs.ccmi.activities.FileSelectorActivity
onBackPressed, onCreate, onItemClick
-
-
-
-
Method Detail
-
onItemLongClick
public boolean onItemLongClick(<any> av, View v, int position, long id)
When the user long-clicks on an item a text dialog for the user to enter the file name appears.- Specified by:
onItemLongClick
in classFileSelectorActivity
-
getName
public java.lang.String getName()
- Specified by:
getName
in classAccessibleActivity
-
-