/*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2008 - INRIA - Sylvestre Koumar
 *
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
 * you should have received as part of this distribution.  The terms
 * are also available at
 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
 *
 */
package org.scilab.modules.gui.bridge.filechooser;

import java.util.Vector;

/**
 * This Class brought together all the information about a graphical export
 * (file name, extension, export options)
 * @author Sylvestre Koumar
 *
 */
public class ExportData {

    private Integer figureUID;
    private String exportName;
    private String exportExtension;
    private Vector<String> exportProperties;

    /**
     * Default constructor
     * @param figureId id of the exported figure
     * @param exportName name of the exported file
     * @param exportExtension extension of the exported file
     * @param exportProperties options of the export
     *
     */
    public ExportData(Integer figureUID, String exportName, String exportExtension, Vector<String> exportProperties) {
        this.exportName = exportName;
        this.exportExtension = exportExtension;
        this.exportProperties = exportProperties;
        this.figureUID = figureUID;
    }

    /**
     * Constructor
     */
    public ExportData() {

    }

    /**
     * figureUID getter
     * @return the figureUID
     */
    public Integer getFigureId() {
        return figureUID;
    }

    /**
     * figureUID setter
     * @param figureUID the figureUID to set
     */
    public void setFigureId(Integer figureUID) {
        this.figureUID = figureUID;
    }

    /**
     * exportName getter
     * @return the exportName
     */
    public String getExportName() {
        return exportName;
    }

    /**
     * exportName setter
     * @param exportName the exportName to set
     */
    public void setExportName(String exportName) {
        this.exportName = exportName;
    }

    /**
     * exportExtension getter
     * @return the exportExtension
     */
    public String getExportExtension() {
        return exportExtension;
    }

    /***
     * exportExtension setter
     * @param exportExtension the exportExtension to set
     */
    public void setExportExtension(String exportExtension) {
        this.exportExtension = exportExtension;
    }

    /**
     * exportProperties getter
     * @return the exportProperties
     */
    public Vector<String> getExportProperties() {
        return exportProperties;
    }

    /**
     * exportProperties setter
     * @param exportProperties the exportProperties to set
     */
    public void setExportProperties(Vector<String> exportProperties) {
        this.exportProperties = exportProperties;
    }

}
