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 EventObject
An event encapsulating an instance stream event.

Version:
$Revision: 1.1 $
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

Variables

 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

Constructors

 o InstanceEvent
 public InstanceEvent(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

Methods

 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