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

📄 tabbedpanetag.java

📁 struts框架的jsf组件的核心实用例子集合
💻 JAVA
字号:
package com.corejsf;import javax.faces.component.UIComponent;import javax.faces.webapp.UIComponentBodyTag;// This tag supports the following attributes//// binding (supported by UIComponentBodyTag)// id (supported by UIComponentBodyTag)// rendered (supported by UIComponentBodyTag)// style// styleClass// tabClass// selectedTabClass// resourceBundle// actionListenerpublic class TabbedPaneTag extends UIComponentBodyTag {   private String style, styleClass, tabClass, selectedTabClass,         resourceBundle, actionListener;   public String getRendererType() {      return "com.corejsf.TabbedPane";   }   public String getComponentType() {      return "com.corejsf.TabbedPane";   }   public void setTabClass(String newValue) { tabClass = newValue; }       public void setSelectedTabClass(String newValue) {      selectedTabClass = newValue;   }   public void setStyle(String newValue) { style = newValue; }   public void setStyleClass(String newValue) {      styleClass = newValue;   }   public void setResourceBundle(String newValue) {      resourceBundle = newValue;   }   public void setActionListener(String newValue) {      actionListener = newValue;   }   protected void setProperties(UIComponent component) {      // make sure you always call the superclass      super.setProperties(component);      com.corejsf.util.Tags.setString(component, "style", style);      com.corejsf.util.Tags.setString(component, "styleClass",            styleClass);      com.corejsf.util.Tags.setString(component, "tabClass",            tabClass);      com.corejsf.util.Tags.setString(component,            "selectedTabClass", selectedTabClass);      com.corejsf.util.Tags.setString(component, "resourceBundle",            resourceBundle);      com.corejsf.util.Tags.setActionListener(component, actionListener);               }   public void release() {      // always call the superclass method      super.release();      style = null;      styleClass = null;      tabClass = null;      selectedTabClass = null;      resourceBundle = null;      actionListener = null;   }}

⌨️ 快捷键说明

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