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)
BATCH_FINISHED- Specifies that the batch of instances is finished
FORMAT_AVAILABLE- Specifies that the instance format is available
INSTANCE_AVAILABLE- Specifies that an instance is available
InstanceEvent(Object, int)
- Constructs an InstanceEvent with the specified source object and event
type
getID()
- Get the event type
FORMAT_AVAILABLE
public static final int FORMAT_AVAILABLE
Specifies that the instance format is available
INSTANCE_AVAILABLE
public static final int INSTANCE_AVAILABLE
Specifies that an instance is available
BATCH_FINISHED
public static final int BATCH_FINISHED
Specifies that the batch of instances is finished
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
getID
public int getID()
Get the event type
- Returns:
- the event type
All Packages Class Hierarchy This Package Previous Next Index WEKA's home