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