inputkeybindassist.java

来自「IBM RSA下的JSF开发示例」· Java 代码 · 共 110 行

JAVA
110
字号
/**
 * 
 */
package pagecode.inputKeyBindAssist;

import pagecode.PageCodeBase;
import javax.faces.component.html.HtmlInputText;
import javax.faces.component.html.HtmlForm;
import com.ibm.faces.component.html.HtmlScriptCollector;
import com.ibm.faces.component.html.HtmlInputHelperKeybind;

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

	protected HtmlInputText text;
	protected HtmlForm form1;
	protected HtmlScriptCollector scriptCollector1;
	protected HtmlInputText text1;
	protected HtmlInputText text8;
	protected HtmlInputText text2;
	protected HtmlInputText text3;
	protected HtmlInputText text4;
	protected HtmlInputText text5;
	protected HtmlInputText text6;
	protected HtmlInputHelperKeybind inputHelperKeybind1;
	protected HtmlInputHelperKeybind inputHelperKeybind2;
	protected HtmlInputHelperKeybind inputHelperKeybind3;
	
	protected HtmlInputText getText() {
		if (text == null) {
			text = (HtmlInputText) findComponentInRoot("text");
		}
		return text;
	}
	protected HtmlForm getForm1() {
		if (form1 == null) {
			form1 = (HtmlForm) findComponentInRoot("form1");
		}
		return form1;
	}
	protected HtmlScriptCollector getScriptCollector1() {
		if (scriptCollector1 == null) {
			scriptCollector1 = (HtmlScriptCollector) findComponentInRoot("scriptCollector1");
		}
		return scriptCollector1;
	}
	protected HtmlInputText getText1() {
		if (text1 == null) {
			text1 = (HtmlInputText) findComponentInRoot("text1");
		}
		return text1;
	}
	protected HtmlInputText getText8() {
		if (text8 == null) {
			text8 = (HtmlInputText) findComponentInRoot("text8");
		}
		return text8;
	}
	protected HtmlInputText getText2() {
		if (text2 == null) {
			text2 = (HtmlInputText) findComponentInRoot("text2");
		}
		return text2;
	}
	protected HtmlInputText getText3() {
		if (text3 == null) {
			text3 = (HtmlInputText) findComponentInRoot("text3");
		}
		return text3;
	}
	protected HtmlInputText getText4() {
		if (text4 == null) {
			text4 = (HtmlInputText) findComponentInRoot("text4");
		}
		return text4;
	}
	protected HtmlInputText getText5() {
		if (text5 == null) {
			text5 = (HtmlInputText) findComponentInRoot("text5");
		}
		return text5;
	}
	protected HtmlInputText getText6() {
		if (text6 == null) {
			text6 = (HtmlInputText) findComponentInRoot("text6");
		}
		return text6;
	}
	protected HtmlInputHelperKeybind getInputHelperKeybind1() {
		if (inputHelperKeybind1 == null) {
			inputHelperKeybind1 = (HtmlInputHelperKeybind) findComponentInRoot("inputHelperKeybind1");
		}
		return inputHelperKeybind1;
	}
	protected HtmlInputHelperKeybind getInputHelperKeybind2() {
		if (inputHelperKeybind2 == null) {
			inputHelperKeybind2 = (HtmlInputHelperKeybind) findComponentInRoot("inputHelperKeybind2");
		}
		return inputHelperKeybind2;
	}
	protected HtmlInputHelperKeybind getInputHelperKeybind3() {
		if (inputHelperKeybind3 == null) {
			inputHelperKeybind3 = (HtmlInputHelperKeybind) findComponentInRoot("inputHelperKeybind3");
		}
		return inputHelperKeybind3;
	}
}

⌨️ 快捷键说明

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