Browse Source

feat: 按照pr修改,并增加ui组件。

pull/11/head
zjz1993 5 years ago
parent
commit
5e5e46ed1c
  1. 8
      src/main/java/com/fanruan/api/cal/formula/BaseFormula.java
  2. 4
      src/main/java/com/fanruan/api/config/DefaultConfiguration.java
  3. 24
      src/main/java/com/fanruan/api/design/ui/component/UICheckBox.java
  4. 2
      src/main/java/com/fanruan/api/design/ui/component/UIIntNumberField.java
  5. 2
      src/main/java/com/fanruan/api/err/UtilEvalError.java
  6. 4
      src/main/java/com/fanruan/api/uniqueKey/UniqueKeyKit.java

8
src/main/java/com/fanruan/api/cal/formula/BaseFormula.java

@ -1,8 +0,0 @@
package com.fanruan.api.cal.formula;
public class BaseFormula extends com.fr.base.BaseFormula{
@Override
public String getXmlTag(){
return "";
}
}

4
src/main/java/com/fanruan/api/config/DefaultConfiguration.java

@ -1,4 +0,0 @@
package com.fanruan.api.config;
public class DefaultConfiguration extends com.fr.config.DefaultConfiguration{
}

24
src/main/java/com/fanruan/api/design/ui/component/UICheckBox.java

@ -0,0 +1,24 @@
package com.fanruan.api.design.ui.component;
import javax.swing.*;
/**
* @author zhaojunzhe
* @version 10.0
* Created by zhaojunzhe on 2019-08-28
* checkbox组件
*/
public class UICheckBox extends com.fr.design.gui.icheckbox.UICheckBox{
public UICheckBox(String string){super(string);}
public UICheckBox(){}
public UICheckBox(String LocText, boolean b){
super(LocText, b);
}
public UICheckBox(String text, Icon icon){
super(text, icon);
}
}

2
src/main/java/com/fanruan/api/design/ui/component/UIIntNumberField.java

@ -1,5 +1,5 @@
package com.fanruan.api.design.ui.component; package com.fanruan.api.design.ui.component;
public class UIIntNumberField extends com.fr.design.gui.itextfield.UIIntNumberField { public class UIIntNumberField extends com.fr.design.gui.itextfield.UIIntNumberField {
public UIIntNumberField(){};
} }

2
src/main/java/com/fanruan/api/util/eval/error/UtilEvalError.java → src/main/java/com/fanruan/api/err/UtilEvalError.java

@ -1,4 +1,4 @@
package com.fanruan.api.util.eval.error; package com.fanruan.api.err;
public class UtilEvalError extends com.fr.stable.UtilEvalError{ public class UtilEvalError extends com.fr.stable.UtilEvalError{
} }

4
src/main/java/com/fanruan/api/uniqueKey/UniqueKeyKit.java

@ -1,4 +0,0 @@
package com.fanruan.api.uniqueKey;
public class UniqueKeyKit extends com.fr.config.utils.UniqueKey{
}
Loading…
Cancel
Save