public class VersionTreeNode extends VersionNode implements VersionNodeInterface
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject| Constructor and Description |
|---|
VersionTreeNode(VersionTree tree,
csbase.logic.algorithms.AlgorithmVersionInfo algorithmVersionInfo)
Constrói o nó de versão do algoritmo.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(csbase.logic.algorithms.AlgorithmVersionInfo node)
Compara um nó com outro nó especificado, segundo algum critério definido
pelo nó.
|
csbase.logic.algorithms.AlgorithmVersionId |
getId()
Obtém o identificador da versão do algoritmo.
|
csbase.logic.algorithms.AlgorithmVersionInfo |
getNode()
Obtém o nó representado por uma versão.
|
boolean |
isRootNode()
Verifica se é o nó raiz da árvore de versões do algoritmo.
|
compareTo, createPopupMenu, getImageIconadd, allowMultipleSelection, getName, getTree, getWindowbreadthFirstEnumeration, 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, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetImageIconpublic VersionTreeNode(VersionTree tree, csbase.logic.algorithms.AlgorithmVersionInfo algorithmVersionInfo)
tree - árvore que contém esse nóalgorithmVersionInfo - informações da versão do algoritmopublic int compare(csbase.logic.algorithms.AlgorithmVersionInfo node)
VersionNodeInterfacecompare in interface VersionNodeInterfacenode - nó a ser comparadopublic csbase.logic.algorithms.AlgorithmVersionInfo getNode()
VersionNodeInterfacegetNode in interface VersionNodeInterfacepublic boolean isRootNode()
VersionNodeInterfaceisRootNode in interface VersionNodeInterfacepublic csbase.logic.algorithms.AlgorithmVersionId getId()
VersionNodeInterfacegetId in interface VersionNodeInterfaceCopyright © 2016. All rights reserved.