📄 configregexviewmanager.java
字号:
package xyz.frame.config;import xyz.frame.view.RegexViewManager;import xyz.frame.webapp.DefaultWebApplication;/** * Configures the view manager * * @author Guilherme Silveira */public class ConfigRegexViewManager implements ConfigItem { private String regex; public <T> ConfigRegexViewManager(String regex) { this.regex = regex; } /** * @return the regex */ public String getRegex() { return regex; } /** * Registers itself * * @see xyz.frame.config.ConfigItem#register(xyz.frame.webapp.DefaultWebApplication) */ public void register(DefaultWebApplication application) throws ConfigException { application.setViewManager(new RegexViewManager(regex)); } /** * * @see xyz.frame.config.ConfigItem#isComponent() */ public boolean isComponent() { return false; } /** * * @see xyz.frame.config.ConfigItem#isManager() */ public boolean isManager() { return true; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -