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

📄 stylesheet.java

📁 IBM RSA下的JSF开发示例
💻 JAVA
字号:
/**
 * 
 */
package pagecode.styleSheet;

import pagecode.PageCodeBase;
import com.ibm.samples.rowActionSelect.RowEditBean;
import com.ibm.faces.component.html.HtmlScriptCollector;
import javax.faces.component.html.HtmlForm;
import javax.faces.component.html.HtmlCommandLink;
import javax.faces.component.html.HtmlOutputText;
import javax.faces.component.html.HtmlDataTable;
import javax.faces.component.UIColumn;
import javax.faces.component.html.HtmlInputText;
import javax.faces.component.html.HtmlSelectManyCheckbox;
import com.ibm.faces.component.html.HtmlCommandExButton;

/**
 * @author nan
 *
 */
public class StyleSheet extends PageCodeBase {

	protected RowEditBean employee;
	protected HtmlScriptCollector tempscriptCollector1;
	protected HtmlForm tempform1;
	protected HtmlCommandLink templink1;
	protected HtmlOutputText temptext1;
	protected HtmlCommandLink templink2;
	protected HtmlOutputText temptext2;
	protected HtmlScriptCollector scriptCollector1;
	protected HtmlForm form1;
	protected HtmlDataTable table1;
	protected UIColumn column1;
	protected HtmlOutputText text1;
	protected HtmlOutputText text3;
	protected HtmlOutputText text5;
	protected HtmlDataTable table2;
	protected UIColumn column4;
	protected HtmlOutputText text8;
	protected HtmlOutputText text13;
	protected HtmlOutputText text15;
	protected HtmlInputText text7;
	protected HtmlInputText text10;
	protected HtmlInputText text11;
	protected HtmlSelectManyCheckbox checkbox1;
	protected HtmlSelectManyCheckbox checkbox2;
	protected HtmlSelectManyCheckbox checkbox3;
	protected HtmlCommandExButton button1;
	protected HtmlCommandExButton button2;
	protected HtmlCommandExButton button3;
	protected HtmlOutputText text2;
	protected UIColumn column2;
	protected HtmlOutputText text4;
	protected UIColumn column3;
	protected HtmlOutputText text6;
	protected HtmlOutputText text12;
	protected UIColumn column5;
	protected HtmlOutputText text14;
	protected UIColumn column6;
	protected HtmlOutputText text16;

	protected HtmlScriptCollector getTempscriptCollector1() {
		if (tempscriptCollector1 == null) {
			tempscriptCollector1 = (HtmlScriptCollector) findComponentInRoot("tempscriptCollector1");
		}
		return tempscriptCollector1;
	}
	
	protected HtmlForm getTempform1() {
		if (tempform1 == null) {
			tempform1 = (HtmlForm) findComponentInRoot("tempform1");
		}
		return tempform1;
	}
	
	protected HtmlCommandLink getTemplink1() {
		if (templink1 == null) {
			templink1 = (HtmlCommandLink) findComponentInRoot("templink1");
		}
		return templink1;
	}
	
	protected HtmlOutputText getTemptext1() {
		if (temptext1 == null) {
			temptext1 = (HtmlOutputText) findComponentInRoot("temptext1");
		}
		return temptext1;
	}
	
	protected HtmlCommandLink getTemplink2() {
		if (templink2 == null) {
			templink2 = (HtmlCommandLink) findComponentInRoot("templink2");
		}
		return templink2;
	}
	protected HtmlOutputText getTemptext2() {
		if (temptext2 == null) {
			temptext2 = (HtmlOutputText) findComponentInRoot("temptext2");
		}
		return temptext2;
	}
	
	protected HtmlScriptCollector getScriptCollector1() {
		if (scriptCollector1 == null) {
			scriptCollector1 = (HtmlScriptCollector) findComponentInRoot("scriptCollector1");
		}
		return scriptCollector1;
	}
	
	protected HtmlForm getForm1() {
		if (form1 == null) {
			form1 = (HtmlForm) findComponentInRoot("form1");
		}
		return form1;
	}
	
	protected HtmlDataTable getTable1() {
		if (table1 == null) {
			table1 = (HtmlDataTable) findComponentInRoot("table1");
		}
		return table1;
	}
	
	protected UIColumn getColumn1() {
		if (column1 == null) {
			column1 = (UIColumn) findComponentInRoot("column1");
		}
		return column1;
	}
	
	protected HtmlOutputText getText1() {
		if (text1 == null) {
			text1 = (HtmlOutputText) findComponentInRoot("text1");
		}
		return text1;
	}
	
	protected HtmlOutputText getText3() {
		if (text3 == null) {
			text3 = (HtmlOutputText) findComponentInRoot("text3");
		}
		return text3;
	}
	
	protected HtmlOutputText getText5() {
		if (text5 == null) {
			text5 = (HtmlOutputText) findComponentInRoot("text5");
		}
		
		return text5;
	}
	
