|
|
@ -120,7 +120,7 @@ public class WriteWebSettingPane extends WebSettingPane<WebWrite> { |
|
|
|
if (webWrite == null) { |
|
|
|
if (webWrite == null) { |
|
|
|
webWrite = new WebWrite(); |
|
|
|
webWrite = new WebWrite(); |
|
|
|
} |
|
|
|
} |
|
|
|
if (webWrite.getSelectedColor() != null) { |
|
|
|
if (webWrite.isEditRowColor()) { |
|
|
|
colorBox.setSelected(true); |
|
|
|
colorBox.setSelected(true); |
|
|
|
colorButton.setColor(webWrite.getSelectedColor()); |
|
|
|
colorButton.setColor(webWrite.getSelectedColor()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -148,9 +148,10 @@ public class WriteWebSettingPane extends WebSettingPane<WebWrite> { |
|
|
|
protected WebWrite updateSubWebSettingBean() { |
|
|
|
protected WebWrite updateSubWebSettingBean() { |
|
|
|
WebWrite webWrite = new WebWrite(); |
|
|
|
WebWrite webWrite = new WebWrite(); |
|
|
|
if (colorBox.isSelected()) { |
|
|
|
if (colorBox.isSelected()) { |
|
|
|
|
|
|
|
webWrite.setEditRowColor(true); |
|
|
|
webWrite.setSelectedColor(colorButton.getColor()); |
|
|
|
webWrite.setSelectedColor(colorButton.getColor()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
webWrite.setSelectedColor(null); |
|
|
|
webWrite.setEditRowColor(false); |
|
|
|
} |
|
|
|
} |
|
|
|
if (topRadioButton.isSelected()) { |
|
|
|
if (topRadioButton.isSelected()) { |
|
|
|
webWrite.setSheetPosition(Constants.TOP); |
|
|
|
webWrite.setSheetPosition(Constants.TOP); |
|
|
|