forked from fanruan/finekit
Browse Source
* commit 'f416ee4ab3b8edc692e35f8d022c0e6f5eafd4cc': update: 修改不规范的方法参数命名。 feat: 按照pr修改,并增加ui组件。 feat: 新增添一些方法。master
superman
5 years ago
4 changed files with 43 additions and 1 deletions
@ -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 checked){ |
||||
super(LocText, checked); |
||||
} |
||||
|
||||
public UICheckBox(String text, Icon icon){ |
||||
super(text, icon); |
||||
} |
||||
} |
@ -1,5 +1,5 @@
|
||||
package com.fanruan.api.design.ui.component; |
||||
|
||||
public class UIIntNumberField extends com.fr.design.gui.itextfield.UIIntNumberField { |
||||
|
||||
public UIIntNumberField(){}; |
||||
} |
||||
|
@ -0,0 +1,4 @@
|
||||
package com.fanruan.api.err; |
||||
|
||||
public class UtilEvalError extends com.fr.stable.UtilEvalError{ |
||||
} |
@ -0,0 +1,14 @@
|
||||
package com.fanruan.api.script; |
||||
import com.fr.script.ScriptFactory; |
||||
|
||||
import javax.script.ScriptEngine; |
||||
|
||||
public class ScriptKit { |
||||
/** |
||||
* 获取一个全新的脚本执行引擎 |
||||
* @return 一个全新的脚本执行引擎 |
||||
*/ |
||||
public static ScriptEngine newScriptEngine() { |
||||
return ScriptFactory.newScriptEngine(); |
||||
} |
||||
} |
Loading…
Reference in new issue