📄 list.html
字号:
indentationLeft</H3>
<PRE>
private float <B>indentationLeft</B></PRE>
<DL>
<DD>The indentation of this list on the left side.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="indentationRight"><!-- --></A><H3>
indentationRight</H3>
<PRE>
private float <B>indentationRight</B></PRE>
<DL>
<DD>The indentation of this list on the right side.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="symbolIndent"><!-- --></A><H3>
symbolIndent</H3>
<PRE>
private int <B>symbolIndent</B></PRE>
<DL>
<DD>The indentation of the listitems.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="markupAttributes"><!-- --></A><H3>
markupAttributes</H3>
<PRE>
protected <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> <B>markupAttributes</B></PRE>
<DL>
<DD>Contains extra markupAttributes
<P>
<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="List(boolean, int)"><!-- --></A><H3>
List</H3>
<PRE>
public <B>List</B>(boolean numbered, int symbolIndent)</PRE>
<DL>
<DD>Constructs a <CODE>List</CODE>. <P> Remark: the parameter <VAR>symbolIndent</VAR> is important for instance when generating PDF-documents; it indicates the indentation of the listsymbol. It is not important for HTML-documents.
<P>
<DT><B>Parameters:</B><DD><CODE>numbered</CODE> - a boolean<DD><CODE>symbolIndent</CODE> - the indentation that has to be used for the listsymbol</DL>
<HR>
<A NAME="List(boolean, boolean, int)"><!-- --></A><H3>
List</H3>
<PRE>
public <B>List</B>(boolean numbered, boolean lettered, int symbolIndent)</PRE>
<DL>
</DL>
<HR>
<A NAME="List(java.util.Properties)"><!-- --></A><H3>
List</H3>
<PRE>
public <B>List</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html">Properties</A> attributes)</PRE>
<DL>
<DD>Returns a <CODE>List</CODE> that has been constructed taking in account the value of some <VAR>attributes</VAR>.
<P>
<DT><B>Parameters:</B><DD><CODE>attributes</CODE> - Some attributes</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="process(com.lowagie.text.ElementListener)"><!-- --></A><H3>
process</H3>
<PRE>
public boolean <B>process</B>(<A HREF="../../../com/lowagie/text/ElementListener.html">ElementListener</A> 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">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">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.3/docs/api/java/util/ArrayList.html">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">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.3/docs/api/java/lang/Object.html">Object</A> 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">TextElementArray</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>o</CODE> - the object to add.<DT><B>Returns:</B><DD><CODE>true</CODE> if the addition succeeded; <CODE>false</CODE> otherwise</DL>
</DD>
</DL>
<HR>
<A NAME="setIndentationLeft(float)"><!-- --></A><H3>
setIndentationLeft</H3>
<PRE>
public void <B>setIndentationLeft</B>(float 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 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="setFirst(int)"><!-- --></A><H3>
setFirst</H3>
<PRE>
public void <B>setFirst</B>(int 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="setFirst(char)"><!-- --></A><H3>
setFirst</H3>
<PRE>
public void <B>setFirst</B>(char first)</PRE>
<DL>
<DD>Sets the Letter that has to come first in the list.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>first</CODE> - a letter</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">Chunk</A> 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.3/docs/api/java/lang/String.html">String</A> 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="getItems()"><!-- --></A><H3>
getItems</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/util/ArrayList.html">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="leading()"><!-- --></A><H3>
leading</H3>
<PRE>
public float <B>leading</B>()</PRE>
<DL>
<DD>Gets the leading of the first listitem.
<P>
<DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -