📄 pdfobjecttreenode.html
字号:
<A NAME="object"><!-- --></A><H3>object</H3><PRE>protected <A HREF="../../../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> <B>object</B></PRE><DL><DD>the PDF object corresponding with this node.<P><DL></DL></DL><HR><A NAME="key"><!-- --></A><H3>key</H3><PRE>protected <A HREF="../../../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> <B>key</B></PRE><DL><DD>the key if the parent of this node is a dictionary.<P><DL></DL></DL><HR><A NAME="number"><!-- --></A><H3>number</H3><PRE>protected int <B>number</B></PRE><DL><DD>if the object is indirect, the number of the PDF object.<P><DL></DL></DL><HR><A NAME="recursive"><!-- --></A><H3>recursive</H3><PRE>protected boolean <B>recursive</B></PRE><DL><DD>indicates if the object is indirect and recursive.<P><DL></DL></DL><HR><A NAME="serialVersionUID"><!-- --></A><H3>serialVersionUID</H3><PRE>private static final long <B>serialVersionUID</B></PRE><DL><DD>a serial version UID.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#com.lowagie.rups.view.itext.treenodes.PdfObjectTreeNode.serialVersionUID">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PdfObjectTreeNode(com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>PdfObjectTreeNode</H3><PRE>protected <B>PdfObjectTreeNode</B>(<A HREF="../../../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object)</PRE><DL><DD>Creates a tree node for a PDF object.<P><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the PDF object represented by this tree node.</DL></DL><HR><A NAME="PdfObjectTreeNode(java.lang.String, com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>PdfObjectTreeNode</H3><PRE>protected <B>PdfObjectTreeNode</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> icon, <A HREF="../../../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object)</PRE><DL><DD>Creates a tree node for a PDF object.<P><DL><DT><B>Parameters:</B><DD><CODE>icon</CODE> - the file with the icon<DD><CODE>object</CODE> - the PDF object represented by this tree node.</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="getInstance(com.lowagie.text.pdf.PdfObject)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../../../com/lowagie/rups/view/itext/treenodes/PdfObjectTreeNode.html" title="class in com.lowagie.rups.view.itext.treenodes">PdfObjectTreeNode</A> <B>getInstance</B>(<A HREF="../../../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object)</PRE><DL><DD>Creates an instance of a tree node for a PDF object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the PDF object represented by this tree node.<DT><B>Returns:</B><DD>a PdfObjectTreeNode</DL></DD></DL><HR><A NAME="getInstance(com.lowagie.text.pdf.PdfObject, int)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../../../com/lowagie/rups/view/itext/treenodes/PdfObjectTreeNode.html" title="class in com.lowagie.rups.view.itext.treenodes">PdfObjectTreeNode</A> <B>getInstance</B>(<A HREF="../../../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> object, int number)</PRE><DL><DD>Creates an instance of a tree node for an indirect object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the PDF object represented by this tree node.<DD><CODE>number</CODE> - the xref number of the indirect object<DT><B>Returns:</B><DD>a PdfObjectTreeNode</DL></DD></DL><HR><A NAME="getInstance(com.lowagie.text.pdf.PdfDictionary, com.lowagie.text.pdf.PdfName)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../../../com/lowagie/rups/view/itext/treenodes/PdfObjectTreeNode.html" title="class in com.lowagie.rups.view.itext.treenodes">PdfObjectTreeNode</A> <B>getInstance</B>(<A HREF="../../../../../../com/lowagie/text/pdf/PdfDictionary.html" title="class in com.lowagie.text.pdf">PdfDictionary</A> dict, <A HREF="../../../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A> key)</PRE><DL><DD>Creates an instance of a tree node for the object corresponding with a key in a dictionary.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>dict</CODE> - the dictionary that is the parent of this tree node.<DD><CODE>key</CODE> - the dictionary key corresponding with the PDF object in this tree node.<DT><B>Returns:</B><DD>a PdfObjectTreeNode</DL></DD></DL><HR><A NAME="getPdfObject()"><!-- --></A><H3>getPdfObject</H3><PRE>public <A HREF="../../../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> <B>getPdfObject</B>()</PRE><DL><DD>Getter for the PDF Object.<P><DD><DL><DT><B>Returns:</B><DD>the PDF object represented by this tree node.</DL></DD></DL><HR><A NAME="getNumber()"><!-- --></A><H3>getNumber</H3><PRE>public int <B>getNumber</B>()</PRE><DL><DD>Getter for the object number in case the object is indirect.<P><DD><DL><DT><B>Returns:</B><DD>-1 for direct objects; the object number for indirect objects</DL></DD></DL><HR><A NAME="isIndirectReference()"><!-- --></A><H3>isIndirectReference</H3><PRE>public boolean <B>isIndirectReference</B>()</PRE><DL><DD>Tells you if the node contains an indirect reference.<P><DD><DL><DT><B>Returns:</B><DD>true if the object is an indirect reference</DL></DD></DL><HR><A NAME="isIndirect()"><!-- --></A><H3>isIndirect</H3><PRE>public boolean <B>isIndirect</B>()</PRE><DL><DD>Tells you if the object is indirect.<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -