insensa.view.dialogs.processes
Class InfoReaderFileTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by insensa.view.dialogs.processes.InfoReaderFileTreeNode
All Implemented Interfaces:
WorkerStatusList, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class InfoReaderFileTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
implements WorkerStatusList

See Also:
Serialized Form

Field Summary
private  int finishedThread
           
private  java.util.List<InfoReaderProgressBar> progressBarList
           
private  InfoReaderProgressTree progressTree
           
private static long serialVersionUID
           
private  java.util.List<java.lang.Throwable> throwableList
           
private  java.util.List<javax.swing.tree.DefaultMutableTreeNode> treeNodeList
           
private  CView view
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
InfoReaderFileTreeNode(InfoReaderProgressTree progressTree, CView view)
           
 
Method Summary
 void endAllProcesses()
           
 WorkerStatusList getChildWorkerStatusList(WorkerStatus wStat)
           
 WorkerStatus getWorkerStatus()
           
 WorkerStatus getWorkerStatus(int index)
           
 void refreshChildNodes()
           
 void refreshTreeNode(WorkerStatus wstat)
           
 void setError(java.lang.Throwable e)
           
 void startAllProcesses(java.lang.String name, int numOfProgress)
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

progressBarList

private java.util.List<InfoReaderProgressBar> progressBarList

treeNodeList

private java.util.List<javax.swing.tree.DefaultMutableTreeNode> treeNodeList

finishedThread

private int finishedThread

progressTree

private InfoReaderProgressTree progressTree

view

private CView view

throwableList

private java.util.List<java.lang.Throwable> throwableList
Constructor Detail

InfoReaderFileTreeNode

public InfoReaderFileTreeNode(InfoReaderProgressTree progressTree,
                              CView view)
Parameters:
progressTree -
insensa.view -
Method Detail

endAllProcesses

public void endAllProcesses()
Specified by:
endAllProcesses in interface WorkerStatusList
See Also:
WorkerStatusList.endAllProcesses()

getChildWorkerStatusList

public WorkerStatusList getChildWorkerStatusList(WorkerStatus wStat)
Specified by:
getChildWorkerStatusList in interface WorkerStatusList
Returns:
See Also:
WorkerStatusList.getChildWorkerStatusList(insensa.WorkerStatus)

getWorkerStatus

public WorkerStatus getWorkerStatus()
Specified by:
getWorkerStatus in interface WorkerStatusList
Returns:
See Also:
WorkerStatusList.getWorkerStatus()

getWorkerStatus

public WorkerStatus getWorkerStatus(int index)
Specified by:
getWorkerStatus in interface WorkerStatusList
Returns:
See Also:
WorkerStatusList.getWorkerStatus(int)

refreshChildNodes

public void refreshChildNodes()

refreshTreeNode

public void refreshTreeNode(WorkerStatus wstat)
Parameters:
wstat -

setError

public void setError(java.lang.Throwable e)
Parameters:
e -

startAllProcesses

public void startAllProcesses(java.lang.String name,
                              int numOfProgress)
                       throws java.io.IOException
Specified by:
startAllProcesses in interface WorkerStatusList
Throws:
java.io.IOException
See Also:
WorkerStatusList.startAllProcesses(java.lang.String, int)