Package org.bric.imageEditParameters

Examples of org.bric.imageEditParameters.ResizeParameters


        this.widthSpinner.getModel().setValue(widthSpinner);
    }

    @Override
    public ResizeParameters getImageEditParameters() {
        ResizeParameters resizeParameters = new ResizeParameters();
        resizeParameters.setEnabled(resizeEnableCheckBox.isSelected());
        resizeParameters.setWidth((Integer) widthSpinner.getValue());
        resizeParameters.setHeight((Integer) heightSpinner.getValue());
        resizeParameters.setMaintainAspectRatio(aspectCheckBox.isSelected());
        resizeParameters.setConsiderOrientation(orientationCheckBox.isSelected());
        resizeParameters.setAntialising(antialisingCheckBox.isSelected());
        resizeParameters.setRendering(renderingComboBox.getSelectedIndex());
        resizeParameters.setFilter(resizeFilterComboBox.getSelectedItem().toString());
        resizeParameters.setSharpen(sharpenComboBox.getSelectedItem().toString());
        resizeParameters.setUnits(unitCombo.getSelectedIndex());

        return resizeParameters;
    }
View Full Code Here

TOP

Related Classes of org.bric.imageEditParameters.ResizeParameters

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.