insensa.view.dialogs.processes
Class OptionOptionTreeNode

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

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

See Also:
Serialized Form

Field Summary
private  java.util.List<javax.swing.tree.DefaultMutableTreeNode> childNodeList
           
private  int finishedThread
           
private  OptionFileChangerProgressBar progressBar
           
private  java.util.List<OptionDependencyProgressBar> progressBarList
           
private  OptionFileChangerProgressTree progressTree
           
private static long serialVersionUID
           
private  CView view
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
OptionOptionTreeNode(CView view, WorkerStatusList wList, OptionFileChangerProgressTree progressTree)
           
 
Method Summary
 void endAllProcesses()
           
 WorkerStatusList getChildWorkerStatusList(WorkerStatus wStat)
           
 OptionFileChangerProgressBar getProgressBar()
           
 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

progressBar

private OptionFileChangerProgressBar progressBar

progressBarList

private java.util.List<OptionDependencyProgressBar> progressBarList

childNodeList

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

view

private CView view

progressTree

private OptionFileChangerProgressTree progressTree

finishedThread

private int finishedThread
Constructor Detail

OptionOptionTreeNode

public OptionOptionTreeNode(CView view,
                            WorkerStatusList wList,
                            OptionFileChangerProgressTree progressTree)
Parameters:
insensa.view -
wList -
progressTree -
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)

getProgressBar

public OptionFileChangerProgressBar getProgressBar()
Returns:

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)