public class VersionNode extends AbstractVersionTreeNode
| Constructor and Description |
|---|
VersionNode(VersionTree tree,
csbase.logic.algorithms.AlgorithmVersionInfo version)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(javax.swing.tree.MutableTreeNode node)
Método para comparação de nós.
|
javax.swing.JPopupMenu |
createPopupMenu()
Cria um menu pop-up para este nó.
|
javax.swing.ImageIcon |
getImageIcon()
Obtém a imagem a ser utilizada para representar este nó.
|
add, 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, toStringpublic VersionNode(VersionTree tree, csbase.logic.algorithms.AlgorithmVersionInfo version)
tree - Árvore que detém este nó.version - Informações da versão representada.public int compareTo(javax.swing.tree.MutableTreeNode node)
AlgorithmVersionInfo.compareTo(AlgorithmVersionInfo)compareTo in interface java.lang.Comparable<javax.swing.tree.MutableTreeNode>compareTo in class AbstractVersionTreeNodeComparable.compareTo(java.lang.Object)public javax.swing.ImageIcon getImageIcon()
Obtém a imagem a ser utilizada para representar este nó.
Caso este método retorne null, o renderizador irá desenhar o nó da
forma padrão de acordo com o Toolkit
getImageIcon in class AbstractVersionTreeNodepublic javax.swing.JPopupMenu createPopupMenu()
createPopupMenu in class AbstractVersionTreeNodeCopyright © 2018. All Rights Reserved.