📄 htmlinputtext.html
字号:
<DD><DL></DL></DD></DL><HR><A NAME="getLang()"><!-- --></A><H3>getLang</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getLang</B>()</PRE><DL><DD><p>Return the value of the <code>lang</code> property.</p> <p>Contents: Code describing the language used in the generated markup for this component.<P><DD><DL></DL></DD></DL><HR><A NAME="setLang(java.lang.String)"><!-- --></A><H3>setLang</H3><PRE>public void <B>setLang</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> lang)</PRE><DL><DD><p>Set the value of the <code>lang</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getMaxlength()"><!-- --></A><H3>getMaxlength</H3><PRE>public int <B>getMaxlength</B>()</PRE><DL><DD><p>Return the value of the <code>maxlength</code> property.</p> <p>Contents: The maximum number of characters that may be entered in this field.<P><DD><DL></DL></DD></DL><HR><A NAME="setMaxlength(int)"><!-- --></A><H3>setMaxlength</H3><PRE>public void <B>setMaxlength</B>(int maxlength)</PRE><DL><DD><p>Set the value of the <code>maxlength</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getOnblur()"><!-- --></A><H3>getOnblur</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOnblur</B>()</PRE><DL><DD><p>Return the value of the <code>onblur</code> property.</p> <p>Contents: Javascript code executed when this element loses focus.<P><DD><DL></DL></DD></DL><HR><A NAME="setOnblur(java.lang.String)"><!-- --></A><H3>setOnblur</H3><PRE>public void <B>setOnblur</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> onblur)</PRE><DL><DD><p>Set the value of the <code>onblur</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getOnchange()"><!-- --></A><H3>getOnchange</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOnchange</B>()</PRE><DL><DD><p>Return the value of the <code>onchange</code> property.</p> <p>Contents: Javascript code executed when this element loses focus and its value has been modified since gaining focus.<P><DD><DL></DL></DD></DL><HR><A NAME="setOnchange(java.lang.String)"><!-- --></A><H3>setOnchange</H3><PRE>public void <B>setOnchange</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> onchange)</PRE><DL><DD><p>Set the value of the <code>onchange</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getOnclick()"><!-- --></A><H3>getOnclick</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOnclick</B>()</PRE><DL><DD><p>Return the value of the <code>onclick</code> property.</p> <p>Contents: Javascript code executed when a pointer button is clicked over this element.<P><DD><DL></DL></DD></DL><HR><A NAME="setOnclick(java.lang.String)"><!-- --></A><H3>setOnclick</H3><PRE>public void <B>setOnclick</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> onclick)</PRE><DL><DD><p>Set the value of the <code>onclick</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getOndblclick()"><!-- --></A><H3>getOndblclick</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOndblclick</B>()</PRE><DL><DD><p>Return the value of the <code>ondblclick</code> property.</p> <p>Contents: Javascript code executed when a pointer button is double clicked over this element.<P><DD><DL></DL></DD></DL><HR><A NAME="setOndblclick(java.lang.String)"><!-- --></A><H3>setOndblclick</H3><PRE>public void <B>setOndblclick</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> ondblclick)</PRE><DL><DD><p>Set the value of the <code>ondblclick</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getOnfocus()"><!-- --></A><H3>getOnfocus</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOnfocus</B>()</PRE><DL><DD><p>Return the value of the <code>onfocus</code> property.</p> <p>Contents: Javascript code executed when this element receives focus.<P><DD><DL></DL></DD></DL><HR><A NAME="setOnfocus(java.lang.String)"><!-- --></A><H3>setOnfocus</H3><PRE>public void <B>setOnfocus</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> onfocus)</PRE><DL><DD><p>Set the value of the <code>onfocus</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getOnkeydown()"><!-- --></A><H3>getOnkeydown</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOnkeydown</B>()</PRE><DL><DD><p>Return the value of the <code>onkeydown</code> property.</p> <p>Contents: Javascript code executed when a key is pressed down over this element.<P><DD><DL></DL></DD></DL><HR><A NAME="setOnkeydown(java.lang.String)"><!-- --></A><H3>setOnkeydown</H3><PRE>public void <B>setOnkeydown</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> onkeydown)</PRE><DL><DD><p>Set the value of the <code>onkeydown</code> property.</p><P><DD><DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -