?? genericrtffield.html
字號(hào):
<HR>
<A NAME="GenericRtfField(java.lang.String, java.lang.String, com.lowagie.text.Font)"><!-- --></A><H3>
GenericRtfField</H3>
<PRE>
public <B>GenericRtfField</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> fieldInst, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> fieldResult, <A HREF="../../../../com/lowagie/text/Font.html">Font</A> font)</PRE>
<DL>
<DD>public constructor, set the data that is to be written into the Field Initialization Stuff and Field Result parts of the RtfField.
<P>
<DT><B>Parameters:</B><DD><CODE>fieldInst</CODE> - data to be written into the Field Initialization Stuff part of the RtfField.<DD><CODE>fieldResult</CODE> - data to be written into the Field Result part of the RtfField.</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="writeRtfFieldInitializationStuff(java.io.OutputStream)"><!-- --></A><H3>
writeRtfFieldInitializationStuff</H3>
<PRE>
public void <B>writeRtfFieldInitializationStuff</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/OutputStream.html">OutputStream</A> out) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>method for writing custom stuff to the Field Initialization Stuff part of an RtfField.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/rtf/AbstractRtfField.html#writeRtfFieldInitializationStuff(java.io.OutputStream)">writeRtfFieldInitializationStuff</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/rtf/AbstractRtfField.html">AbstractRtfField</A></CODE></DL>
</DD>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="writeRtfFieldResultStuff(java.io.OutputStream)"><!-- --></A><H3>
writeRtfFieldResultStuff</H3>
<PRE>
public void <B>writeRtfFieldResultStuff</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/OutputStream.html">OutputStream</A> out) throws <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>method for writing custom stuff to the Field Result part of an RtfField.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/lowagie/text/rtf/AbstractRtfField.html#writeRtfFieldResultStuff(java.io.OutputStream)">writeRtfFieldResultStuff</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/rtf/AbstractRtfField.html">AbstractRtfField</A></CODE></DL>
</DD>
<DD><DL>
<DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="isLocked()"><!-- --></A><H3>
isLocked</H3>
<PRE>
public final boolean <B>isLocked</B>()</PRE>
<DL>
<DD>Determines whtether the field is locked, i.e. it cannot be updated.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><tt>true</tt> iff the field cannot be updated, <tt>false</tt> otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="setLocked(boolean)"><!-- --></A><H3>
setLocked</H3>
<PRE>
public final void <B>setLocked</B>(boolean rtfFieldIsLocked)</PRE>
<DL>
<DD>Set whether the field can be updated.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rtfFieldIsLocked</CODE> - <tt>true</tt> if the field cannot be updated, <tt>false</tt> otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="setDirty(boolean)"><!-- --></A><H3>
setDirty</H3>
<PRE>
public final void <B>setDirty</B>(boolean rtfFieldIsDirty)</PRE>
<DL>
<DD>Set whether a formatting change has been made since the field was last updated
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rtfFieldIsDirty</CODE> - <tt>true</tt> if the field was changed since the field was last updated, <tt>false</tt> otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="isDirty()"><!-- --></A><H3>
isDirty</H3>
<PRE>
public final boolean <B>isDirty</B>()</PRE>
<DL>
<DD>Determines whether the field was changed since the field was last updated
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><tt>true</tt> if the field was changed since the field was last updated, <tt>false</tt> otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="setEdited(boolean)"><!-- --></A><H3>
setEdited</H3>
<PRE>
public final void <B>setEdited</B>(boolean rtfFieldWasEdited)</PRE>
<DL>
<DD>Set whether text has been added, removed from thre field result since the field was last updated.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rtfFieldWasEdited</CODE> - Determines whether text has been added, removed from the field result since the field was last updated (<tt>true</tt>, <tt>false</tt> otherwise..</DL>
</DD>
</DL>
<HR>
<A NAME="wasEdited()"><!-- --></A><H3>
wasEdited</H3>
<PRE>
public final boolean <B>wasEdited</B>()</PRE>
<DL>
<DD>Determines whether text has been added, removed from the field result since the field was last updated.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>rtfFieldWasEdited <tt>true</tt> if text has been added, removed from the field result since the field was last updated, <tt>false</tt> otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="setPrivate(boolean)"><!-- --></A><H3>
setPrivate</H3>
<PRE>
public final void <B>setPrivate</B>(boolean rtfFieldIsPrivate)</PRE>
<DL>
<DD>Set whether the field is in suitable form for display. I.e. it's not a field with a picture as field result
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rtfFieldIsPrivate</CODE> - Determines whether the field is in suitable form for display: <tt>true</tt> it can be displayed, <tt>false</tt> it cannot be displayed.</DL>
</DD>
</DL>
<HR>
<A NAME="isPrivate()"><!-- --></A><H3>
isPrivate</H3>
<PRE>
public final boolean <B>isPrivate</B>()</PRE>
<DL>
<DD>Determines whether the field is in suitable form for display.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>whether the field is in suitable form for display: <tt>true</tt> yes, <tt>false</tt> no it cannot be displayed.</DL>
</DD>
</DL>
<HR>
<A NAME="setAlt(boolean)"><!-- --></A><H3>
setAlt</H3>
<PRE>
public final void <B>setAlt</B>(boolean rtfFieldIsAlt)</PRE>
<DL>
<DD>Determines whether this RtfField shall refer to an end note.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rtfFieldIsAlt</CODE> - <tt>true</tt> if this RtfField shall refer to an end note, <tt>false</tt> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="isAlt()"><!-- --></A><H3>
isAlt</H3>
<PRE>
public final boolean <B>isAlt</B>()</PRE>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -