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

📄 element.html

📁 FastUnit是基于Java的快速开发平台
💻 HTML
📖 第 1 页 / 共 4 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD样式名称。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdCss(java.lang.String)">setTdCss</A></B>(java.lang.String&nbsp;tdCss)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD样式名称。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdCustom(int, java.lang.String)">setTdCustom</A></B>(int&nbsp;rowIndex,
            java.lang.String&nbsp;tdCustom)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD的定制属性。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdCustom(java.lang.String)">setTdCustom</A></B>(java.lang.String&nbsp;tdCustom)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD的定制属性。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdHeight(int)">setTdHeight</A></B>(int&nbsp;tdHeight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD高度。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdHeight(int, int)">setTdHeight</A></B>(int&nbsp;rowIndex,
            int&nbsp;tdHeight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD高度。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdHeightMode(int)">setTdHeightMode</A></B>(int&nbsp;tdHeightMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD高度模式。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdPaddingBottom(int)">setTdPaddingBottom</A></B>(int&nbsp;tdPaddingBottom)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD下间距,单位为象素。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdPaddingLeft(int)">setTdPaddingLeft</A></B>(int&nbsp;tdPaddingLeft)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD左间距,单位为象素。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdPaddingRight(int)">setTdPaddingRight</A></B>(int&nbsp;tdPaddingRight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD右间距,单位为象素。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdPaddingTop(int)">setTdPaddingTop</A></B>(int&nbsp;tdPaddingTop)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD上间距,单位为象素。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdRowSpan(int)">setTdRowSpan</A></B>(int&nbsp;tdRowSpan)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD占行数值。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdVerticalAlign(int)">setTdVerticalAlign</A></B>(int&nbsp;tdVerticalAlign)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD的垂直排列方式。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdVerticalAlign(int, int)">setTdVerticalAlign</A></B>(int&nbsp;rowIndex,
                   int&nbsp;tdVerticalAlign)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD的垂直排列方式。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdWidth(int)">setTdWidth</A></B>(int&nbsp;tdWidth)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD宽度。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTdWidthMode(int)">setTdWidthMode</A></B>(int&nbsp;tdWidthMode)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置TD宽度模式。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTitle(int, java.lang.String)">setTitle</A></B>(int&nbsp;rowIndex,
         java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置标题。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setTitle(java.lang.String)">setTitle</A></B>(java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置标题。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setWidth(int)">setWidth</A></B>(int&nbsp;width)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置宽度。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#setWidth(int, int)">setWidth</A></B>(int&nbsp;rowIndex,
         int&nbsp;width)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;设置宽度。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#write(com.fastunit.context.ActionContext, java.lang.StringBuffer, int, com.fastunit.Row)">write</A></B>(<A HREF="../../com/fastunit/context/ActionContext.html" title="com.fastunit.context 中的接口">ActionContext</A>&nbsp;ac,
      java.lang.StringBuffer&nbsp;html,
      int&nbsp;rowIndex,
      <A HREF="../../com/fastunit/Row.html" title="com.fastunit 中的类">Row</A>&nbsp;row)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;将元素对象转换为HTML字符串。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../com/fastunit/Element.html#writeTd(com.fastunit.context.ActionContext, java.lang.StringBuffer, int)">writeTd</A></B>(<A HREF="../../com/fastunit/context/ActionContext.html" title="com.fastunit.context 中的接口">ActionContext</A>&nbsp;ac,
        java.lang.StringBuffer&nbsp;html,
        int&nbsp;rowIndex)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;将元素对应的TD对象转换为HTML字符串。</TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>方法详细信息</B></FONT></TH>
</TR>
</TABLE>

<A NAME="write(com.fastunit.context.ActionContext, java.lang.StringBuffer, int, com.fastunit.Row)"><!-- --></A><H3>
write</H3>
<PRE>
void <B>write</B>(<A HREF="../../com/fastunit/context/ActionContext.html" title="com.fastunit.context 中的接口">ActionContext</A>&nbsp;ac,
           java.lang.StringBuffer&nbsp;html,
           int&nbsp;rowIndex,
           <A HREF="../../com/fastunit/Row.html" title="com.fastunit 中的类">Row</A>&nbsp;row)</PRE>
