public final class AlgorithmTreeNode extends tecgraf.javautils.gui.tree.DefaultNode implements java.lang.Comparable<AlgorithmTreeNode>
| Constructor and Description |
|---|
AlgorithmTreeNode(csbase.logic.algorithms.AlgorithmInfo algorithm,
boolean showVersions)
Cria o nó.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AlgorithmTreeNode node) |
boolean |
equals(java.lang.Object obj) |
csbase.logic.algorithms.AlgorithmInfo |
getAlgorithm()
Obtém o algoritmo.
|
javax.swing.Icon |
getIcon() |
public AlgorithmTreeNode(csbase.logic.algorithms.AlgorithmInfo algorithm,
boolean showVersions)
algorithm - O algoritmo (Não aceita null).showVersions - Indica se devem ser mostradas as versões do algoritmo
na árvore.public int compareTo(AlgorithmTreeNode node)
compareTo in interface java.lang.Comparable<AlgorithmTreeNode>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic csbase.logic.algorithms.AlgorithmInfo getAlgorithm()
public javax.swing.Icon getIcon()
getIcon in interface tecgraf.javautils.gui.tree.NodegetIcon in class tecgraf.javautils.gui.tree.DefaultNodeCopyright © 2016. All Rights Reserved.