|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.mine.decisiontree2.view.DecTreeNodeWidgetFactory
public final class DecTreeNodeWidgetFactory
| Constructor Summary | |
|---|---|
DecTreeNodeWidgetFactory(DecTreeGraphView graph)
Creates a new instance. |
|
| Method Summary | |
|---|---|
NodeWidget<DecisionTreeNode> |
createGraphNode(DecisionTreeNode object)
Create a NodeWidget which is a visual representation of the
given object. |
List<DecisionTreeNode> |
getChildren(DecisionTreeNode object)
Returns the children of the object or null when object is a leaf. |
boolean |
isLeaf(DecisionTreeNode object)
Returns true when the given object is a leaf. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DecTreeNodeWidgetFactory(DecTreeGraphView graph)
graph - the graph| Method Detail |
|---|
public NodeWidget<DecisionTreeNode> createGraphNode(DecisionTreeNode object)
NodeWidget which is a visual representation of the
given object.
createGraphNode in interface NodeWidgetFactory<DecisionTreeNode>object - the model of the created view
public List<DecisionTreeNode> getChildren(DecisionTreeNode object)
getChildren in interface NodeWidgetFactory<DecisionTreeNode>object - the object
public boolean isLeaf(DecisionTreeNode object)
isLeaf in interface NodeWidgetFactory<DecisionTreeNode>object - the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||