|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--weka.gui.beans.InstanceEvent
Event that encapsulates a single instance
EventObject
,
Serialized FormField Summary | |
static int |
BATCH_FINISHED
|
static int |
FORMAT_AVAILABLE
|
static int |
INSTANCE_AVAILABLE
|
Constructor Summary | |
InstanceEvent(java.lang.Object source)
|
|
InstanceEvent(java.lang.Object source,
Instance instance,
int status)
Creates a new InstanceEvent instance. |
Method Summary | |
Instance |
getInstance()
Get the instance |
int |
getStatus()
Get the status |
void |
setInstance(Instance i)
Set the instance |
void |
setStatus(int s)
Set the status |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int FORMAT_AVAILABLE
public static final int INSTANCE_AVAILABLE
public static final int BATCH_FINISHED
Constructor Detail |
public InstanceEvent(java.lang.Object source, Instance instance, int status)
InstanceEvent
instance.
source
- the source of the eventinstance
- the instancestatus
- status codepublic InstanceEvent(java.lang.Object source)
Method Detail |
public Instance getInstance()
Instance
valuepublic void setInstance(Instance i)
i
- an Instance
valuepublic int getStatus()
int
valuepublic void setStatus(int s)
s
- an int
value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London