Browse Source
* commit 'aa780d213a2623582b535442cdd405db76d4dc31': MOBILE-29626 【组件顶部冻结】设计器》chart1设置了组件顶部冻结后,修改chart1的控件名称,再次查看组件顶部冻结设置界面,该组件未选中 MOBILE-29857【RN】设计器上圆点指示器选中填充色设置后没有生效 CHART-16330 修改甘特图、框架图条件属性界面 CHART-16196 && CHART-16209 钻取地图钻取目录背景增加自动,地图标题背景增加自动research/10.0
18 changed files with 241 additions and 77 deletions
@ -1,49 +0,0 @@
|
||||
package com.fr.van.chart.designer.component.background; |
||||
|
||||
import com.fr.chart.chartglyph.GeneralInfo; |
||||
import com.fr.design.i18n.Toolkit; |
||||
import com.fr.design.mainframe.backgroundpane.ColorBackgroundQuickPane; |
||||
import com.fr.design.mainframe.backgroundpane.NullBackgroundQuickPane; |
||||
import com.fr.design.mainframe.backgroundpane.VanChartGradientPane; |
||||
|
||||
/** |
||||
* @author Bjorn |
||||
* @version 10.0 |
||||
* Created by Bjorn on 2020-09-11 |
||||
*/ |
||||
public class VanChartBackgroundPaneWithAutoColor extends VanChartBackgroundPane { |
||||
|
||||
private static final int AUTO = 0; |
||||
|
||||
public VanChartBackgroundPaneWithAutoColor() { |
||||
super(); |
||||
} |
||||
|
||||
protected void initList() { |
||||
paneList.add(new NullBackgroundQuickPane() { |
||||
public String title4PopupWindow() { |
||||
return Toolkit.i18nText("Fine-Design_Chart_Automatic"); |
||||
} |
||||
}); |
||||
paneList.add(new NullBackgroundQuickPane()); |
||||
paneList.add(new ColorBackgroundQuickPane()); |
||||
paneList.add(new VanChartGradientPane()); |
||||
} |
||||
|
||||
public void populateBackground(GeneralInfo attr, int begin) { |
||||
if (attr.isAutoBackground()) { |
||||
typeComboBox.setSelectedIndex(AUTO); |
||||
return; |
||||
} |
||||
super.populateBackground(attr, begin + 1); |
||||
} |
||||
|
||||
public void updateBackground(GeneralInfo attr) { |
||||
if (typeComboBox.getSelectedIndex() == AUTO) { |
||||
attr.setAutoBackground(true); |
||||
return; |
||||
} |
||||
attr.setAutoBackground(false); |
||||
super.updateBackground(attr); |
||||
} |
||||
} |
@ -0,0 +1,19 @@
|
||||
package com.fr.van.chart.designer.style; |
||||
|
||||
import com.fr.van.chart.designer.component.background.VanChartBackgroundWithOutShadowWithRadiusPane; |
||||
|
||||
/** |
||||
* @author Bjorn |
||||
* @version 10.0 |
||||
* Created by Bjorn on 2020-10-20 |
||||
*/ |
||||
public class VanChartTitleWithAutoBackground extends VanChartTitlePane { |
||||
|
||||
public VanChartTitleWithAutoBackground(VanChartStylePane parent) { |
||||
super(parent); |
||||
} |
||||
|
||||
protected VanChartBackgroundWithOutShadowWithRadiusPane createBackgroundPane() { |
||||
return new VanChartBackgroundWithOutShadowWithRadiusPane(true); |
||||
} |
||||
} |
@ -0,0 +1,17 @@
|
||||
package com.fr.van.chart.gantt.designer.style.label; |
||||
|
||||
import com.fr.chart.chartattr.Plot; |
||||
import com.fr.design.condition.ConditionAttributesPane; |
||||
import com.fr.van.chart.designer.other.condition.item.VanChartLabelConditionPane; |
||||
import com.fr.van.chart.designer.style.label.VanChartPlotLabelPane; |
||||
|
||||
public class VanChartGanttLabelConditionPane extends VanChartLabelConditionPane { |
||||
|
||||
public VanChartGanttLabelConditionPane(ConditionAttributesPane conditionAttributesPane, Plot plot) { |
||||
super(conditionAttributesPane, plot); |
||||
} |
||||
|
||||
protected VanChartPlotLabelPane createLabelPane() { |
||||
return new VanChartGanttPlotLabelNoCheckPane(getPlot(), null); |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
package com.fr.van.chart.gantt.designer.style.label; |
||||
|
||||
import com.fr.chart.chartattr.Plot; |
||||
import com.fr.plugin.chart.base.AttrLabel; |
||||
import com.fr.van.chart.designer.style.VanChartStylePane; |
||||
|
||||
import java.awt.BorderLayout; |
||||
|
||||
public class VanChartGanttPlotLabelNoCheckPane extends VanChartGanttPlotLabelPane { |
||||
|
||||
public VanChartGanttPlotLabelNoCheckPane(Plot plot, VanChartStylePane parent) { |
||||
super(plot, parent); |
||||
} |
||||
|
||||
protected void addComponents() { |
||||
this.setLayout(new BorderLayout()); |
||||
this.add(getLabelPane(), BorderLayout.CENTER); |
||||
} |
||||
|
||||
public void populate(AttrLabel attr) { |
||||
super.populate(attr); |
||||
getLabelShowCheckBox().setSelected(true); |
||||
getLabelPane().setVisible(true); |
||||
} |
||||
} |
@ -0,0 +1,17 @@
|
||||
package com.fr.van.chart.structure.desinger.style; |
||||
|
||||
import com.fr.chart.chartattr.Plot; |
||||
import com.fr.design.condition.ConditionAttributesPane; |
||||
import com.fr.van.chart.designer.other.condition.item.VanChartLabelConditionPane; |
||||
import com.fr.van.chart.designer.style.label.VanChartPlotLabelPane; |
||||
|
||||
public class VanChartStructureLabelConditionPane extends VanChartLabelConditionPane { |
||||
|
||||
public VanChartStructureLabelConditionPane(ConditionAttributesPane conditionAttributesPane, Plot plot) { |
||||
super(conditionAttributesPane, plot); |
||||
} |
||||
|
||||
protected VanChartPlotLabelPane createLabelPane() { |
||||
return new VanChartStructurePlotLabelNoCheckPane(getPlot(), null); |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
package com.fr.van.chart.structure.desinger.style; |
||||
|
||||
import com.fr.chart.chartattr.Plot; |
||||
import com.fr.plugin.chart.base.AttrLabel; |
||||
import com.fr.van.chart.designer.style.VanChartStylePane; |
||||
|
||||
import java.awt.BorderLayout; |
||||
|
||||
public class VanChartStructurePlotLabelNoCheckPane extends VanChartStructurePlotLabelPane { |
||||
|
||||
public VanChartStructurePlotLabelNoCheckPane(Plot plot, VanChartStylePane parent) { |
||||
super(plot, parent); |
||||
} |
||||
|
||||
protected void addComponents() { |
||||
this.setLayout(new BorderLayout()); |
||||
this.add(getLabelPane(), BorderLayout.CENTER); |
||||
} |
||||
|
||||
public void populate(AttrLabel attr) { |
||||
super.populate(attr); |
||||
getLabelShowCheckBox().setSelected(true); |
||||
getLabelPane().setVisible(true); |
||||
} |
||||
} |
Loading…
Reference in new issue