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

📄 charttag.java

📁 struts框架的jsf组件的核心实用例子集合
💻 JAVA
字号:
package com.corejsf;import javax.faces.component.*;import javax.faces.webapp.*;import java.util.*;public class ChartTag extends UIComponentTag {   private String width;   private String height;   private String title;   private String names;   private String values;      private Map props = new HashMap();      public void setWidth(String newValue) { width = newValue; }   public void setHeight(String newValue) { height = newValue; }   public void setTitle(String newValue) { title = newValue; }   public void setNames(String newValue) { names = newValue; }   public void setValues(String newValue) { values = newValue; }      public void setProperties(UIComponent component) {       super.setProperties(component);       if (component == null) return;      com.corejsf.util.Tags.setString(component, "width", width);      com.corejsf.util.Tags.setString(component, "height", height);      com.corejsf.util.Tags.setString(component, "title", title);      com.corejsf.util.Tags.setString(component, "names", names);      com.corejsf.util.Tags.setString(component, "values", values);   }      public void release() {      super.release();      width = null;      height = null;      title = null;      names = null;      values = null;   }         public String getRendererType() { return "com.corejsf.Chart"; }    public String getComponentType() { return "com.corejsf.Chart"; }  }

⌨️ 快捷键说明

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