|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.tree.DefaultMutableTreeNode insensa.view.dialogs.processes.ConnectionTreeNode
public class ConnectionTreeNode
This Tree Node holds a Progress Bar for one Connection The Children of this node are FileNodes for all Files that are necessary for this Connection FileNodes will be added by the progress tree
Field Summary | |
---|---|
private java.util.Date |
date
|
private java.text.SimpleDateFormat |
dateFormat
|
private WorkerStatusList |
parentWorkerStatusList
|
private javax.swing.JProgressBar |
progressBar
|
private ConnectionProgressTree |
progressTree
|
private static long |
serialVersionUID
|
private long |
time
|
private java.util.List<WorkerStatusList> |
workerStatusListList
|
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
---|
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
---|---|
ConnectionTreeNode(ConnectionProgressTree progressTree)
|
Method Summary | |
---|---|
void |
endPause()
|
void |
endProgress()
|
void |
errorProcess()
Should be launched if an error occurred. |
void |
errorProcess(java.lang.String message)
|
void |
errorProcess(java.lang.Throwable e)
|
WorkerStatusList |
getChildWorkerStatusList(int index)
|
WorkerStatusList |
getParentWorkerStatusList()
|
float |
getProgress()
|
float |
getStepSize()
|
void |
refreshChildNodes()
|
void |
refreshPercentage(float percent)
|
void |
removeChildrenWorkerStatusLists()
|
void |
setChildrenWorkerStatusLists(int numOfLists)
|
void |
setParentWorkerStatusList(WorkerStatusList mProgress)
|
void |
setProcessObject(java.lang.Object obj)
|
void |
setProgressName(java.lang.String name)
|
void |
setStepSize(float stepSize)
|
void |
startPause(java.lang.String text)
|
void |
startProcess()
|
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 |
---|
private static final long serialVersionUID
private ConnectionProgressTree progressTree
private javax.swing.JProgressBar progressBar
private WorkerStatusList parentWorkerStatusList
private java.util.Date date
private java.text.SimpleDateFormat dateFormat
private long time
private java.util.List<WorkerStatusList> workerStatusListList
Constructor Detail |
---|
public ConnectionTreeNode(ConnectionProgressTree progressTree)
progressTree
- Method Detail |
---|
public void endPause()
endPause
in interface WorkerStatus
WorkerStatus.endPause()
public void endProgress()
endProgress
in interface WorkerStatus
WorkerStatus.endProgress()
public void errorProcess()
WorkerStatus
errorProcess
in interface WorkerStatus
WorkerStatus.errorProcess()
public void errorProcess(java.lang.String message)
errorProcess
in interface WorkerStatus
WorkerStatus.errorProcess(java.lang.String)
public void errorProcess(java.lang.Throwable e)
errorProcess
in interface WorkerStatus
WorkerStatus.errorProcess(java.lang.Throwable)
public WorkerStatusList getChildWorkerStatusList(int index)
getChildWorkerStatusList
in interface WorkerStatus
WorkerStatus.getChildWorkerStatusList(int)
public WorkerStatusList getParentWorkerStatusList()
getParentWorkerStatusList
in interface WorkerStatus
WorkerStatus.getParentWorkerStatusList()
public float getProgress()
getProgress
in interface WorkerStatus
WorkerStatus.getProgress()
public float getStepSize()
getStepSize
in interface WorkerStatus
WorkerStatus.getStepSize()
public void refreshChildNodes()
public void refreshPercentage(float percent)
refreshPercentage
in interface WorkerStatus
WorkerStatus.refreshPercentage(float)
public void removeChildrenWorkerStatusLists()
removeChildrenWorkerStatusLists
in interface WorkerStatus
WorkerStatus.removeChildrenWorkerStatusLists()
public void setChildrenWorkerStatusLists(int numOfLists)
setChildrenWorkerStatusLists
in interface WorkerStatus
WorkerStatus.setChildrenWorkerStatusLists(int)
public void setParentWorkerStatusList(WorkerStatusList mProgress)
setParentWorkerStatusList
in interface WorkerStatus
WorkerStatus.setParentWorkerStatusList(insensa.WorkerStatusList)
public void setProcessObject(java.lang.Object obj)
setProcessObject
in interface WorkerStatus
WorkerStatus.setProcessObject(java.lang.Object)
public void setProgressName(java.lang.String name)
setProgressName
in interface WorkerStatus
WorkerStatus.setProgressName(java.lang.String)
public void setStepSize(float stepSize)
setStepSize
in interface WorkerStatus
WorkerStatus.setStepSize(float)
public void startPause(java.lang.String text)
startPause
in interface WorkerStatus
WorkerStatus.startPause(java.lang.String)
public void startProcess()
startProcess
in interface WorkerStatus
WorkerStatus.startProcess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |