?? pdfline.html
字號:
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#isNewlineSplit()">isNewlineSplit</A></B>()</CODE>
<BR>
Checks if a newline caused the line split.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#isRTL()">isRTL</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Iterator.html">Iterator</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#iterator()">iterator</A></B>()</CODE>
<BR>
Returns an iterator of <CODE>PdfChunk</CODE>s.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#listIndent()">listIndent</A></B>()</CODE>
<BR>
Return the indentation needed to show the listsymbol.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#listSymbol()">listSymbol</A></B>()</CODE>
<BR>
Returns the listsymbol of this line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#numberOfSpaces()">numberOfSpaces</A></B>()</CODE>
<BR>
Returns the number of space-characters in this line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#resetAlignment()">resetAlignment</A></B>()</CODE>
<BR>
Resets the alignment of this line. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#setListItem(com.lowagie.text.ListItem)">setListItem</A></B>(<A HREF="../../../../com/lowagie/text/ListItem.html">ListItem</A> listItem)</CODE>
<BR>
Sets the listsymbol of this line. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#size()">size</A></B>()</CODE>
<BR>
Returns the number of chunks in the line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#toString()">toString</A></B>()</CODE>
<BR>
Get the string representation of what is in this line.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfLine.html#widthLeft()">widthLeft</A></B>()</CODE>
<BR>
Returns the width that is left, after a maximum of characters is added to the line.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="line"><!-- --></A><H3>
line</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> <B>line</B></PRE>
<DL>
<DD>The arraylist containing the chunks.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="left"><!-- --></A><H3>
left</H3>
<PRE>
protected float <B>left</B></PRE>
<DL>
<DD>The left indentation of the line.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="width"><!-- --></A><H3>
width</H3>
<PRE>
protected float <B>width</B></PRE>
<DL>
<DD>The width of the line.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="alignment"><!-- --></A><H3>
alignment</H3>
<PRE>
protected int <B>alignment</B></PRE>
<DL>
<DD>The alignment of the line.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="height"><!-- --></A><H3>
height</H3>
<PRE>
protected float <B>height</B></PRE>
<DL>
<DD>The heigth of the line.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="listSymbol"><!-- --></A><H3>
listSymbol</H3>
<PRE>
protected <A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> <B>listSymbol</B></PRE>
<DL>
<DD>The listsymbol (if necessary).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="symbolIndent"><!-- --></A><H3>
symbolIndent</H3>
<PRE>
protected float <B>symbolIndent</B></PRE>
<DL>
<DD>The listsymbol (if necessary).
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="newlineSplit"><!-- --></A><H3>
newlineSplit</H3>
<PRE>
protected boolean <B>newlineSplit</B></PRE>
<DL>
<DD><CODE>true</CODE> if the chunk splitting was caused by a newline.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="originalWidth"><!-- --></A><H3>
originalWidth</H3>
<PRE>
protected float <B>originalWidth</B></PRE>
<DL>
<DD>The original width.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="isRTL"><!-- --></A><H3>
isRTL</H3>
<PRE>
protected boolean <B>isRTL</B></PRE>
<DL>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="PdfLine(float, float, int, float)"><!-- --></A><H3>
PdfLine</H3>
<PRE>
<B>PdfLine</B>(float left, float right, int alignment, float height)</PRE>
<DL>
<DD>Constructs a new <CODE>PdfLine</CODE>-object.
<P>
<DT><B>Parameters:</B><DD><CODE>left</CODE> - the limit of the line at the left<DD><CODE>right</CODE> - the limit of the line at the right<DD><CODE>alignment</CODE> - the alignment of the line<DD><CODE>height</CODE> - the height of the line</DL>
<HR>
<A NAME="PdfLine(float, float, int, boolean, java.util.ArrayList, boolean)"><!-- --></A><H3>
PdfLine</H3>
<PRE>
<B>PdfLine</B>(float left, float remainingWidth, int alignment, boolean newlineSplit, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">ArrayList</A> line, boolean isRTL)</PRE>
<DL>
</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="add(com.lowagie.text.pdf.PdfChunk)"><!-- --></A><H3>
add</H3>
<PRE>
<A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> <B>add</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfChunk.html">PdfChunk</A> chunk)</PRE>
<DL>
<DD>Adds a <CODE>PdfChunk</CODE> to the <CODE>PdfLine</CODE>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>chunk</CODE> - the <CODE>PdfChunk</CODE> to add<DT><B>Returns:</B><DD><CODE>null</CODE> if the chunk could be added completely; if not a <CODE>PdfChunk</CODE> containing the part of the chunk that could not be added is returned</DL>
</DD>
</DL>
<HR>
<A NAME="size()"><!-- --></A><H3>
size</H3>
<PRE>
public int <B>size</B>()</PRE>
<DL>
<DD>Returns the number of chunks in the line.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a value</DL>
</DD>
</DL>
<HR>
<A NAME="iterator()"><!-- --></A><H3>
iterator</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Iterator.html">Iterator</A> <B>iterator</B>()</PRE>
<DL>
<DD>Returns an iterator of <CODE>PdfChunk</CODE>s.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>an <CODE>Iterator</CODE></DL>
</DD>
</DL>
<HR>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -