Package penny.downloadmanager.model.task

Examples of penny.downloadmanager.model.task.LinkToDownloadTaskData


    public void actionPerformed(ActionEvent e) {
        if(e.getActionCommand().equals(COM_OK)) {
            if(addTaskModel.getSelectedTask().equals(AddTaskModel.TaskList.DOWNLOAD)) {
                mainModel.getTasks().add(new DTaskData());
            } else if(addTaskModel.getSelectedTask().equals(AddTaskModel.TaskList.LinkToDownload)) {
                mainModel.getTasks().add(new LinkToDownloadTaskData());
            }
            addTaskModel.setVisible(false);
        } else if(e.getActionCommand().equals(COM_CANCEL)) {
            addTaskModel.setVisible(false);
        }
View Full Code Here

TOP

Related Classes of penny.downloadmanager.model.task.LinkToDownloadTaskData

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.