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

📄 pdfreadercontroller.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/lowagie/rups/view/itext/StreamTextArea.html" title="class in com.lowagie.rups.view.itext">StreamTextArea</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#getStreamArea()">getStreamArea</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Getter for the object that holds the TextArea with the content stream of a PdfStream object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#gotoPage(int)">gotoPage</A></B>(int&nbsp;pageNumber)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects the row in the pageTable that corresponds with a certain page number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#notifyObservers(java.lang.Object)">notifyObservers</A></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;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The GUI components that show the internals of a PDF file, can only be shown if all objects are loaded into the IndirectObjectFactory using the ObjectLoader.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#render(com.lowagie.text.pdf.PdfObject)">render</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A>&nbsp;object)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the syntax of a PdfObject in the objectPanel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#selectNode(int)">selectNode</A></B>(int&nbsp;objectNumber)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects a node in the PdfTree.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#selectNode(com.lowagie.rups.view.itext.treenodes.PdfObjectTreeNode)">selectNode</A></B>(<A HREF="../../../../com/lowagie/rups/view/itext/treenodes/PdfObjectTreeNode.html" title="class in com.lowagie.rups.view.itext.treenodes">PdfObjectTreeNode</A>&nbsp;node)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects a node in the PdfTree.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#startObjectLoader(com.lowagie.rups.model.PdfFile)">startObjectLoader</A></B>(<A HREF="../../../../com/lowagie/rups/model/PdfFile.html" title="class in com.lowagie.rups.model">PdfFile</A>&nbsp;file)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Starts loading the PDF Objects in background.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/rups/controller/PdfReaderController.html#update(java.util.Observable, java.lang.Object)">update</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true" title="class or interface in java.util">Observable</A>&nbsp;observable,       <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;obj)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Forwards updates from the RupsController to the Observers of this class.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.util.Observable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true" title="class or interface in java.util">Observable</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#addObserver(java.util.Observer)" title="class or interface in java.util">addObserver</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#clearChanged()" title="class or interface in java.util">clearChanged</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#countObservers()" title="class or interface in java.util">countObservers</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#deleteObserver(java.util.Observer)" title="class or interface in java.util">deleteObserver</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#deleteObservers()" title="class or interface in java.util">deleteObservers</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#hasChanged()" title="class or interface in java.util">hasChanged</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#notifyObservers()" title="class or interface in java.util">notifyObservers</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Observable.html?is-external=true#setChanged()" title="class or interface in java.util">setChanged</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<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></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="pdfTree"><!-- --></A><H3>pdfTree</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/view/itext/PdfTree.html" title="class in com.lowagie.rups.view.itext">PdfTree</A> <B>pdfTree</B></PRE><DL><DD>Treeview of the PDF file.<P><DL></DL></DL><HR><A NAME="navigationTabs"><!-- --></A><H3>navigationTabs</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JTabbedPane.html?is-external=true" title="class or interface in javax.swing">JTabbedPane</A> <B>navigationTabs</B></PRE><DL><DD>Tabbed Pane containing other components.<P><DL></DL></DL><HR><A NAME="pages"><!-- --></A><H3>pages</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/view/itext/PagesTable.html" title="class in com.lowagie.rups.view.itext">PagesTable</A> <B>pages</B></PRE><DL><DD>JTable with all the pages and their labels.<P><DL></DL></DL><HR><A NAME="outlines"><!-- --></A><H3>outlines</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/view/itext/OutlineTree.html" title="class in com.lowagie.rups.view.itext">OutlineTree</A> <B>outlines</B></PRE><DL><DD>Treeview of the outlines.<P><DL></DL></DL><HR><A NAME="form"><!-- --></A><H3>form</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/view/itext/FormTree.html" title="class in com.lowagie.rups.view.itext">FormTree</A> <B>form</B></PRE><DL><DD>Treeview of the form.<P><DL></DL></DL><HR><A NAME="xref"><!-- --></A><H3>xref</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/view/itext/XRefTable.html" title="class in com.lowagie.rups.view.itext">XRefTable</A> <B>xref</B></PRE><DL><DD>JTable corresponding with the CrossReference table.<P><DL></DL></DL><HR><A NAME="objectPanel"><!-- --></A><H3>objectPanel</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/view/itext/PdfObjectPanel.html" title="class in com.lowagie.rups.view.itext">PdfObjectPanel</A> <B>objectPanel</B></PRE><DL><DD>A panel that will show PdfObjects.<P><DL></DL></DL><HR><A NAME="editorTabs"><!-- --></A><H3>editorTabs</H3><PRE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JTabbedPane.html?is-external=true" title="class or interface in javax.swing">JTabbedPane</A> <B>editorTabs</B></PRE><DL><DD>Tabbed Pane containing other components.<P><DL></DL></DL><HR><A NAME="streamArea"><!-- --></A><H3>streamArea</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/view/itext/StreamTextArea.html" title="class in com.lowagie.rups.view.itext">StreamTextArea</A> <B>streamArea</B></PRE><DL><DD>A panel that will show a stream.<P><DL></DL></DL><HR><A NAME="nodes"><!-- --></A><H3>nodes</H3><PRE>protected <A HREF="../../../../com/lowagie/rups/model/TreeNodeFactory.html" title="class in com.lowagie.rups.model">TreeNodeFactory</A> <B>nodes</B></PRE><DL><DD>The factory producing tree nodes.<P><DL></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="PdfReaderController(javax.swing.event.TreeSelectionListener, com.lowagie.rups.view.PageNavigationListener)"><!-- --></A><H3>PdfReaderController</H3><PRE>public <B>PdfReaderController</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/event/TreeSelectionListener.html?is-external=true" title="class or interface in javax.swing.event">TreeSelectionListener</A>&nbsp;treeSelectionListener,                           <A HREF="../../../../com/lowagie/rups/view/PageNavigationListener.html" title="interface in com.lowagie.rups.view">PageNavigationListener</A>&nbsp;pageNavigationListener)</PRE><DL><DD>Constructs the PdfReaderController. This is an Observable object to which all iText related GUI components are added as Observers.<P><DL><DT><B>Parameters:</B><DD><CODE>treeSelectionListener</CODE> - when somebody selects a tree node, this listener listens to the event<DD><CODE>pageNavigationListener</CODE> - when somebody changes a page, this listener changes accordingly</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="getPdfTree()"><!-- --></A><H3>getPdfTree</H3><PRE>public <A HREF="../../../../com/lowagie/rups/view/itext/PdfTree.html" title="class in com.lowagie.rups.view.itext">PdfTree</A> <B>getPdfTree</B>()</PRE><DL><DD>Getter for the PDF Tree.<P><DD><DL></DL>

⌨️ 快捷键说明

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