程序包 weka.gui.beans

类 AttributeSummarizer

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

public class AttributeSummarizer extends DataVisualizer
Bean that encapsulates displays bar graph summaries for attributes in a data set.
版本:
$Revision: 7059 $
作者:
Mark Hall
另请参阅:
  • 构造器详细资料

    • AttributeSummarizer

      public AttributeSummarizer()
      Creates a new AttributeSummarizer instance.
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Global info for this bean
      覆盖:
      globalInfo 在类中 DataVisualizer
      返回:
      a String value
    • setColoringIndex

      public void setColoringIndex(int ci)
      Set the coloring index for the attribute summary plots
      参数:
      ci - an int value
    • getColoringIndex

      public int getColoringIndex()
      Return the coloring index for the attribute summary plots
      返回:
      an int value
    • setGridWidth

      public void setGridWidth(int gw)
      Set the width of the grid of plots
      参数:
      gw - the width of the grid
    • getGridWidth

      public int getGridWidth()
      Get the width of the grid of plots
      返回:
      the grid width
    • setMaxPlots

      public void setMaxPlots(int mp)
      Set the maximum number of plots to display
      参数:
      mp - the number of plots to display
    • getMaxPlots

      public int getMaxPlots()
      Get the number of plots to display
      返回:
      the number of plots to display
    • setDesign

      public void setDesign(boolean design)
      Set whether the appearance of this bean should be design or application
      参数:
      design - true if bean should appear in design mode
    • useDefaultVisual

      public void useDefaultVisual()
      Use the default appearance for this bean
      指定者:
      useDefaultVisual 在接口中 Visible
      覆盖:
      useDefaultVisual 在类中 DataVisualizer
    • enumerateRequests

      public Enumeration enumerateRequests()
      Return an enumeration of actions that the user can ask this bean to perform
      指定者:
      enumerateRequests 在接口中 UserRequestAcceptor
      覆盖:
      enumerateRequests 在类中 DataVisualizer
      返回:
      an Enumeration value
    • setInstances

      public void setInstances(Instances inst) throws Exception
      Set instances for this bean. This method is a convenience method for clients who use this component programatically
      覆盖:
      setInstances 在类中 DataVisualizer
      参数:
      inst - an Instances value
      抛出:
      Exception - if an error occurs
    • performRequest

      public void performRequest(String request)
      Perform a named user request
      指定者:
      performRequest 在接口中 UserRequestAcceptor
      覆盖:
      performRequest 在类中 DataVisualizer
      参数:
      request - a string containing the name of the request to perform
      抛出:
      IllegalArgumentException - if request is not supported
    • main

      public static void main(String[] args)