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

Class weka.gui.visualize.VisualizePanelEvent

java.lang.Object
    |
    +----weka.gui.visualize.VisualizePanelEvent

public class VisualizePanelEvent
extends java.lang.Object
This event Is fired to a listeners 'userDataEvent' function when The user on the VisualizePanel clicks submit. It contains the attributes selected at the time and a FastVector containing the various shapes that had been drawn into the panel.

Version:
$Revision: 1.3 $
Author:
Malcolm Ware (mfw4@cs.waikato.ac.nz)

Variable Index

 o HLINE
 
 o LINE
 
 o NONE
No longer used
 o OVAL
 
 o POLYGON
 
 o RECTANGLE
 
 o VLINE
 

Constructor Index

 o VisualizePanelEvent(FastVector, Instances, Instances, int, int)
This constructor creates the event with all the parameters set.

Method Index

 o getAttribute1()
 
 o getAttribute2()
 
 o getInstances1()
 
 o getInstances2()
 
 o getValues()
 

Field Detail

 o NONE
public static int NONE
          No longer used
 o RECTANGLE
public static int RECTANGLE
 o OVAL
public static int OVAL
 o POLYGON
public static int POLYGON
 o LINE
public static int LINE
 o VLINE
public static int VLINE
 o HLINE
public static int HLINE

Constructor Detail

 o VisualizePanelEvent
public VisualizePanelEvent(FastVector ar,
                           Instances i,
                           Instances i2,
                           int at1,
                           int at2)
          This constructor creates the event with all the parameters set.
Parameters:
ar - The list of shapes.
i - The instances that lie in these shapes.
i2 - The instances that lie outside these shapes.
at1 - The attribute that was along the x axis.
at2 - The attribute that was along the y axis.

Method Detail

 o getValues
public FastVector getValues()
Returns:
The list of shapes.
 o getInstances1
public Instances getInstances1()
Returns:
The instances that lie in the shapes.
 o getInstances2
public Instances getInstances2()
Returns:
The instances that lie outside the shapes.
 o getAttribute1
public int getAttribute1()
Returns:
The x axis attribute.
 o getAttribute2
public int getAttribute2()
Returns:
The y axis attribute.

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