htmlcommandbutton.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 1,270 行 · 第 1/5 页

HTML
1,270
字号
<DL><DD><p>Set the value of the <code>alt</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getDir()"><!-- --></A><H3>getDir</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>getDir</B>()</PRE><DL><DD><p>Return the value of the <code>dir</code> property.</p> <p>Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).<P><DD><DL></DL></DD></DL><HR><A NAME="setDir(java.lang.String)"><!-- --></A><H3>setDir</H3><PRE>public void <B>setDir</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>&nbsp;dir)</PRE><DL><DD><p>Set the value of the <code>dir</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="isDisabled()"><!-- --></A><H3>isDisabled</H3><PRE>public boolean <B>isDisabled</B>()</PRE><DL><DD><p>Return the value of the <code>disabled</code> property.</p> <p>Contents: Flag indicating that this element must never receive focus or be included in a subsequent submit.  A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled".<P><DD><DL></DL></DD></DL><HR><A NAME="setDisabled(boolean)"><!-- --></A><H3>setDisabled</H3><PRE>public void <B>setDisabled</B>(boolean&nbsp;disabled)</PRE><DL><DD><p>Set the value of the <code>disabled</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getImage()"><!-- --></A><H3>getImage</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>getImage</B>()</PRE><DL><DD><p>Return the value of the <code>image</code> property.</p> <p>Contents: Absolute or relative URL of the image to be displayed for this button.  If specified, this "input" element will be of type "image".  Otherwise, it will be of the type specified by the "type" property with a label specified by the "value" property.<P><DD><DL></DL></DD></DL><HR><A NAME="setImage(java.lang.String)"><!-- --></A><H3>setImage</H3><PRE>public void <B>setImage</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>&nbsp;image)</PRE><DL><DD><p>Set the value of the <code>image</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getLabel()"><!-- --></A><H3>getLabel</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>getLabel</B>()</PRE><DL><DD><p>Return the value of the <code>label</code> property.</p> <p>Contents: A localized user presentable name for this component.<P><DD><DL></DL></DD></DL><HR><A NAME="setLabel(java.lang.String)"><!-- --></A><H3>setLabel</H3><PRE>public void <B>setLabel</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>&nbsp;label)</PRE><DL><DD><p>Set the value of the <code>label</code> property.</p><P><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>&nbsp;lang)</PRE><DL><DD><p>Set the value of the <code>lang</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>&nbsp;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>&nbsp;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>&nbsp;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>

⌨️ 快捷键说明

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