weka.gui.streams
Class InstanceEvent
java.lang.Object
|
+--java.util.EventObject
|
+--weka.gui.streams.InstanceEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class InstanceEvent
- extends java.util.EventObject
An event encapsulating an instance stream event.
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
InstanceEvent(java.lang.Object source,
int ID)
Constructs an InstanceEvent with the specified source object and event
type |
Method Summary |
int |
getID()
Get the event type |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 InstanceEventthe
- type of the InstanceEvent
getID
public int getID()
- Get the event type
- Returns:
- the event type