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

Class weka.gui.beans.InstanceEvent

java.lang.Object
    |
    +----java.util.EventObject
            |
            +----weka.gui.beans.InstanceEvent

public class InstanceEvent
extends java.util.EventObject
Event that encapsulates a single instance

Version:
$Revision: 1.2 $
Author:
Mark Hall
See Also:
java.util.EventObject

Variable Index

 o BATCH_FINISHED
 
 o FORMAT_AVAILABLE
 
 o INSTANCE_AVAILABLE
 

Constructor Index

 o InstanceEvent(Object)
 
 o InstanceEvent(Object, Instance, int)
Creates a new InstanceEvent instance.

Method Index

 o getInstance()
Get the instance
 o getStatus()
Get the status
 o setInstance(Instance)
Set the instance
 o setStatus(int)
Set the status

Field Detail

 o FORMAT_AVAILABLE
public static final int FORMAT_AVAILABLE
 o INSTANCE_AVAILABLE
public static final int INSTANCE_AVAILABLE
 o BATCH_FINISHED
public static final int BATCH_FINISHED

Constructor Detail

 o InstanceEvent
public InstanceEvent(java.lang.Object source,
                     Instance instance,
                     int status)
          Creates a new InstanceEvent instance.
Parameters:
source - the source of the event
instance - the instance
status - status code
 o InstanceEvent
public InstanceEvent(java.lang.Object source)

Method Detail

 o getInstance
public Instance getInstance()
          Get the instance
Returns:
an Instance value
 o setInstance
public void setInstance(Instance i)
          Set the instance
Parameters:
i - an Instance value
 o getStatus
public int getStatus()
          Get the status
Returns:
an int value
 o setStatus
public void setStatus(int s)
          Set the status
Parameters:
s - an int value

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