org.kaariboga.core
Class BaseEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.kaariboga.core.BaseEvent
All Implemented Interfaces:
java.io.Serializable

public class BaseEvent
extends java.util.EventObject

Events that can be fired by the kaariboga base. These events are fired when a kaariboga agent is added or removed from the base.

See Also:
Serialized Form

Field Summary
private  java.lang.String name
          Name of the kaariboga that has been added or removed from the base.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BaseEvent(java.lang.Object obj, java.lang.String name)
          Creates a new base event.
 
Method Summary
 java.lang.String getName()
          Returns the name of the kaariboga that has been added or removed from the base.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

name

private java.lang.String name
Name of the kaariboga that has been added or removed from the base.
Constructor Detail

BaseEvent

public BaseEvent(java.lang.Object obj,
                 java.lang.String name)
Creates a new base event.
Parameters:
obj - The object that created the event.
name - Name of the kaariboga.
Method Detail

getName

public java.lang.String getName()
Returns the name of the kaariboga that has been added or removed from the base.