com.lowagie.rups.view.itext
public class FormTree extends JTree implements TreeSelectionListener, Observer
Field Summary | |
---|---|
protected PdfReaderController | controller Nodes in the FormTree correspond with nodes in the main PdfTree. |
static long | serialVersionUID A serial version UID. |
protected XfaFile | xfaFile If the form is an XFA form, the XML file is stored in this object. |
protected XfaTextArea | xfaTextArea Textview of the XFA file. |
protected XfaTree | xfaTree Treeview of the XFA file. |
Constructor Summary | |
---|---|
FormTree(PdfReaderController controller)
Creates a new FormTree. |
Method Summary | |
---|---|
XfaTextArea | getXfaTextArea() |
XfaTree | getXfaTree() |
void | loadFields(TreeNodeFactory factory, FormTreeNode form_node, PdfObjectTreeNode object_node)
Method that can be used recursively to load the fields hierarchy into the tree. |
void | loadXfa(TreeNodeFactory factory, XfaTreeNode form_node, PdfObjectTreeNode object_node)
Method that will load the nodes that refer to XFA streams. |
void | update(Observable observable, Object obj)
Loads the fields of a PDF document into the FormTree. |
void | valueChanged(TreeSelectionEvent evt) |
Parameters: factory a factory that can produce new PDF object nodes form_node the parent node in the form tree object_node the object node that will be used to create a child node
Parameters: form_node the parent node in the form tree object_node the object node that will be used to create a child node
Parameters: observable the observable object obj the object
See Also: javax.swing.event.TreeSelectionListener#valueChanged(javax.swing.event.TreeSelectionEvent)