Package weka.gui.visualize.plugins
Class SaveTree
- java.lang.Object
-
- weka.gui.visualize.plugins.SaveTree
-
- All Implemented Interfaces:
weka.gui.visualize.plugins.TreeVisualizePlugin
public class SaveTree extends Object implements weka.gui.visualize.plugins.TreeVisualizePlugin
Saves a tree in dotty notation as file.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description SaveTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDesignVersion()Get the specific version of Weka the class is designed for.StringgetMaxVersion()Get the maximum version of Weka, exclusive, the class is designed to work with.StringgetMinVersion()Get the minimum version of Weka, inclusive, the class is designed to work with.JMenuItemgetVisualizeMenuItem(String dotty, String name)Get a JMenu or JMenuItem which contain action listeners that perform the visualization of the tree in GraphViz's dotty format.
-
-
-
Method Detail
-
getVisualizeMenuItem
public JMenuItem getVisualizeMenuItem(String dotty, String name)
Get a JMenu or JMenuItem which contain action listeners that perform the visualization of the tree in GraphViz's dotty format. Exceptions thrown because of changes in Weka since compilation need to be caught by the implementer.- Specified by:
getVisualizeMenuItemin interfaceweka.gui.visualize.plugins.TreeVisualizePlugin- Parameters:
dotty- the tree in dotty formatname- the name of the item (in the Explorer's history list)- Returns:
- menuitem for opening visualization(s), or null to indicate no visualization is applicable for the input
- See Also:
NoClassDefFoundError,IncompatibleClassChangeError
-
getMinVersion
public String getMinVersion()
Get the minimum version of Weka, inclusive, the class is designed to work with. eg:3.5.0- Specified by:
getMinVersionin interfaceweka.gui.visualize.plugins.TreeVisualizePlugin- Returns:
- the minimum version
-
getMaxVersion
public String getMaxVersion()
Get the maximum version of Weka, exclusive, the class is designed to work with. eg:3.6.0- Specified by:
getMaxVersionin interfaceweka.gui.visualize.plugins.TreeVisualizePlugin- Returns:
- the maximum version
-
getDesignVersion
public String getDesignVersion()
Get the specific version of Weka the class is designed for. eg:3.5.1- Specified by:
getDesignVersionin interfaceweka.gui.visualize.plugins.TreeVisualizePlugin- Returns:
- the version the plugin was designed for
-
-