@Deprecated
public class PrefuseTreeVisualization
extends java.lang.Object
implements java.io.Serializable, weka.gui.visualize.plugins.TreeVisualizePlugin
prefuse.demos.TreeView
demo class.prefuse.demos.TreeView
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
PrefuseTreeVisualization.DottyToTree
Deprecated.
Turns the GraphViz dotty
format into Prefuse's tree XML format (according to the tree.dtd).
|
static class |
PrefuseTreeVisualization.TreePanel
Deprecated.
Displays a tree.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LABEL
Deprecated.
the constant for "label".
|
static java.lang.String |
TREE
Deprecated.
the constant for "tree".
|
static java.lang.String |
TREE_EDGES
Deprecated.
the constant for "tree.edges".
|
static java.lang.String |
TREE_NODES
Deprecated.
the constant for "tree.nodes".
|
Constructor and Description |
---|
PrefuseTreeVisualization()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
convert(java.lang.String dotty)
Deprecated.
Converts the dotty format to GraphML.
|
PrefuseTreeVisualization.TreePanel |
display(java.lang.String dotty,
java.lang.String name)
Deprecated.
Displays the graph.
|
protected void |
displayError(java.lang.String msg)
Deprecated.
Displays the error.
|
java.lang.String |
getDesignVersion()
Deprecated.
Get the specific version of Weka the class is designed for.
|
java.lang.String |
getMaxVersion()
Deprecated.
Get the maximum version of Weka, exclusive, the class
is designed to work with.
|
java.lang.String |
getMinVersion()
Deprecated.
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)
Deprecated.
Get a JMenu or JMenuItem which contain action listeners
that perform the visualization of the tree in GraphViz's dotty format.
|
protected prefuse.data.Tree |
parse(java.lang.String graphml)
Deprecated.
Parses the graph in GraphML and returns the built graph.
|
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 java.lang.String getMinVersion()
3.5.0
getMinVersion
in interface weka.gui.visualize.plugins.TreeVisualizePlugin
public java.lang.String getMaxVersion()
3.6.0
getMaxVersion
in interface weka.gui.visualize.plugins.TreeVisualizePlugin
public java.lang.String getDesignVersion()
3.5.1
getDesignVersion
in interface weka.gui.visualize.plugins.TreeVisualizePlugin
public javax.swing.JMenuItem getVisualizeMenuItem(java.lang.String dotty, java.lang.String name)
getVisualizeMenuItem
in interface weka.gui.visualize.plugins.TreeVisualizePlugin
dotty
- the tree in dotty formatname
- the name of the item (in the Explorer's history list)NoClassDefFoundError
,
IncompatibleClassChangeError
protected void displayError(java.lang.String msg)
msg
- the error to displayprotected java.lang.String convert(java.lang.String dotty)
dotty
- the graph in dotty formatprotected prefuse.data.Tree parse(java.lang.String graphml)
graphml
- the graph in GraphMLpublic PrefuseTreeVisualization.TreePanel display(java.lang.String dotty, java.lang.String name)
dotty
- the graph in dotty formatname
- the name of the graph