Yvan
4 years ago
10 changed files with 127 additions and 89 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