	protected HtmlDataTable getTable2() {
		if (table2 == null) {
			table2 = (HtmlDataTable) findComponentInRoot("table2");
		}
		return table2;
	}
	
	protected UIColumn getColumn4() {
		if (column4 == null) {
			column4 = (UIColumn) findComponentInRoot("column4");
		}
		return column4;
	}
	
	protected HtmlOutputText getText8() {
		if (text8 == null) {
			text8 = (HtmlOutputText) findComponentInRoot("text8");
		}
		return text8;
	}
	
	protected HtmlOutputText getText13() {
		if (text13 == null) {
			text13 = (HtmlOutputText) findComponentInRoot("text13");
		}
		return text13;
	}
	
	protected HtmlOutputText getText15() {
		if (text15 == null) {
			text15 = (HtmlOutputText) findComponentInRoot("text15");
		}
		return text15;
	}
	
	protected HtmlInputText getText7() {
		if (text7 == null) {
			text7 = (HtmlInputText) findComponentInRoot("text7");
		}
		return text7;
	}
	
	protected HtmlInputText getText10() {
		if (text10 == null) {
			text10 = (HtmlInputText) findComponentInRoot("text10");
		}
		return text10;
	}
	
	protected HtmlInputText getText11() {
		if (text11 == null) {
			text11 = (HtmlInputText) findComponentInRoot("text11");
		}
		
		return text11;
	}
	protected HtmlSelectManyCheckbox getCheckbox1() {
		if (checkbox1 == null) {
			checkbox1 = (HtmlSelectManyCheckbox) findComponentInRoot("checkbox1");
		}
		return checkbox1;
	}
	
	protected HtmlSelectManyCheckbox getCheckbox2() {
		if (checkbox2 == null) {
			checkbox2 = (HtmlSelectManyCheckbox) findComponentInRoot("checkbox2");
		}
		return checkbox2;
	}
	
	protected HtmlSelectManyCheckbox getCheckbox3() {
		if (checkbox3 == null) {
			checkbox3 = (HtmlSelectManyCheckbox) findComponentInRoot("checkbox3");
		}
		return checkbox3;
	}
	
	protected HtmlCommandExButton getButton1() {
		if (button1 == null) {
			button1 = (HtmlCommandExButton) findComponentInRoot("button1");
		}
		return button1;
	}
	
	protected HtmlCommandExButton getButton2() {
		if (button2 == null) {
			button2 = (HtmlCommandExButton) findComponentInRoot("button2");
		}
		return button2;
	}
	
	protected HtmlCommandExButton getButton3() {
		if (button3 == null) {
			button3 = (HtmlCommandExButton) findComponentInRoot("button3");
		}
		return button3;
	}
	
	protected HtmlOutputText getText2() {
		if (text2 == null) {
			text2 = (HtmlOutputText) findComponentInRoot("text2");
		}
		return text2;
	}
	
	protected UIColumn getColumn2() {
		if (column2 == null) {
			column2 = (UIColumn) findComponentInRoot("column2");
		}
		return column2;
	}
	
	protected HtmlOutputText getText4() {
		if (text4 == null) {
			text4 = (HtmlOutputText) findComponentInRoot("text4");
		}
		return text4;
	}
	
	protected UIColumn getColumn3() {
		if (column3 == null) {
			column3 = (UIColumn) findComponentInRoot("column3");
		}
		return column3;
	}
	
	protected HtmlOutputText getText6() {
		if (text6 == null) {
			text6 = (HtmlOutputText) findComponentInRoot("text6");
		}
		return text6;
	}
	
	protected HtmlOutputText getText12() {
		if (text12 == null) {
			text12 = (HtmlOutputText) findComponentInRoot("text12");
		}
		return text12;
	}
	
	protected UIColumn getColumn5() {
		if (column5 == null) {
			column5 = (UIColumn) findComponentInRoot("column5");
		}
		return column5;
	}
	
	protected HtmlOutputText getText14() {
		if (text14 == null) {
			text14 = (HtmlOutputText) findComponentInRoot("text14");
		}
		return text14;
	}
	
	protected UIColumn getColumn6() {
		if (column6 == null) {
			column6 = (UIColumn) findComponentInRoot("column6");
		}
		return column6;
	}
	
	protected HtmlOutputText getText16() {
		if (text16 == null) {
			text16 = (HtmlOutputText) findComponentInRoot("text16");
		}
		return text16;
	}	

	/** 
	 * @managed-bean true
	 */
	public RowEditBean getEmployee() {
		if (employee == null) {
			employee = (RowEditBean) getFacesContext().getApplication()
					.createValueBinding("#{employee}").getValue(
							getFacesContext());
		}
		return employee;
	}
	
	/** 
	 * @managed-bean true
	 */
	public void setEmployee(RowEditBean employee) {
		this.employee = employee;
	}
}

⌨️ 快捷键说明

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