?? stylesheettag.java
字號:
/* * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */package components.taglib;import javax.faces.component.UIComponent;import javax.faces.webapp.UIComponentTag;/** * This class is the tag handler that evaluates the <code>stylesheet</code> * custom tag. */public class StylesheetTag extends UIComponentTag { private String path = null; public void setPath(String path) { this.path = path; } public String getComponentType() { return ("javax.faces.Output"); } public String getRendererType() { return "Stylesheet"; } protected void setProperties(UIComponent component) { super.setProperties(component); if (path != null) { component.getAttributes().put("path", path); } }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -