|
|
@ -160,7 +160,7 @@ public class ChartEditorDefinePane extends MobileWidgetDefinePane { |
|
|
|
boolean allowFullScreen = chartEditor.getMobileAttr().isAllowFullScreen(); |
|
|
|
boolean allowFullScreen = chartEditor.getMobileAttr().isAllowFullScreen(); |
|
|
|
this.allowFullCheckBox.setSelected(allowFullScreen); |
|
|
|
this.allowFullCheckBox.setSelected(allowFullScreen); |
|
|
|
boolean isFunctionalWhenUnactivated = chartEditor.getMobileAttr().isFunctionalWhenUnactivated(); |
|
|
|
boolean isFunctionalWhenUnactivated = chartEditor.getMobileAttr().isFunctionalWhenUnactivated(); |
|
|
|
this.functionalWhenUnactivatedCheckBox.setSelected(isFunctionalWhenUnactivated); |
|
|
|
this.functionalWhenUnactivatedCheckBox.setSelected(!isFunctionalWhenUnactivated); |
|
|
|
this.bindListeners2Widgets(); |
|
|
|
this.bindListeners2Widgets(); |
|
|
|
this.addAttributeChangeListener(changeListener); |
|
|
|
this.addAttributeChangeListener(changeListener); |
|
|
|
|
|
|
|
|
|
|
@ -195,10 +195,10 @@ public class ChartEditorDefinePane extends MobileWidgetDefinePane { |
|
|
|
mobileAttr.setZoomInAttr(ChartMobileFitAttrState.PROPORTION); |
|
|
|
mobileAttr.setZoomInAttr(ChartMobileFitAttrState.PROPORTION); |
|
|
|
mobileAttr.setZoomOutAttr((ChartMobileFitAttrState) ((Item) zoomOutComboBox.getSelectedItem()).getValue()); |
|
|
|
mobileAttr.setZoomOutAttr((ChartMobileFitAttrState) ((Item) zoomOutComboBox.getSelectedItem()).getValue()); |
|
|
|
mobileAttr.setAllowFullScreen(allowFullCheckBox.isSelected()); |
|
|
|
mobileAttr.setAllowFullScreen(allowFullCheckBox.isSelected()); |
|
|
|
mobileAttr.setFunctionalWhenUnactivated(functionalWhenUnactivatedCheckBox.isSelected()); |
|
|
|
mobileAttr.setFunctionalWhenUnactivated(!functionalWhenUnactivatedCheckBox.isSelected()); |
|
|
|
}else { |
|
|
|
}else { |
|
|
|
mobileAttr.setAllowFullScreen(allowFullCheckBox.isSelected()); |
|
|
|
mobileAttr.setAllowFullScreen(allowFullCheckBox.isSelected()); |
|
|
|
mobileAttr.setFunctionalWhenUnactivated(functionalWhenUnactivatedCheckBox.isSelected()); |
|
|
|
mobileAttr.setFunctionalWhenUnactivated(!functionalWhenUnactivatedCheckBox.isSelected()); |
|
|
|
} |
|
|
|
} |
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); // 触发设计器保存按钮亮起来
|
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); // 触发设计器保存按钮亮起来
|
|
|
|
} |
|
|
|
} |
|
|
|