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