All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Class weka.gui.beans.InstanceEvent
java.lang.Object
|
+----java.util.EventObject
|
+----weka.gui.beans.InstanceEvent
- public class InstanceEvent
- extends java.util.EventObject
Event that encapsulates a single instance
- Version:
- $Revision: 1.2 $
- Author:
- Mark Hall
- See Also:
- java.util.EventObject
BATCH_FINISHED-
FORMAT_AVAILABLE-
INSTANCE_AVAILABLE-
InstanceEvent(Object)
-
InstanceEvent(Object, Instance, int)
- Creates a new
InstanceEvent instance.
getInstance()
- Get the instance
getStatus()
- Get the status
setInstance(Instance)
- Set the instance
setStatus(int)
- Set the status
FORMAT_AVAILABLE
public static final int FORMAT_AVAILABLE
INSTANCE_AVAILABLE
public static final int INSTANCE_AVAILABLE
BATCH_FINISHED
public static final int BATCH_FINISHED
InstanceEvent
public InstanceEvent(java.lang.Object source,
Instance instance,
int status)
Creates a new InstanceEvent instance.
- Parameters:
source - the source of the event
instance - the instance
status - status code
InstanceEvent
public InstanceEvent(java.lang.Object source)
getInstance
public Instance getInstance()
Get the instance
- Returns:
- an
Instance value
setInstance
public void setInstance(Instance i)
Set the instance
- Parameters:
i - an Instance value
getStatus
public int getStatus()
Get the status
- Returns:
- an
int value
setStatus
public void setStatus(int s)
Set the status
- Parameters:
s - an int value
All Packages Class Hierarchy This Package Previous Next Index WEKA's home