forked from fanruan/design
Browse Source
Merge in DESIGN/design from ~QINGHUI.LIU/design:release/10.0 to release/10.0 * commit '88c1f4918126b27cb2387ea3d1d9ad73bb34b84f': CHART-16188 柱形图条件属性中增加文本方向button CHART-16171 对富文本内容进行decodefeature/big-screen
Qinghui.Liu
4 years ago
4 changed files with 44 additions and 2 deletions
@ -0,0 +1,17 @@
|
||||
package com.fr.van.chart.column; |
||||
|
||||
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 VanChartColumnLabelConditionPane extends VanChartLabelConditionPane { |
||||
|
||||
public VanChartColumnLabelConditionPane(ConditionAttributesPane conditionAttributesPane, Plot plot) { |
||||
super(conditionAttributesPane, plot); |
||||
} |
||||
|
||||
protected VanChartPlotLabelPane createLabelPane() { |
||||
return new VanChartColumnPlotLabelNoCheckPane(getPlot(),null); |
||||
} |
||||
} |
@ -0,0 +1,25 @@
|
||||
package com.fr.van.chart.column; |
||||
|
||||
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 VanChartColumnPlotLabelNoCheckPane extends VanChartColumnPlotLabelPane { |
||||
|
||||
public VanChartColumnPlotLabelNoCheckPane(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