| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | PDFTreeModel(DocumentEntry
The document to display in the tree. docEntry)Constructor to take a document. |
| public | PDFTreeModel(XrefEntries
The cross reference table to display in the tree. xrefEntries)Constructor to take the cross reference table of a document. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addTreeModelListener(TreeModelListener
the listener to add l)Implements javax. Adds a listener for the |
| public Object | Returns: the child ofparent at index indexa node in the tree, obtained from this data source parent, int The index into the parent object to location the child object. index)Implements javax. Returns the child of |
| public int | Returns: the number of children of the nodeparenta node in the tree, obtained from this data source parent)Implements javax. Returns the number of children of |
| public int | Returns: the index of the child in the parent, or -1 if eitherchild or
parent are nulla node in the tree, obtained from this data source parent, Object the node we are interested in child)Implements javax. Returns the index of child in parent. |
| public Object | Returns: the root of the treeImplements javax. Returns the root of the tree. |
| public boolean | Returns: true ifnode is a leafa node in the tree, obtained from this data source node)Implements javax. Returns |
| public void | removeTreeModelListener(TreeModelListener
the listener to remove l)Implements javax. Removes a listener previously added with
|
| public void | valueForPathChanged(TreePath
path to the node that the user has altered path, Object the new value from the TreeCellEditor newValue)Implements javax. Messaged when the user has altered the value for the item identified
by |
| root | back to summary |
|---|---|
| private Object root | |
| PDFTreeModel | back to summary |
|---|---|
| public PDFTreeModel() constructor. | |
| PDFTreeModel | back to summary |
|---|---|
| public PDFTreeModel(PDDocument doc) Constructor to take a document.
| |
| PDFTreeModel | back to summary |
|---|---|
| public PDFTreeModel(DocumentEntry docEntry) Constructor to take a document.
| |
| PDFTreeModel | back to summary |
|---|---|
| public PDFTreeModel(XrefEntries xrefEntries) Constructor to take the cross reference table of a document.
| |
| addTreeModelListener | back to summary |
|---|---|
| public void addTreeModelListener(TreeModelListener l) Implements javax. Adds a listener for the
| |
| getChild | back to summary |
|---|---|
| public Object getChild(Object parent, int index) Implements javax. Returns the child of
| |
| getChildCount | back to summary |
|---|---|
| public int getChildCount(Object parent) Implements javax. Returns the number of children of | |
| getIndexOfChild | back to summary |
|---|---|
| public int getIndexOfChild(Object parent, Object child) Implements javax. Returns the index of child in parent. If
| |
| getRoot | back to summary |
|---|---|
| public Object getRoot() Implements javax. Returns the root of the tree. Returns | |
| isLeaf | back to summary |
|---|---|
| public boolean isLeaf(Object node) Implements javax. Returns | |
| removeTreeModelListener | back to summary |
|---|---|
| public void removeTreeModelListener(TreeModelListener l) Implements javax. Removes a listener previously added with
| |
| valueForPathChanged | back to summary |
|---|---|
| public void valueForPathChanged(TreePath path, Object newValue) Implements javax. Messaged when the user has altered the value for the item identified
by | |