|
|
|
@ -4,7 +4,6 @@ import com.fr.base.chart.BaseChartCollection;
|
|
|
|
|
import com.fr.chart.chartattr.Bar2DPlot; |
|
|
|
|
import com.fr.chart.chartattr.Chart; |
|
|
|
|
import com.fr.chart.chartattr.ChartCollection; |
|
|
|
|
import com.fr.chart.chartattr.ChartFactory; |
|
|
|
|
import com.fr.chart.charttypes.ChartTypeManager; |
|
|
|
|
import com.fr.chart.web.ChartHyperPoplink; |
|
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
@ -23,7 +22,7 @@ import com.fr.general.Inter;
|
|
|
|
|
import java.awt.*; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 类说明: 图表超链 -- 弹出 悬浮窗. |
|
|
|
|
* 类说明: 图表超链 -- 弹出 悬浮窗. |
|
|
|
|
* @author kunsnat E-mail:kunsnat@gmail.com |
|
|
|
|
* @version 创建时间:2011-12-28 上午10:41:39 |
|
|
|
|
*/ |
|
|
|
@ -32,7 +31,7 @@ public class ChartHyperPoplinkPane extends BasicBeanPane<ChartHyperPoplink> {
|
|
|
|
|
private UITextField itemNameTextField; |
|
|
|
|
private ChartHyperEditPane hyperEditPane; |
|
|
|
|
private ChartComponent chartComponent; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public ChartHyperPoplinkPane() { |
|
|
|
|
this.setLayout(FRGUIPaneFactory.createM_BorderLayout()); |
|
|
|
|
|
|
|
|
@ -43,18 +42,17 @@ public class ChartHyperPoplinkPane extends BasicBeanPane<ChartHyperPoplink> {
|
|
|
|
|
|
|
|
|
|
hyperEditPane = new ChartHyperEditPane(getChartParaType(), getValueEditorPane(), getValueEditorPane()); |
|
|
|
|
this.add(hyperEditPane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
ChartCollection cc = createChartCollection(); |
|
|
|
|
|
|
|
|
|
ChartCollection cc = createChartCollection(); |
|
|
|
|
|
|
|
|
|
chartComponent = new ChartComponent(); |
|
|
|
|
chartComponent.setPreferredSize(new Dimension(220, 170));// 在单元格弹出时 需要调整保证属性表的大小.
|
|
|
|
|
chartComponent.setSupportEdit(false); |
|
|
|
|
chartComponent.populate(cc); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.add(chartComponent, BorderLayout.EAST); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hyperEditPane.populate(cc); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
hyperEditPane.useChartComponent(chartComponent); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -75,7 +73,7 @@ public class ChartHyperPoplinkPane extends BasicBeanPane<ChartHyperPoplink> {
|
|
|
|
|
return cc; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected int getChartParaType() { |
|
|
|
|
protected int getChartParaType() { |
|
|
|
|
return ParameterTableModel.CHART_NORMAL_USE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -90,7 +88,7 @@ public class ChartHyperPoplinkPane extends BasicBeanPane<ChartHyperPoplink> {
|
|
|
|
|
protected boolean needRenamePane(){ |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected String title4PopupWindow() { |
|
|
|
|
return Inter.getLocText("FR-Chart-Pop_Chart"); |
|
|
|
|