action event method which is triggered when a user clicks on the upload file button . uploaded files are added to a list so that user have the option to delete them programatically . any errors that occurs during the file uploaded are added the messages output . concode_field_sep long MEGABYTE_LENGTH_BYTES concode_elem_sep Log log concode_elem_sep long KILOBYTE_LENGTH_BYTES concode_elem_sep int fileProgress concode_elem_sep InputFileData currentFile concode_elem_sep List fileList concode_field_sep void removeUploadedFile concode_elem_sep InputFileData getCurrentFile concode_elem_sep void fileUploadProgress concode_elem_sep int getFileProgress concode_elem_sep List getFileList
void function ( ActionEvent arg0 ) { InputFile loc0 = ( InputFile ) arg0 . getSource ( ) ; if ( loc0 . getStatus ( ) == InputFile . SAVED ) { currentFile = new InputFileData ( loc0 . getFileInfo ( ) , loc0 . getFile ( ) ) ; synchronized ( fileList ) { fileList . add ( currentFile ) ; } } }