Browse Source

KERNEL-1197 按要求修改。

pull/1/head
Mars.Ma 5 years ago
parent
commit
64e9c4fddb
  1. 4
      src/main/java/com/fr/plugin/present/fun/StarPainter.java
  2. 6
      src/main/java/com/fr/plugin/present/ui/StarPresentPane.java

4
src/main/java/com/fr/plugin/present/fun/StarPainter.java

@ -1,12 +1,12 @@
package com.fr.plugin.present.fun; package com.fr.plugin.present.fun;
import com.fanruan.api.base.AbstractPainter; import com.fr.base.AbstractPainter;
import com.fr.base.Style; import com.fr.base.Style;
import com.fanruan.api.util.IOKit; import com.fanruan.api.util.IOKit;
import com.fanruan.api.util.CellKit; import com.fanruan.api.util.CellKit;
import com.fr.stable.html.Tag; import com.fr.stable.html.Tag;
import com.fr.stable.web.Repository; import com.fr.stable.web.Repository;
import com.fanruan.api.util.BaseHTMLWriterKit; import com.fanruan.api.report.BaseHTMLWriterKit;
import java.awt.*; import java.awt.*;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;

6
src/main/java/com/fr/plugin/present/ui/StarPresentPane.java

@ -1,7 +1,7 @@
package com.fr.plugin.present.ui; package com.fr.plugin.present.ui;
import com.fr.design.beans.FurtherBasicBeanPane; import com.fr.design.beans.FurtherBasicBeanPane;
import com.fanruan.api.design.work.formula.TinyFormulaPane; import com.fanruan.api.design.ui.component.formula.UIFormulaTextField;
import com.fanruan.api.design.ui.component.UILabel; import com.fanruan.api.design.ui.component.UILabel;
import com.fanruan.api.design.DesignKit; import com.fanruan.api.design.DesignKit;
import com.fanruan.api.design.util.GUICoreKit; import com.fanruan.api.design.util.GUICoreKit;
@ -16,7 +16,7 @@ import java.awt.*;
*/ */
public class StarPresentPane extends FurtherBasicBeanPane<StarPresent> { public class StarPresentPane extends FurtherBasicBeanPane<StarPresent> {
private TinyFormulaPane formulaPane; private UIFormulaTextField formulaPane;
public StarPresentPane() { public StarPresentPane() {
initComponents(); initComponents();
@ -24,7 +24,7 @@ public class StarPresentPane extends FurtherBasicBeanPane<StarPresent> {
private void initComponents() { private void initComponents() {
setLayout(new BorderLayout()); setLayout(new BorderLayout());
formulaPane = new TinyFormulaPane(); formulaPane = new UIFormulaTextField();
add(GUICoreKit.createBorderLayoutPane( add(GUICoreKit.createBorderLayoutPane(
new UILabel(DesignKit.i18nText("Plugin-Present_Value") + ":"), new UILabel(DesignKit.i18nText("Plugin-Present_Value") + ":"),
BorderLayout.WEST, BorderLayout.WEST,

Loading…
Cancel
Save