forked from fanruan/design
Browse Source
* commit '8a411d9bca37d3dae547ce4359e64b19cce6a5f7': CHART-20517 图表类型编辑之后再重置标题 CHART-20517 图表类型编辑之后再重置标题 解决冲突 解决冲突 解决冲突 REPORT-58124 公式编辑器优化:不支持实时计算的功能提示处理 1.修改遍历不支持公式的逻辑 REPORT-58394 fix:不安装旧版本图表插件 只是不能新建 图表配置面板也是要出来的 REPORT-57986 只是获取是不是使用全局而不是获取全局开启否 REPORT-58390 【主题切换】细节定制-决策报表的模板背景-不透明度降低后,缩略图会变暗 REPORT-58367 【回归测试】聚合报表全选报表块内容,修改跟随主题,配置不生效 REPORT-58383 【回归测试】聚合报表纸张背景-跟随主题,设计器内配置预览效果不正确 REPORT-58353 【主题切换】悬浮元素-样式设置为自定义时,不同选项的切换显示 CHART-20374 && REPORT-57978 【主题切换】细节定制-模板背景-设置图片适应,左上角有奇怪的显示;【11.0】仪表盘标签、轴标签颜色自动控件截断显示 REPORT-58344 主题样式frm下的图表标题增加提示 REPORT-57892 公式编辑器优化:实时计算返回结果为日期格式时不正确 1.添加一个object2string REPORT-54887 公式编辑器优化一期 1.添加了公式的参数个数和参数类型的校验; 2.添加了实时计算的功能。research/11.0
superman
3 years ago
15 changed files with 137 additions and 44 deletions
@ -0,0 +1,16 @@ |
|||||||
|
package com.fr.design.mainframe.theme.edit; |
||||||
|
|
||||||
|
import com.fr.design.mainframe.theme.edit.chart.ChartTitleAndBackgroundStyleFormPane; |
||||||
|
import com.fr.design.mainframe.theme.edit.chart.ChartTitleAndBackgroundStylePane; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author Bjorn |
||||||
|
* @version 10.0 |
||||||
|
* Created by Bjorn on 2021-08-30 |
||||||
|
*/ |
||||||
|
public class ChartStyleFormEditPane extends ChartStyleEditPane { |
||||||
|
|
||||||
|
protected ChartTitleAndBackgroundStylePane createChartTitleAndBackgroundStylePane() { |
||||||
|
return new ChartTitleAndBackgroundStyleFormPane(); |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,36 @@ |
|||||||
|
package com.fr.design.mainframe.theme.edit.chart; |
||||||
|
|
||||||
|
import com.fr.design.gui.ilable.UILabel; |
||||||
|
import com.fr.design.i18n.Toolkit; |
||||||
|
|
||||||
|
import java.awt.Color; |
||||||
|
import java.awt.Component; |
||||||
|
|
||||||
|
/** |
||||||
|
* @author Bjorn |
||||||
|
* @version 10.0 |
||||||
|
* Created by Bjorn on 2021-08-30 |
||||||
|
*/ |
||||||
|
public class ChartTitleAndBackgroundStyleFormPane extends ChartTitleAndBackgroundStylePane { |
||||||
|
|
||||||
|
private UILabel tooltipLabel; |
||||||
|
|
||||||
|
protected void initComponents() { |
||||||
|
super.initComponents(); |
||||||
|
tooltipLabel = new UILabel("<html>" + Toolkit.i18nText("Fine-Design_Chart_Title_Background_Tooltip") + "</html>"); |
||||||
|
tooltipLabel.setForeground(new Color(153, 153, 153)); |
||||||
|
} |
||||||
|
|
||||||
|
protected Component[][] getComponent() { |
||||||
|
Component[][] component = super.getComponent(); |
||||||
|
Component[][] newComponent = new Component[component.length + 2][]; |
||||||
|
System.arraycopy(component, 0, newComponent, 2, component.length); |
||||||
|
newComponent[0] = new Component[]{null, null}; |
||||||
|
newComponent[1] = new Component[]{tooltipLabel, null}; |
||||||
|
return newComponent; |
||||||
|
} |
||||||
|
|
||||||
|
protected double[] getRows(double p) { |
||||||
|
return new double[]{p, p, p, p, p, p, p}; |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue