Examples of ExportDlg


Examples of org.photovault.swingui.export.ExportDlg

        if ( view.getSelectedCount() > 1 ) {
            exportFile = new File( "image_$n.jpg" );
        } else {
            exportFile = new File( "image.jpg" );
        }
        ExportDlg dlg = new ExportDlg( null, true );
        dlg.setFilename( exportFile.getAbsolutePath() );
       
        int retval = dlg.showDialog();
        if ( retval == ExportDlg.EXPORT_OPTION ) {
            Container c = view.getTopLevelAncestor();
            Cursor oldCursor = c.getCursor();
            c.setCursor( new Cursor( Cursor.WAIT_CURSOR ) );
            String exportFileTmpl = dlg.getFilename();
            int exportWidth = dlg.getImgWidth();
            int exportHeight = dlg.getImgHeight();
            Collection selection = view.getSelection();
            if ( selection != null ) {
                if ( selection.size() > 1 ) {
                    // Ensure that the numbering order is the same is in current view
                    PhotoInfo exportPhotos[]
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.