Package weka.gui.streams
Class InstanceEvent
- java.lang.Object
-
- java.util.EventObject
-
- weka.gui.streams.InstanceEvent
-
- All Implemented Interfaces:
Serializable
public class InstanceEvent extends EventObject
An event encapsulating an instance stream event.- Version:
- $Revision$
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intBATCH_FINISHEDSpecifies that the batch of instances is finishedstatic intFORMAT_AVAILABLESpecifies that the instance format is availablestatic intINSTANCE_AVAILABLESpecifies that an instance is available
-
Constructor Summary
Constructors Constructor Description InstanceEvent(Object source, int ID)Constructs an InstanceEvent with the specified source object and event type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetID()Get the event type-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
FORMAT_AVAILABLE
public static final int FORMAT_AVAILABLE
Specifies that the instance format is available- See Also:
- Constant Field Values
-
INSTANCE_AVAILABLE
public static final int INSTANCE_AVAILABLE
Specifies that an instance is available- See Also:
- Constant Field Values
-
BATCH_FINISHED
public static final int BATCH_FINISHED
Specifies that the batch of instances is finished- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InstanceEvent
public InstanceEvent(Object source, int ID)
Constructs an InstanceEvent with the specified source object and event type- Parameters:
source- the object generating the InstanceEventID- the type of the InstanceEvent
-
-