Package mgui.interfaces.pipelines.trees
Class TaskTreeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
mgui.interfaces.trees.InterfaceTreeNode
mgui.interfaces.pipelines.trees.TaskTreeNode
- All Implemented Interfaces:
java.awt.image.ImageObserver
,java.io.Serializable
,java.lang.Cloneable
,javax.swing.tree.MutableTreeNode
,javax.swing.tree.TreeNode
,InterfaceObjectListener
,PopupMenuObject
,PipelineTaskListener
- Direct Known Subclasses:
CaminoTaskTreeNode
public class TaskTreeNode extends InterfaceTreeNode implements PipelineTaskListener, java.awt.image.ImageObserver
Tree node for a pipeline task.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class mgui.interfaces.trees.InterfaceTreeNode
isDestroyed, isMouseOverSelect, isSelectable, parent_tree, popup_handler, popup_menu
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
Constructors Constructor Description TaskTreeNode(PipelineTask task)
TaskTreeNode(PipelineTask task, PipelineTree tree)
-
Method Summary
Modifier and Type Method Description void
addTaskChild(TaskTreeNode node)
void
addTreeNodeListener(TaskTreeNodeListener l)
void
detach()
PipelineTask
getTask()
boolean
imageUpdate(java.awt.Image img, int flags, int x, int y, int w, int h)
void
removeTreeNodeListener(TaskTreeNodeListener l)
void
setTree(PipelineTree tree)
void
taskStatusChanged(PipelineTaskEvent e)
Methods inherited from class mgui.interfaces.trees.InterfaceTreeNode
addChild, addListener, clone, containsObject, destroy, destroy, destroyAllChildren, fireTreeListeners, getChildren, getParentTree, getPopupMenu, getPopupMenu, handleMouseEvent, handlePopupEvent, init, insertChild, isDestroyed, isSelectable, moveChild, objectChanged, objectChanged, removeChild, removeListener, setParentTree, setPopupMenu, setSelectable, setUserObject, showPopupMenu
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, 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
-
Constructor Details
-
TaskTreeNode
-
TaskTreeNode
-
-
Method Details
-
addTaskChild
-
setTree
-
taskStatusChanged
- Specified by:
taskStatusChanged
in interfacePipelineTaskListener
-
addTreeNodeListener
-
removeTreeNodeListener
-
getTask
-
detach
public void detach() -
imageUpdate
public boolean imageUpdate(java.awt.Image img, int flags, int x, int y, int w, int h)- Specified by:
imageUpdate
in interfacejava.awt.image.ImageObserver
-