|
||||||||||
| 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.graph.NodeWidget<K>
org.knime.base.node.mine.decisiontree2.view.graph.ComponentNodeWidget<DecisionTreeNode>
org.knime.base.node.mine.decisiontree2.view.DecTreeNodeWidget
public final class DecTreeNodeWidget
A view for a DecisionTreeNode.
| Constructor Summary | |
|---|---|
DecTreeNodeWidget(HierarchicalGraphView<DecisionTreeNode> graph,
DecisionTreeNode decNode,
String colorColumn,
boolean tableCollapsed,
boolean chartCollapsed)
|
|
DecTreeNodeWidget(HierarchicalGraphView<DecisionTreeNode> graph,
DecisionTreeNode decNode,
String colorColumn,
boolean tableCollapsed,
boolean chartCollapsed,
boolean displayTable,
boolean displayChart)
|
|
| Method Summary | |
|---|---|
protected JComponent |
createComponent()
Creates the component. |
(package private) boolean |
getChartCollapsed()
|
String |
getConnectorLabelAbove()
Get the label that should be painted on the connector above the NodeWidget. |
String |
getConnectorLabelBelow()
Get the label that should be painted on the connector below the NodeWidget. |
(package private) boolean |
getTableCollapsed()
|
(package private) void |
setChartCollapsed(boolean collapsed)
|
void |
setScaleFactor(float scale)
Get the scale factor. |
(package private) void |
setTableCollapsed(boolean collapsed)
|
| Methods inherited from class org.knime.base.node.mine.decisiontree2.view.graph.ComponentNodeWidget |
|---|
getPreferredSize, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, paint |
| Methods inherited from class org.knime.base.node.mine.decisiontree2.view.graph.NodeWidget |
|---|
getGraphView, getScaleFactor, getUserObject, paint |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DecTreeNodeWidget(HierarchicalGraphView<DecisionTreeNode> graph,
DecisionTreeNode decNode,
String colorColumn,
boolean tableCollapsed,
boolean chartCollapsed)
graph - the graph this widget is element ofdecNode - the model for this widgetcolorColumn - the column used for coloring
({link DecisionTreeNode.covoredColors()})tableCollapsed - true when table should be collapsed initiallychartCollapsed - true when chart should be collapsed initially
public DecTreeNodeWidget(HierarchicalGraphView<DecisionTreeNode> graph,
DecisionTreeNode decNode,
String colorColumn,
boolean tableCollapsed,
boolean chartCollapsed,
boolean displayTable,
boolean displayChart)
graph - the graph this widget is element ofdecNode - the model for this widgetcolorColumn - the column used for coloring
({link DecisionTreeNode.covoredColors()})tableCollapsed - true when table should be collapsed initiallychartCollapsed - true when chart should be collapsed initiallydisplayTable - true when the table should be displayeddisplayChart - true when the chart should be displayed| Method Detail |
|---|
protected JComponent createComponent()
createComponent in class ComponentNodeWidget<DecisionTreeNode>NodeWidget will displayboolean getTableCollapsed()
void setTableCollapsed(boolean collapsed)
collapsed - the tableCollapsed to setboolean getChartCollapsed()
void setChartCollapsed(boolean collapsed)
collapsed - the chartCollapsed to setpublic void setScaleFactor(float scale)
setScaleFactor in class ComponentNodeWidget<DecisionTreeNode>scale - the scale factor to setpublic String getConnectorLabelAbove()
NodeWidget.
getConnectorLabelAbove in class NodeWidget<DecisionTreeNode>public String getConnectorLabelBelow()
NodeWidget.
getConnectorLabelBelow in class NodeWidget<DecisionTreeNode>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||