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

Class weka.gui.streams.InstanceEvent

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

public class InstanceEvent
extends java.util.EventObject
An event encapsulating an instance stream event.

Version:
$Revision: 1.3 $
Author:
Len Trigg (trigg@cs.waikato.ac.nz)

Variable Index

 o BATCH_FINISHED
Specifies that the batch of instances is finished
 o FORMAT_AVAILABLE
Specifies that the instance format is available
 o INSTANCE_AVAILABLE
Specifies that an instance is available

Constructor Index

 o InstanceEvent(Object, int)
Constructs an InstanceEvent with the specified source object and event type

Method Index

 o getID()
Get the event type

Field Detail

 o FORMAT_AVAILABLE
public static final int FORMAT_AVAILABLE
          Specifies that the instance format is available
 o INSTANCE_AVAILABLE
public static final int INSTANCE_AVAILABLE
          Specifies that an instance is available
 o BATCH_FINISHED
public static final int BATCH_FINISHED
          Specifies that the batch of instances is finished

Constructor Detail

 o InstanceEvent
public InstanceEvent(java.lang.Object source,
                     int ID)
          Constructs an InstanceEvent with the specified source object and event type
Parameters:
source - the object generating the InstanceEvent
the - type of the InstanceEvent

Method Detail

 o getID
public int getID()
          Get the event type
Returns:
the event type

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