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

Class weka.gui.beans.AttributeSummarizer

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

public class AttributeSummarizer
extends DataVisualizer
Bean that encapsulates displays bar graph summaries for attributes in a data set.

Version:
$Revision: 1.3 $
Author:
Mark Hall

Constructor Index

 o AttributeSummarizer()
Creates a new AttributeSummarizer instance.

Method Index

 o enumerateRequests()
Return an enumeration of actions that the user can ask this bean to perform
 o getColoringIndex()
Return the coloring index for the attribute summary plots
 o getGridWidth()
Get the width of the grid of plots
 o getMaxPlots()
Get the number of plots to display
 o main(String[])
 
 o performRequest(String)
Perform a named user request
 o setBeanContext(BeanContext)
Set a bean context for this bean
 o setColoringIndex(int)
Set the coloring index for the attribute summary plots
 o setDesign(boolean)
Set whether the appearance of this bean should be design or application
 o setGridWidth(int)
Set the width of the grid of plots
 o setInstances(Instances)
Set instances for this bean.
 o setMaxPlots(int)
Set the maximum number of plots to display
 o useDefaultVisual()
Use the default appearance for this bean

Constructor Detail

 o AttributeSummarizer
public AttributeSummarizer()
          Creates a new AttributeSummarizer instance.

Method Detail

 o setColoringIndex
public void setColoringIndex(int ci)
          Set the coloring index for the attribute summary plots
Parameters:
ci - an int value
 o getColoringIndex
public int getColoringIndex()
          Return the coloring index for the attribute summary plots
Returns:
an int value
 o setGridWidth
public void setGridWidth(int gw)
          Set the width of the grid of plots
Parameters:
gw - the width of the grid
 o getGridWidth
public int getGridWidth()
          Get the width of the grid of plots
Returns:
the grid width
 o setMaxPlots
public void setMaxPlots(int mp)
          Set the maximum number of plots to display
Parameters:
mp - the number of plots to display
 o getMaxPlots
public int getMaxPlots()
          Get the number of plots to display
Returns:
the number of plots to display
 o setDesign
public void setDesign(boolean design)
          Set whether the appearance of this bean should be design or application
Parameters:
design - true if bean should appear in design mode
 o useDefaultVisual
public void useDefaultVisual()
          Use the default appearance for this bean
Overrides:
useDefaultVisual in class DataVisualizer
 o enumerateRequests
public java.util.Enumeration enumerateRequests()
          Return an enumeration of actions that the user can ask this bean to perform
Returns:
an Enumeration value
Overrides:
enumerateRequests in class DataVisualizer
 o setBeanContext
public void setBeanContext(java.beans.beancontext.BeanContext bc)
          Set a bean context for this bean
Parameters:
bc - a BeanContext value
Overrides:
setBeanContext in class DataVisualizer
 o setInstances
public void setInstances(Instances inst) throws java.lang.Exception
          Set instances for this bean. This method is a convenience method for clients who use this component programatically
Parameters:
inst - an Instances value
Throws:
java.lang.Exception - if an error occurs
Overrides:
setInstances in class DataVisualizer
 o performRequest
public void performRequest(java.lang.String request)
          Perform a named user request
Parameters:
request - a string containing the name of the request to perform
Throws:
java.lang.IllegalArgumentException - if request is not supported
Overrides:
performRequest in class DataVisualizer
 o main
public static void main(java.lang.String args[])

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