norsys.netica
Class NeticaEvent

java.lang.Object
  |
  +--norsys.netica.NeticaEvent

public class NeticaEvent
extends java.lang.Object

Information describing an event reported to a NeticaListener.

Since:
2.08

Field Summary
static int CREATE_EVENT
          Indicates an object was created.
static int DUPLICATE_EVENT
          Not currently implemented.
static int REMOVE_EVENT
          Indicates an object was deleted.
 
Method Summary
 int getId()
          Returns the type of event ( CREATE_EVENT, REMOVE_EVENT, etc.)

Version:
This function is available in all versions.
 java.lang.Object getObject()
          Returns the object that is associated with this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATE_EVENT

public static final int CREATE_EVENT
Indicates an object was created. Call getObject to get a reference to that object.


DUPLICATE_EVENT

public static final int DUPLICATE_EVENT
Not currently implemented. In future, will indicate that an object was duplicated, whereupon you can all getObject to get a reference to the new object.


REMOVE_EVENT

public static final int REMOVE_EVENT
Indicates an object was deleted. Call getObject to get a reference to that object.

Method Detail

getId

public int getId()
Returns the type of event ( CREATE_EVENT, REMOVE_EVENT, etc.)

Version:
This function is available in all versions.

getObject

public java.lang.Object getObject()
Returns the object that is associated with this event.

Version:
This function is available in all versions.