Package weka.gui.streams
Class InstanceEvent
java.lang.Object
java.util.EventObject
weka.gui.streams.InstanceEvent
- All Implemented Interfaces:
Serializable
An event encapsulating an instance stream event.
- Version:
- $Revision: 8034 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSpecifies that the batch of instances is finishedstatic final intSpecifies that the instance format is availablestatic final intSpecifies that an instance is available -
Constructor Summary
ConstructorsConstructorDescriptionInstanceEvent(Object source, int ID) Constructs an InstanceEvent with the specified source object and event type -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
FORMAT_AVAILABLE
public static final int FORMAT_AVAILABLESpecifies that the instance format is available- See Also:
-
INSTANCE_AVAILABLE
public static final int INSTANCE_AVAILABLESpecifies that an instance is available- See Also:
-
BATCH_FINISHED
public static final int BATCH_FINISHEDSpecifies that the batch of instances is finished- See Also:
-
-
Constructor Details
-
InstanceEvent
Constructs an InstanceEvent with the specified source object and event type- Parameters:
source- the object generating the InstanceEventID- the type of the InstanceEvent
-
-
Method Details
-
getID
public int getID()Get the event type- Returns:
- the event type
-