Package com.pegaa.uploader.ui.selectedfilelist

Examples of com.pegaa.uploader.ui.selectedfilelist.SelectedFileListModel


        if(max != null)
        {
            this.jProgressBar1.setMaximum(Integer.parseInt(max));
            this.jProgressBar1.setValue(0);
            this.textArea.setText("0 file(s) / max : " + max);
            SelectedFileListModel sflm = (SelectedFileListModel)this.configHolder.getObject("global.selected-file-list-model");
            sflm.addSelectedFileListListener(this);
        }
    }
View Full Code Here


     * @param e
     */
    public void actionPerformed(ActionEvent e) {
        if(e.getActionCommand().equals("upload-button"))
        {
            SelectedFileListModel model = this.fileSelection.getModel();
            this.uploaderContainer.setModel(model);
            this.uploaderContainer.setTargetFolderID((String)e.getSource());
           
            this.layout.showComponent(fileUploaderHolderPanel, this);
            this.uploaderContainer.startUpload();
View Full Code Here

    private void initFileListModel()
    {
        //TEST
        //configHolder.add("global.maxNumUploads", "10");
        selectedFileListmodel = new SelectedFileListModel();
        /* we store SelectedFileListModel object to the global map. */
        this.configHolder.add("global.selected-file-list-model", selectedFileListmodel);

        /* if there is a file upload limit set it */
        String max = (String)this.configHolder.getObject("global.fileUploadLimit");
View Full Code Here

TOP

Related Classes of com.pegaa.uploader.ui.selectedfilelist.SelectedFileListModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.