|
|
@ -184,7 +184,7 @@ public class ChangeConfigPane extends BasicBeanPane<ChartCollection> { |
|
|
|
BorderLayout.CENTER |
|
|
|
BorderLayout.CENTER |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
UIExpandablePane expandablePane = new UIExpandablePane(Toolkit.i18nText("Fine-Design_Chart_Button_Content"), 20, buttonContentPane) { |
|
|
|
UIExpandablePane expandablePane = new UIExpandablePane(Toolkit.i18nText("Fine-Design_Chart_Button_And_Rotation_Content"), 20, buttonContentPane) { |
|
|
|
protected void setcontentPanelontentPanelBorder() { |
|
|
|
protected void setcontentPanelontentPanelBorder() { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -212,6 +212,7 @@ public class ChangeConfigPane extends BasicBeanPane<ChartCollection> { |
|
|
|
populateSwitchTitlePane(i, collection); |
|
|
|
populateSwitchTitlePane(i, collection); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
showSwitchTitleCard(collection.getChartName(select)); |
|
|
|
chartTypesPane.revalidate(); |
|
|
|
chartTypesPane.revalidate(); |
|
|
|
switchTitlePane.revalidate(); |
|
|
|
switchTitlePane.revalidate(); |
|
|
|
selectedChart = select; |
|
|
|
selectedChart = select; |
|
|
@ -228,7 +229,7 @@ public class ChangeConfigPane extends BasicBeanPane<ChartCollection> { |
|
|
|
result = Utils.objectToString(switchTitle); |
|
|
|
result = Utils.objectToString(switchTitle); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
result = collection.getChartName(chartIndex); |
|
|
|
result = Toolkit.i18nText("Fine-Design_Chart_Chart") + (chartIndex + 1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
TinyFormulaPane title = new TinyFormulaPane(); |
|
|
|
TinyFormulaPane title = new TinyFormulaPane(); |
|
|
@ -357,8 +358,7 @@ public class ChangeConfigPane extends BasicBeanPane<ChartCollection> { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
resetChangeChartButtons(); |
|
|
|
resetChangeChartButtons(); |
|
|
|
CardLayout cardLayout = (CardLayout) switchTitlePane.getLayout(); |
|
|
|
showSwitchTitleCard(collection.getChartName(buttonIndex)); |
|
|
|
cardLayout.show(switchTitlePane, collection.getChartName(buttonIndex)); |
|
|
|
|
|
|
|
ChangeChartButton.this.setSelected(true); |
|
|
|
ChangeChartButton.this.setSelected(true); |
|
|
|
selectedChart = buttonIndex; |
|
|
|
selectedChart = buttonIndex; |
|
|
|
} |
|
|
|
} |
|
|
@ -375,4 +375,9 @@ public class ChangeConfigPane extends BasicBeanPane<ChartCollection> { |
|
|
|
changeChartButton.setSelected(false); |
|
|
|
changeChartButton.setSelected(false); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void showSwitchTitleCard(String chartName) { |
|
|
|
|
|
|
|
CardLayout cardLayout = (CardLayout) switchTitlePane.getLayout(); |
|
|
|
|
|
|
|
cardLayout.show(switchTitlePane, chartName); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|