forked from fanruan/finekit
zjz1993
5 years ago
8 changed files with 95 additions and 0 deletions
@ -0,0 +1,19 @@
|
||||
package com.fanruan.api.design.ui.container; |
||||
|
||||
import com.fr.design.beans.BasicBeanPane; |
||||
|
||||
/** |
||||
* 创建一个名称空间对象 |
||||
* */ |
||||
public class NameObjectCreator extends com.fr.design.gui.controlpane.NameObjectCreator{ |
||||
public NameObjectCreator(String menuName, Class clazz, Class<? extends BasicBeanPane> updatePane) { |
||||
super(menuName, clazz, updatePane); |
||||
} |
||||
public NameObjectCreator(String menuName, String iconPath, Class clazz) { |
||||
super(menuName, iconPath, clazz); |
||||
} |
||||
|
||||
public NameObjectCreator(String menuName, String iconPath, Class clazz, Class<? extends BasicBeanPane> updatePane) { |
||||
super(menuName, iconPath, clazz, updatePane); |
||||
} |
||||
} |
@ -0,0 +1,14 @@
|
||||
package com.fanruan.api.design.ui.editor; |
||||
|
||||
/** |
||||
* 文本编辑器 |
||||
* */ |
||||
public class TextEditor extends com.fr.design.editor.editor.TextEditor{ |
||||
public TextEditor(){ |
||||
|
||||
} |
||||
|
||||
public TextEditor(String value) { |
||||
super(value); |
||||
} |
||||
} |
@ -0,0 +1,17 @@
|
||||
package com.fanruan.api.web; |
||||
|
||||
import com.fr.web.utils.WebUtils; |
||||
|
||||
import javax.servlet.http.HttpServletRequest; |
||||
import java.util.Map; |
||||
|
||||
public class WebKit { |
||||
/** |
||||
* 将HTTPServletRequest中的所有参数都读取出来,存储在一个Map中,返回出去 |
||||
* @param req 请求 |
||||
* @return 参数的map |
||||
* */ |
||||
public static Map<String, Object> parameters4SessionIDInfor(HttpServletRequest req){ |
||||
return WebUtils.parameters4SessionIDInfor(req); |
||||
} |
||||
} |
Loading…
Reference in new issue