⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 battlemaptag.java

📁 struts框架的jsf组件的核心实用例子集合
💻 JAVA
字号:
package com.corejsf;import javax.faces.component.UIComponent;import javax.faces.webapp.UIComponentTag;public class BattleMapTag extends UIComponentTag {    private String own;    private String value;   private String validator;   private String buttons;       // PROPERTY: own   public void setOwn(String newValue) { own = newValue; }    // PROPERTY: value   public void setValue(String newValue) { value = newValue; }   // PROPERTY: validator   public void setValidator(String newValue) { validator = newValue; }   // PROPERTY: buttons   public void setButtons(String newValue) { buttons = newValue; }   public void setProperties(UIComponent component) {       super.setProperties(component);       com.corejsf.util.Tags.setString(component, "value", value);      com.corejsf.util.Tags.setBoolean(component, "own", own);      com.corejsf.util.Tags.setValidator(component, validator);      com.corejsf.util.Tags.setBoolean(component, "buttons", buttons);         }    public void release() {      own = null;      value = null;      validator = null;      buttons = null;   }   public String getRendererType() { return "com.corejsf.BattleMap"; }    public String getComponentType() { return "com.corejsf.BattleMap"; }  }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -