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 boolean autoUpload 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 boolean isAutoUpload concode_elem_sep void removeUploadedFile concode_elem_sep void setAutoUpload 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 ( ) ; FileInfo loc1 = loc0 . getFileInfo ( ) ; if ( loc1 . getStatus ( ) == FileInfo . SAVED ) { currentFile = new InputFileData ( loc1 ) ; synchronized ( fileList ) { fileList . add ( currentFile ) ; } } }