public class StepTreeLeafDetails
extends java.lang.Object
implements java.io.Serializable
StepTree
- e.g. tool tip
text, wrapped algorithm name (in the case of a WekaAlgorithmWrapper
.Constructor and Description |
---|
StepTreeLeafDetails(java.lang.Object step)
Constructor
|
StepTreeLeafDetails(java.lang.Object step,
boolean showTipText)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getToolTipText()
Get the tool tip for this leaf
|
StepVisual |
instantiateStep()
Instantiate the step at this leaf and return it wrapped in a StepVisual
|
boolean |
isWrappedAlgorithm()
Returns true if this leaf represents a wrapped Weka algorithm (i.e.
|
void |
setShowTipTexts(boolean show)
Set whether to show tip text or not
|
java.lang.String |
toString()
Returns the leaf label
|
public StepTreeLeafDetails(java.lang.Object step)
step
- the step to wrap in this StepTreeLeafDetails
instancepublic StepTreeLeafDetails(java.lang.Object step, boolean showTipText)
step
- the step to wrap in this StepTreeLeafDetails
instanceshowTipText
- true if the tool tip text should be shown for this
instancepublic void setShowTipTexts(boolean show)
show
- true to show tip textpublic java.lang.String getToolTipText()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isWrappedAlgorithm()
public StepVisual instantiateStep() throws java.lang.Exception
java.lang.Exception
- if a problem occurs