<DL>
<DD>将元素对象转换为HTML字符串。HTML字符串以append()方式附加到StringBuffer对象中。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>ac</CODE> - 上下文对象<DD><CODE>html</CODE> - StringBuffer<DD><CODE>rowIndex</CODE> - 行序号<DD><CODE>row</CODE> - 行数据</DL>
</DD>
</DL>
<HR>

<A NAME="writeTd(com.fastunit.context.ActionContext, java.lang.StringBuffer, int)"><!-- --></A><H3>
writeTd</H3>
<PRE>
void <B>writeTd</B>(<A HREF="../../com/fastunit/context/ActionContext.html" title="com.fastunit.context 中的接口">ActionContext</A>&nbsp;ac,
             java.lang.StringBuffer&nbsp;html,
             int&nbsp;rowIndex)</PRE>
<DL>
<DD>将元素对应的TD对象转换为HTML字符串。HTML字符串以append()方式附加到StringBuffer对象中。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>ac</CODE> - 上下文对象<DD><CODE>html</CODE> - StringBuffer<DD><CODE>rowIndex</CODE> - 行序号</DL>
</DD>
</DL>
<HR>

<A NAME="getId()"><!-- --></A><H3>
getId</H3>
<PRE>
java.lang.String <B>getId</B>()</PRE>
<DL>
<DD>取得元素编号。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>返回:</B><DD>元素编号</DL>
</DD>
</DL>
<HR>

<A NAME="getText(com.fastunit.context.ActionContext, java.lang.String)"><!-- --></A><H3>
getText</H3>
<PRE>
java.lang.String <B>getText</B>(<A HREF="../../com/fastunit/context/ActionContext.html" title="com.fastunit.context 中的接口">ActionContext</A>&nbsp;ac,
                         java.lang.String&nbsp;value)</PRE>
<DL>
<DD>取得文本值。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>返回:</B><DD>文本值</DL>
</DD>
</DL>
<HR>

<A NAME="setCustom(java.lang.String)"><!-- --></A><H3>
setCustom</H3>
<PRE>
void <B>setCustom</B>(java.lang.String&nbsp;custom)</PRE>
<DL>
<DD>设置定制属性。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>custom</CODE> - 定制属性</DL>
</DD>
</DL>
<HR>

<A NAME="setCustom(int, java.lang.String)"><!-- --></A><H3>
setCustom</H3>
<PRE>
void <B>setCustom</B>(int&nbsp;rowIndex,
               java.lang.String&nbsp;custom)</PRE>
<DL>
<DD>设置定制属性。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>rowIndex</CODE> - 行序号<DD><CODE>custom</CODE> - 定制属性</DL>
</DD>
</DL>
<HR>

<A NAME="setCss(java.lang.String)"><!-- --></A><H3>
setCss</H3>
<PRE>
void <B>setCss</B>(java.lang.String&nbsp;css)</PRE>
<DL>
<DD>设置样式名称。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>css</CODE> - 样式名称</DL>
</DD>
</DL>
<HR>

<A NAME="setCss(int, java.lang.String)"><!-- --></A><H3>
setCss</H3>
<PRE>
void <B>setCss</B>(int&nbsp;rowIndex,
            java.lang.String&nbsp;css)</PRE>
<DL>
<DD>设置样式名称。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>rowIndex</CODE> - 行序号<DD><CODE>css</CODE> - 样式名称</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultValue(java.lang.String)"><!-- --></A><H3>
setDefaultValue</H3>
<PRE>
void <B>setDefaultValue</B>(java.lang.String&nbsp;defaultValue)</PRE>
<DL>
<DD>设置默认值。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>defaultValue</CODE> - 默认值</DL>
</DD>
</DL>
<HR>

<A NAME="setDefaultValue(int, java.lang.String)"><!-- --></A><H3>
setDefaultValue</H3>
<PRE>
void <B>setDefaultValue</B>(int&nbsp;rowIndex,
                     java.lang.String&nbsp;defaultValue)</PRE>
<DL>
<DD>设置默认值。
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>参数:</B><DD><CODE>rowIndex</CODE> - 行序号<DD><CODE>defaultValue</CODE> - 默认值</DL>
</DD>
</DL>
<HR>

<A NAME="setHeight(int)"><!-- --></A><H3>
setHeight</H3>
<PRE>

⌨️ 快捷键说明

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