|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.lowagie.tools.plugins.treeview.AnalyzePDF
public class AnalyzePDF
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AnalyzePDF(String infile,
ProgressDialog blubb)
|
|
| Method Summary | |
|---|---|
void |
addTreeModelListener(TreeModelListener l)
|
protected void |
fireTreeNodesChanged(TreeModelEvent e)
|
protected void |
fireTreeNodesInserted(TreeModelEvent e)
|
protected void |
fireTreeNodesRemoved(TreeModelEvent e)
|
protected void |
fireTreeStructureChanged(TreeModelEvent e)
|
Object |
getChild(Object parent,
int index)
Returns the child of parent at index index in the
parent's child array. |
int |
getChildCount(Object parent)
Returns the number of children of parent. |
int |
getIndexOfChild(Object parent,
Object child)
Returns the index of child in parent. |
int |
getPagecount()
|
Object |
getRoot()
Returns the root of the tree. |
TableModel |
getXReftable()
|
boolean |
isLeaf(Object node)
Returns true if node is a leaf. |
void |
iterateObjects(PdfObject pdfobj,
PdfReader pdfreader,
DefaultMutableTreeNode node)
Recursive investigate PDF Objecttree (other than pagetree objects!) |
protected void |
iterateOutlines(PdfDictionary outlines,
PdfReader pdfreader,
DefaultMutableTreeNode node)
|
protected void |
iteratePages(PdfDictionary page,
PdfReader pdfreader,
DefaultMutableTreeNode node)
Walk down the Pagetree |
void |
removeTreeModelListener(TreeModelListener l)
|
void |
run()
When an object implementing interface Runnable is used to
create a thread, starting the thread causes the object's run
method to be called in that separately executing thread. |
void |
updatecount()
|
void |
valueForPathChanged(TreePath path,
Object newValue)
Messaged when the user has altered the value for the item identified by path to newValue. |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnalyzePDF(String infile,
ProgressDialog blubb)
| Method Detail |
|---|
public TableModel getXReftable()
protected void iteratePages(PdfDictionary page,
PdfReader pdfreader,
DefaultMutableTreeNode node)
page - PdfDictionarypdfreader - PdfReadercount_in_leaf - intnode - DefaultMutableTreeNode
protected void iterateOutlines(PdfDictionary outlines,
PdfReader pdfreader,
DefaultMutableTreeNode node)
public void iterateObjects(PdfObject pdfobj,
PdfReader pdfreader,
DefaultMutableTreeNode node)
iterateObjects in interface ICommonAnalyzerpdfobj - PdfObjectpdfreader - PdfReadernode - DefaultMutableTreeNodepublic Object getRoot()
getRoot in interface TreeModel
public Object getChild(Object parent,
int index)
parent at index index in the
parent's child array.
getChild in interface TreeModelparent - a node in the tree, obtained from this data sourceindex - int
parent at index indexpublic int getChildCount(Object parent)
parent.
getChildCount in interface TreeModelparent - a node in the tree, obtained from this data source
parentpublic boolean isLeaf(Object node)
true if node is a leaf.
isLeaf in interface TreeModelnode - a node in the tree, obtained from this data source
node is a leaf
public void valueForPathChanged(TreePath path,
Object newValue)
path to newValue.
valueForPathChanged in interface TreeModelpath - path to the node that the user has alterednewValue - the new value from the TreeCellEditor
public int getIndexOfChild(Object parent,
Object child)
getIndexOfChild in interface TreeModelparent - a note in the tree, obtained from this data sourcechild - the node we are interested in
child or parent are nullpublic void removeTreeModelListener(TreeModelListener l)
removeTreeModelListener in interface TreeModelpublic void addTreeModelListener(TreeModelListener l)
addTreeModelListener in interface TreeModelprotected void fireTreeNodesChanged(TreeModelEvent e)
protected void fireTreeNodesInserted(TreeModelEvent e)
protected void fireTreeNodesRemoved(TreeModelEvent e)
protected void fireTreeStructureChanged(TreeModelEvent e)
public void run()
Runnable is used to
create a thread, starting the thread causes the object's run
method to be called in that separately executing thread.
run in interface Runnablerun in class Threadpublic int getPagecount()
public void updatecount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||