Package org.bric.imageEditParameters

Examples of org.bric.imageEditParameters.RotateParameters


    private javax.swing.JSpinner toSpinner;
    // End of variables declaration//GEN-END:variables

    @Override
    public RotateParameters getImageEditParameters() {
        RotateParameters rotateParameters = new RotateParameters();
        rotateParameters.setEnabled(RotateEnableCheckBox.isSelected());
        rotateParameters.setCustom(customRadioButton.isSelected());
        rotateParameters.setPredefined(predefinedRadioButton.isSelected());
        int angle = jRotator1.getAngle();
        rotateParameters.setAngle(angle);
        rotateParameters.setRandom(randomCheckBox.isSelected());
        rotateParameters.setDifferentValues(differentValueCheckBox.isSelected());
        rotateParameters.setLimit(limitCheckBox.isSelected());
        rotateParameters.setFrom((Integer)fromSpinner.getValue());
        rotateParameters.setTo((Integer)toSpinner.getValue());
        rotateParameters.setAction(actionsComboBox.getSelectedIndex());
        rotateParameters.setRandomAngle(calculateRandomAngle());

        return rotateParameters;
    }
View Full Code Here

TOP

Related Classes of org.bric.imageEditParameters.RotateParameters

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.