程序包 weka.gui.beans

类 GraphViewer

所有已实现的接口:
ImageObserver, MenuContainer, BeanContextChild, Serializable, EventListener, Accessible, GraphListener, UserRequestAcceptor, Visible

public class GraphViewer extends JPanel implements Visible, GraphListener, UserRequestAcceptor, Serializable, BeanContextChild
A bean encapsulating weka.gui.treevisualize.TreeVisualizer
版本:
$Revision: 7059 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • GraphViewer

      public GraphViewer()
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Global info for this bean
      返回:
      a String value
    • setBeanContext

      public void setBeanContext(BeanContext bc)
      Set a bean context for this bean
      指定者:
      setBeanContext 在接口中 BeanContextChild
      参数:
      bc - a BeanContext value
    • getBeanContext

      public BeanContext getBeanContext()
      Return the bean context (if any) that this bean is embedded in
      指定者:
      getBeanContext 在接口中 BeanContextChild
      返回:
      a BeanContext value
    • addVetoableChangeListener

      public void addVetoableChangeListener(String name, VetoableChangeListener vcl)
      Add a vetoable change listener to this bean
      指定者:
      addVetoableChangeListener 在接口中 BeanContextChild
      参数:
      name - the name of the property of interest
      vcl - a VetoableChangeListener value
    • removeVetoableChangeListener

      public void removeVetoableChangeListener(String name, VetoableChangeListener vcl)
      Remove a vetoable change listener from this bean
      指定者:
      removeVetoableChangeListener 在接口中 BeanContextChild
      参数:
      name - the name of the property of interest
      vcl - a VetoableChangeListener value
    • acceptGraph

      public void acceptGraph(GraphEvent e)
      Accept a graph
      指定者:
      acceptGraph 在接口中 GraphListener
      参数:
      e - a GraphEvent value
    • setVisual

      public void setVisual(BeanVisual newVisual)
      Set the visual appearance of this bean
      指定者:
      setVisual 在接口中 Visible
      参数:
      newVisual - a BeanVisual value
    • getVisual

      public BeanVisual getVisual()
      Get the visual appearance of this bean
      指定者:
      getVisual 在接口中 Visible
      返回:
      a BeanVisual value
    • useDefaultVisual

      public void useDefaultVisual()
      Use the default visual appearance
      指定者:
      useDefaultVisual 在接口中 Visible
    • showResults

      public void showResults()
      Popup a result list from which the user can select a graph to view
    • enumerateRequests

      public Enumeration enumerateRequests()
      Return an enumeration of user requests
      指定者:
      enumerateRequests 在接口中 UserRequestAcceptor
      返回:
      an Enumeration value
    • performRequest

      public void performRequest(String request)
      Perform the named request
      指定者:
      performRequest 在接口中 UserRequestAcceptor
      参数:
      request - a String value
      抛出:
      IllegalArgumentException - if an error occurs