public class NewPrefuseTreeVis
extends java.lang.Object
implements java.io.Serializable, weka.gui.visualize.plugins.TreeVisualizePlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LABEL
the constant for "label".
|
static java.lang.String |
TREE
the constant for "tree".
|
static java.lang.String |
TREE_EDGES
the constant for "tree.edges".
|
static java.lang.String |
TREE_NODES
the constant for "tree.nodes".
|
| Constructor and Description |
|---|
NewPrefuseTreeVis() |
| Modifier and Type | Method and Description |
|---|---|
TreePanel |
display(java.lang.String dotty,
java.lang.String name,
java.util.Map<java.lang.String,java.awt.Color> variableColor,
java.util.HashMap<java.lang.String,PredictionType> predictionTypes,
PredictionType classType,
VisConfigurables config) |
java.lang.String |
getDesignVersion()
Get the specific version of Weka the class is designed for.
|
java.lang.String |
getMaxVersion()
Get the maximum version of Weka, exclusive, the class
is designed to work with.
|
java.lang.String |
getMinVersion()
Get the minimum version of Weka, inclusive, the class
is designed to work with.
|
javax.swing.JMenuItem |
getVisualizeMenuItem(java.lang.String dotty,
java.lang.String name)
Get a JMenu or JMenuItem which contain action listeners
that perform the visualization of the tree in GraphViz's dotty format.
|
public static final java.lang.String TREE
public static final java.lang.String TREE_NODES
public static final java.lang.String TREE_EDGES
public static final java.lang.String LABEL
public TreePanel display(java.lang.String dotty, java.lang.String name, java.util.Map<java.lang.String,java.awt.Color> variableColor, java.util.HashMap<java.lang.String,PredictionType> predictionTypes, PredictionType classType, VisConfigurables config)
public java.lang.String getMinVersion()
3.5.0getMinVersion in interface weka.gui.visualize.plugins.TreeVisualizePluginpublic java.lang.String getMaxVersion()
3.6.0getMaxVersion in interface weka.gui.visualize.plugins.TreeVisualizePluginpublic java.lang.String getDesignVersion()
3.5.1getDesignVersion in interface weka.gui.visualize.plugins.TreeVisualizePluginpublic javax.swing.JMenuItem getVisualizeMenuItem(java.lang.String dotty,
java.lang.String name)
getVisualizeMenuItem in interface weka.gui.visualize.plugins.TreeVisualizePlugindotty - the tree in dotty formatname - the name of the item (in the Explorer's history list)NoClassDefFoundError,
IncompatibleClassChangeError