|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.gui.visualize.VisualizePanelEvent
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.
Field Summary | |
static int |
HLINE
|
static int |
LINE
|
private int |
m_attrib1
The attribute along the x axis. |
private int |
m_attrib2
The attribute along the y axis. |
private Instances |
m_inst
The instances that fall inside the shapes described in m_values. |
private Instances |
m_inst2
The instances that fall outside the shapes described in m_values. |
private FastVector |
m_values
Contains FastVectors, each one containing the points for an object. |
static int |
NONE
No longer used |
static int |
OVAL
|
static int |
POLYGON
|
static int |
RECTANGLE
|
static int |
VLINE
|
Constructor Summary | |
VisualizePanelEvent(FastVector ar,
Instances i,
Instances i2,
int at1,
int at2)
This constructor creates the event with all the parameters set. |
Method Summary | |
int |
getAttribute1()
|
int |
getAttribute2()
|
Instances |
getInstances1()
|
Instances |
getInstances2()
|
FastVector |
getValues()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int NONE
public static int RECTANGLE
public static int OVAL
public static int POLYGON
public static int LINE
public static int VLINE
public static int HLINE
private FastVector m_values
private Instances m_inst
private Instances m_inst2
private int m_attrib1
private int m_attrib2
Constructor Detail |
public VisualizePanelEvent(FastVector ar, Instances i, Instances i2, int at1, int at2)
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 |
public FastVector getValues()
public Instances getInstances1()
public Instances getInstances2()
public int getAttribute1()
public int getAttribute2()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |