|
|
@ -150,17 +150,20 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen |
|
|
|
} catch (CloneNotSupportedException e1) { |
|
|
|
} catch (CloneNotSupportedException e1) { |
|
|
|
FRLogger.getLogger().error("Error in Clone"); |
|
|
|
FRLogger.getLogger().error("Error in Clone"); |
|
|
|
} |
|
|
|
} |
|
|
|
//获取图表收集器的状态
|
|
|
|
checkoutChange(); |
|
|
|
SwitchState state = editingCollection.calculateMultiChartMode(); |
|
|
|
|
|
|
|
if (state.isDynamicState() && parent != null){ |
|
|
|
|
|
|
|
parent.reactorChartTypePane(editingCollection); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
layoutPane(buttonPane); |
|
|
|
layoutPane(buttonPane); |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//获取图表收集器的状态
|
|
|
|
|
|
|
|
private void checkoutChange(){ |
|
|
|
|
|
|
|
SwitchState state = editingCollection.calculateMultiChartMode(); |
|
|
|
|
|
|
|
if (state.isDynamicState() && parent != null){ |
|
|
|
|
|
|
|
parent.reactorChartTypePane(editingCollection); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ActionListener configListener = new ActionListener() { |
|
|
|
ActionListener configListener = new ActionListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
@ -316,6 +319,8 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen |
|
|
|
|
|
|
|
|
|
|
|
layoutPane(buttonPane); |
|
|
|
layoutPane(buttonPane); |
|
|
|
checkConfigButtonVisible(); |
|
|
|
checkConfigButtonVisible(); |
|
|
|
|
|
|
|
//更新切换面板
|
|
|
|
|
|
|
|
checkoutChange(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private void checkConfigButtonVisible() { |
|
|
|
private void checkConfigButtonVisible() { |
|
|
@ -444,10 +449,7 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取图表收集器的状态
|
|
|
|
//获取图表收集器的状态
|
|
|
|
SwitchState state = editingCollection.calculateMultiChartMode(); |
|
|
|
checkoutChange(); |
|
|
|
if (state.isDynamicState() && parent != null){ |
|
|
|
|
|
|
|
parent.reactorChartTypePane(editingCollection); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
relayoutPane(); |
|
|
|
relayoutPane(); |
|
|
|
} |
|
|
|
} |
|
|
|