All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.gui.beans.GraphViewer

java.lang.Object
    |
    +----java.awt.Component
            |
            +----java.awt.Container
                    |
                    +----javax.swing.JComponent
                            |
                            +----javax.swing.JPanel
                                    |
                                    +----weka.gui.beans.GraphViewer

public class GraphViewer
extends javax.swing.JPanel
implements Visible, GraphListener, UserRequestAcceptor, java.io.Serializable
A bean encapsulating weka.gui.treevisualize.TreeVisualizer

Version:
$Revision: 1.3 $
Author:
Mark Hall

Constructor Index

 o GraphViewer()
 

Method Index

 o acceptGraph(GraphEvent)
Accept a graph
 o enumerateRequests()
Return an enumeration of user requests
 o getVisual()
Get the visual appearance of this bean
 o performRequest(String)
Perform the named request
 o setVisual(BeanVisual)
Set the visual appearance of this bean
 o showResults()
Popup a result list from which the user can select a graph to view
 o useDefaultVisual()
Use the default visual appearance

Constructor Detail

 o GraphViewer
public GraphViewer()

Method Detail

 o acceptGraph
public void acceptGraph(GraphEvent e)
          Accept a graph
Parameters:
e - a GraphEvent value
 o setVisual
public void setVisual(BeanVisual newVisual)
          Set the visual appearance of this bean
Parameters:
newVisual - a BeanVisual value
 o getVisual
public BeanVisual getVisual()
          Get the visual appearance of this bean
 o useDefaultVisual
public void useDefaultVisual()
          Use the default visual appearance
 o showResults
public void showResults()
          Popup a result list from which the user can select a graph to view
 o enumerateRequests
public java.util.Enumeration enumerateRequests()
          Return an enumeration of user requests
Returns:
an Enumeration value
 o performRequest
public void performRequest(java.lang.String request)
          Perform the named request
Parameters:
request - a String value
Throws:
java.lang.IllegalArgumentException - if an error occurs

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home