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;
}