📄 basehandlertag.java
字号:
* Sets the onMouseOut event handler.
*/
public void setOnmouseout(String onMouseOut) {
this.onmouseout = onMouseOut;
}
/**
* Returns the onMouseOut event handler.
*/
public String getOnmouseout() {
return onmouseout;
}
// Keyboard Events
/**
* Sets the onKeyDown event handler.
*/
public void setOnkeydown(String onKeyDown) {
this.onkeydown = onKeyDown;
}
/**
* Returns the onKeyDown event handler.
*/
public String getOnkeydown() {
return onkeydown;
}
/**
* Sets the onKeyUp event handler.
*/
public void setOnkeyup(String onKeyUp) {
this.onkeyup = onKeyUp;
}
/**
* Returns the onKeyUp event handler.
*/
public String getOnkeyup() {
return onkeyup;
}
/**
* Sets the onKeyPress event handler.
*/
public void setOnkeypress(String onKeyPress) {
this.onkeypress = onKeyPress;
}
/**
* Returns the onKeyPress event handler.
*/
public String getOnkeypress() {
return onkeypress;
}
// Text Events
/**
* Sets the onChange event handler.
*/
public void setOnchange(String onChange) {
this.onchange = onChange;
}
/**
* Returns the onChange event handler.
*/
public String getOnchange() {
return onchange;
}
/**
* Sets the onSelect event handler.
*/
public void setOnselect(String onSelect) {
this.onselect = onSelect;
}
/**
* Returns the onSelect event handler.
*/
public String getOnselect() {
return onselect;
}
// Focus Events and States
/**
* Sets the onBlur event handler.
*/
public void setOnblur(String onBlur) {
this.onblur = onBlur;
}
/**
* Returns the onBlur event handler.
*/
public String getOnblur() {
return onblur;
}
/**
* Sets the onFocus event handler.
*/
public void setOnfocus(String onFocus) {
this.onfocus = onFocus;
}
/**
* Returns the onFocus event handler.
*/
public String getOnfocus() {
return onfocus;
}
/**
* Sets the disabled event handler.
*/
public void setDisabled(boolean disabled) {
this.disabled = disabled;
}
/**
* Returns the disabled event handler.
*/
public boolean getDisabled() {
return disabled;
}
/**
* Sets the readonly event handler.
*/
public void setReadonly(boolean readonly) {
this.readonly = readonly;
}
/**
* Returns the readonly event handler.
*/
public boolean getReadonly() {
return readonly;
}
// CSS Style Support
/**
* Sets the style attribute.
*/
public void setStyle(String style) {
this.style = style;
}
/**
* Returns the style attribute.
*/
public String getStyle() {
return style;
}
/**
* Sets the style class attribute.
*/
public void setStyleClass(String styleClass) {
this.styleClass = styleClass;
}
/**
* Returns the style class attribute.
*/
public String getStyleClass() {
return styleClass;
}
/**
* Sets the style id attribute.
*/
public void setStyleId(String styleId) {
this.styleId = styleId;
}
/**
* Returns the style id attribute.
*/
public String getStyleId() {
return styleId;
}
/**
* Returns the error key attribute.
*/
public String getErrorKey() {
return errorKey;
}
/**
* Sets the error key attribute.
*/
public void setErrorKey(String errorKey) {
this.errorKey = errorKey;
}
/**
* Returns the error style attribute.
*/
public String getErrorStyle() {
return errorStyle;
}
/**
* Sets the error style attribute.
*/
public void setErrorStyle(String errorStyle) {
this.errorStyle = errorStyle;
}
/**
* Returns the error style class attribute.
*/
public String getErrorStyleClass() {
return errorStyleClass;
}
/**
* Sets the error style class attribute.
*/
public void setErrorStyleClass(String errorStyleClass) {
this.errorStyleClass = errorStyleClass;
}
/**
* Returns the error style id attribute.
*/
public String getErrorStyleId() {
return errorStyleId;
}
/**
* Sets the error style id attribute.
*/
public void setErrorStyleId(String errorStyleId) {
this.errorStyleId = errorStyleId;
}
// Other Common Elements
/**
* Returns the alternate text attribute.
*/
public String getAlt() {
return alt;
}
/**
* Sets the alternate text attribute.
*/
public void setAlt(String alt) {
this.alt = alt;
}
/**
* Returns the message resources key of the alternate text.
*/
public String getAltKey() {
return altKey;
}
/**
* Sets the message resources key of the alternate text.
*/
public void setAltKey(String altKey) {
this.altKey = altKey;
}
/**
* Returns the name of the message resources bundle to use.
*/
public String getBundle() {
return bundle;
}
/**
* Sets the name of the message resources bundle to use.
*/
public void setBundle(String bundle) {
this.bundle = bundle;
}
/**
* Returns the name of the session attribute for our locale.
*/
public String getLocale() {
return locale;
}
/**
* Sets the name of the session attribute for our locale.
*/
public void setLocale(String locale) {
this.locale = locale;
}
/**
* Returns the advisory title attribute.
*/
public String getTitle() {
return title;
}
/**
* Sets the advisory title attribute.
*/
public void setTitle(String title) {
this.title = title;
}
/**
* Returns the message resources key of the advisory title.
*/
public String getTitleKey() {
return titleKey;
}
/**
* Sets the message resources key of the advisory title.
*/
public void setTitleKey(String titleKey) {
this.titleKey = titleKey;
}
/**
* Returns the language code of this element.
*
* @since Struts 1.3.6
*/
public String getLang() {
return this.lang;
}
/**
* Sets the language code of this element.
*
* @since Struts 1.3.6
*/
public void setLang(String lang) {
this.lang = lang;
}
/**
* Returns the direction for weak/neutral text this element.
*
* @since Struts 1.3.6
*/
public String getDir() {
return this.dir;
}
/**
* Sets the direction for weak/neutral text of this element.
*
* @since Struts 1.3.6
*/
public void setDir(String dir) {
this.dir = dir;
}
// --------------------------------------------------------- Public Methods
/**
* Release any acquired resources.
*/
public void release() {
super.release();
accesskey = null;
alt = null;
altKey = null;
bundle = null;
dir = null;
errorKey = Globals.ERROR_KEY;
errorStyle = null;
errorStyleClass = null;
errorStyleId = null;
indexed = false;
lang = null;
locale = Globals.LOCALE_KEY;
onclick = null;
ondblclick = null;
onmouseover = null;
onmouseout = null;
onmousemove = null;
onmousedown = null;
onmouseup = null;
onkeydown = null;
onkeyup = null;
onkeypress = null;
onselect = null;
onchange = null;
onblur = null;
onfocus = null;
disabled = false;
readonly = false;
style = null;
styleClass = null;
styleId = null;
tabindex = null;
title = null;
titleKey = null;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -