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

📄 list.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<DT><B>Parameters:</B><DD><CODE>numbered</CODE> - has the list to be numbered?<DD><CODE>lettered</CODE> - has the list to be 'numbered' with letters<DD><CODE>symbolIndent</CODE> - the indentation of the symbol</DL></DL><!-- ============ 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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="process(com.lowagie.text.ElementListener)"><!-- --></A><H3>process</H3><PRE>public boolean <B>process</B>(<A HREF="../../../com/lowagie/text/ElementListener.html" title="interface in com.lowagie.text">ElementListener</A>&nbsp;listener)</PRE><DL><DD>Processes the element by adding it (or the different parts) to an <CODE>ElementListener</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#process(com.lowagie.text.ElementListener)">process</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - an <CODE>ElementListener</CODE><DT><B>Returns:</B><DD><CODE>true</CODE> if the element was processed successfully</DL></DD></DL><HR><A NAME="type()"><!-- --></A><H3>type</H3><PRE>public int <B>type</B>()</PRE><DL><DD>Gets the type of the text element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#type()">type</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a type</DL></DD></DL><HR><A NAME="getChunks()"><!-- --></A><H3>getChunks</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>getChunks</B>()</PRE><DL><DD>Gets all the chunks in this element.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/Element.html#getChunks()">getChunks</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/Element.html" title="interface in com.lowagie.text">Element</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <CODE>ArrayList</CODE></DL></DD></DL><HR><A NAME="add(java.lang.Object)"><!-- --></A><H3>add</H3><PRE>public boolean <B>add</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;o)</PRE><DL><DD>Adds an <CODE>Object</CODE> to the <CODE>List</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/lowagie/text/TextElementArray.html#add(java.lang.Object)">add</A></CODE> in interface <CODE><A HREF="../../../com/lowagie/text/TextElementArray.html" title="interface in com.lowagie.text">TextElementArray</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to add.<DT><B>Returns:</B><DD>true if adding the object succeeded</DL></DD></DL><HR><A NAME="normalizeIndentation()"><!-- --></A><H3>normalizeIndentation</H3><PRE>public void <B>normalizeIndentation</B>()</PRE><DL><DD>Makes sure all the items in the list have the same indentation.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setNumbered(boolean)"><!-- --></A><H3>setNumbered</H3><PRE>public void <B>setNumbered</B>(boolean&nbsp;numbered)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>numbered</CODE> - the numbered to set</DL></DD></DL><HR><A NAME="setLettered(boolean)"><!-- --></A><H3>setLettered</H3><PRE>public void <B>setLettered</B>(boolean&nbsp;lettered)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lettered</CODE> - the lettered to set</DL></DD></DL><HR><A NAME="setLowercase(boolean)"><!-- --></A><H3>setLowercase</H3><PRE>public void <B>setLowercase</B>(boolean&nbsp;uppercase)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>uppercase</CODE> - the uppercase to set</DL></DD></DL><HR><A NAME="setAutoindent(boolean)"><!-- --></A><H3>setAutoindent</H3><PRE>public void <B>setAutoindent</B>(boolean&nbsp;autoindent)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>autoindent</CODE> - the autoindent to set</DL></DD></DL><HR><A NAME="setAlignindent(boolean)"><!-- --></A><H3>setAlignindent</H3><PRE>public void <B>setAlignindent</B>(boolean&nbsp;alignindent)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>alignindent</CODE> - the alignindent to set</DL></DD></DL><HR><A NAME="setFirst(int)"><!-- --></A><H3>setFirst</H3><PRE>public void <B>setFirst</B>(int&nbsp;first)</PRE><DL><DD>Sets the number that has to come first in the list.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>first</CODE> - a number</DL></DD></DL><HR><A NAME="setListSymbol(com.lowagie.text.Chunk)"><!-- --></A><H3>setListSymbol</H3><PRE>public void <B>setListSymbol</B>(<A HREF="../../../com/lowagie/text/Chunk.html" title="class in com.lowagie.text">Chunk</A>&nbsp;symbol)</PRE><DL><DD>Sets the listsymbol.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>symbol</CODE> - a <CODE>Chunk</CODE></DL></DD></DL><HR><A NAME="setListSymbol(java.lang.String)"><!-- --></A><H3>setListSymbol</H3><PRE>public void <B>setListSymbol</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;symbol)</PRE><DL><DD>Sets the listsymbol. <P> This is a shortcut for <CODE>setListSymbol(Chunk symbol)</CODE>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>symbol</CODE> - a <CODE>String</CODE></DL></DD></DL><HR><A NAME="setIndentationLeft(float)"><!-- --></A><H3>setIndentationLeft</H3><PRE>public void <B>setIndentationLeft</B>(float&nbsp;indentation)</PRE><DL><DD>Sets the indentation of this paragraph on the left side.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>indentation</CODE> - the new indentation</DL></DD></DL><HR><A NAME="setIndentationRight(float)"><!-- --></A><H3>setIndentationRight</H3><PRE>public void <B>setIndentationRight</B>(float&nbsp;indentation)</PRE><DL><DD>Sets the indentation of this paragraph on the right side.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>indentation</CODE> - the new indentation</DL></DD></DL><HR><A NAME="setSymbolIndent(float)"><!-- --></A><H3>setSymbolIndent</H3><PRE>public void <B>setSymbolIndent</B>(float&nbsp;symbolIndent)</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>symbolIndent</CODE> - the symbolIndent to set</DL></DD></DL><HR><A NAME="getItems()"><!-- --></A><H3>getItems</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>getItems</B>()</PRE><DL><DD>Gets all the items in the list.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an <CODE>ArrayList</CODE> containing <CODE>ListItem</CODE>s.</DL></DD></DL><HR><A NAME="size()"><!-- --></A><H3>size</H3><PRE>public int <B>size</B>()</PRE><DL><DD>Gets the size of the list.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <CODE>size</CODE></DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <B>isEmpty</B>()</PRE><DL><DD>Returns <CODE>true</CODE> if the list is empty.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> if the list is empty</DL></DD></DL><HR><A NAME="getTotalLeading()"><!-- --></A><H3>getTotalLeading</H3><PRE>public float <B>getTotalLeading</B>()</PRE><DL><DD>Gets the leading of the first listitem.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <CODE>leading</CODE></DL></DD></DL><HR><A NAME="isNumbered()"><!-- --></A><H3>isNumbered</H3><PRE>public boolean <B>isNumbered</B>()</PRE><DL><DD>Checks if the list is numbered.<P><DD><DL></DL>

⌨️ 快捷键说明

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